takahirox / three-gltf-extensions

Unofficial Three.js glTF loader/exporter plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EXT_mesh_gpu_instancing bug

jinjun1994 opened this issue · comments

some mesh can't show.
see :
image

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

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.

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 );

Any console errors?