google / draco

Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.
https://google.github.io/draco/
Apache License 2.0
6.47k stars 962 forks source link

EXT_mesh_gpu_instancing not supported in transcoder #1081

Open arneschilling opened 6 days ago

arneschilling commented 6 days ago

Hi, I have a glb file utilizing the EXT_mesh_gpu_instancing and EXT_instance_features extensions

See https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_mesh_gpu_instancing/README.md

The draco_transcoder.exe ignores these extensions and my instanced objects disappear.

I see some code fragment around the EXT_mesh_gpu_instancing extension, but my guess is that the loader hasnt implemented it.

Is there a branch working on this feature or anything?

Thanks, Arne

arneschilling commented 5 days ago

sample glb file with EXT_mesh_gpu_instancing 172393_129.zip

regular 3D viewers do not show the trees, which are modeled as instances. Only CesiumJS supports it.

command: draco_transcoder.exe -i 172393_129.glb -o 172393_129_draco.glb