Easily display interactive 3D models on the web and in AR!
webcomponents
augmented-reality
watches
three-js
gltf
glb
model-viewer
3d
3d-models
webxr
magic-leap
-
Updated
Mar 3, 2022 - TypeScript
I think it'd be helpful to have a percentage (%) resize option in the
textureResiz()function, instead of just taking absolute maximum dimensions here:https://github.com/donmccurdy/glTF-Transform/blob/9431e3aeec7d1bac01c31090b2c20fe5227a8146/packages/functions/src/texture-resize.ts#L9-L16
E.g.
size: ['50%', '50%']Could be helpful — for example – to generate LODs or mobile versions o