takahirox / three-gltf-extensions

Unofficial Three.js glTF loader/exporter plugins
MIT License
123 stars 20 forks source link

EXT_mesh_gpu_instancing bug #66

Open jinjun1994 opened 2 years ago

jinjun1994 commented 2 years ago

some mesh can't show. see : image

in https://sandbox.babylonjs.com/, All meshes are normal. image

takahirox commented 2 years ago

Hi, thanks for the bug report.

Would you mind trying the plugin in the main branch if you haven't tried? The problem looks similar to #56. We have fixed it but we haven't released the new npm package revision including the fix yet.

jinjun1994 commented 2 years ago

I tried the plugin in the main branch from the beginning . This the file https://visom-gis.oss-cn-beijing.aliyuncs.com/gltfTo3dTiles/instance/%E5%90%88%E5%B9%B6_%E5%AE%B6%E5%85%B7.gltfpack.instance.glb

Can you help test it? Need MeshoptDecoder import { MeshoptDecoder } from 'https://unpkg.com/three@0.137.5/examples/jsm/libs/meshopt_decoder.module.js'; loader.setMeshoptDecoder( MeshoptDecoder );

takahirox commented 2 years ago

Any console errors?