react-3d-viewer icon indicating copy to clipboard operation
react-3d-viewer copied to clipboard

THREE.GLTFLoader: Unknown extension "KHR_texture_transform"

Open ElvisWong opened this issue 3 years ago • 1 comments

Thank you for building this. It helps a lot on easier display on 3d model.

Will there be any support on using extension "KHR_texture_transform" with gltf file on react-3d-viewer?? I want to display my jacket .gltf file but those tile image was missing.

https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_texture_transform

ElvisWong avatar Apr 20 '21 04:04 ElvisWong

Just find a solution for this: https://github.com/mrdoob/three.js/pull/13831/commits/951ab07daae4db0373029be47161822e42b9ff62

what you need to do is to update the src/loader.js to support this extensions. I had forked this repo for further implementation. https://github.com/sensible-lab/react-3d-viewer/commits/master

ElvisWong avatar Apr 20 '21 06:04 ElvisWong