google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.96k stars 820 forks source link

Added postinstall script that updates the three importmap version #4260

Closed Beilinson closed 1 year ago

Beilinson commented 1 year ago

Whenever npm install is run in packages/model-viewer, packages/model-viewer-effects/README.md and the examples in packages/modelviewer.dev/examples/postprocessing/index.html are automatically updated to be in sync with the three version in package.json.

elalish commented 1 year ago

We're starting to get requests already for post-processing in AR - would you like to take a look at hooking it up in WebXR? I'm hoping it shouldn't take too much.

Beilinson commented 1 year ago

I'll open a separate issue for it with the information I wrote in the original pull request, I'm not sure I'll be able to test it however as I only have access to an Iphone which only experimentally supports WebXR, it would be preferable to test on android.