deck.gl
deck.gl copied to clipboard
[Bug] ScenegraphLayer: load quantized glb
Description
I have a quantized model in glb-file. ScenegraphLayer from deck.gl v 9.0.33 cannot load quantized glb-file. But deck.gl v 8.8.2 do it without any problems. Simple app that demonstrates the problem: glb-loader
Flavors
- [ ] Script tag
- [X] React
- [ ] Python/Jupyter notebook
- [ ] MapboxOverlay
- [ ] GoogleMapsOverlay
- [ ] CartoLayer
- [ ] ArcGIS
Expected Behavior
loading quantized glb
Steps to Reproduce
- unpack archive
npm installnpm startlocalhost:3001
Environment
- Framework version: [email protected]
- Browser: Chrome, FireFox
- OS: Ubuntu 22.04
- React: v18.18.2
Logs
deck: update of ScenegraphLayer({id: 'test'}): size: 3 Error: size: 3
at getVertexFormatFromAttribute (vertex-format-from-attribute.js:69:1)
at getAttributeBuffersFromGeometry (gpu-geometry.js:86:1)
at makeGPUGeometry (gpu-geometry.js:48:1)
at Model.setGeometry (model.js:293:1)
at new Model (model.js:153:1)
at createGLTFModel (create-gltf-model.js:96:1)
at GLTFInstantiator.createPrimitive (gltf-instantiator.js:95:1)
at gltf-instantiator.js:80:1
at Array.map (<anonymous>)
at GLTFInstantiator.createMesh (gltf-instantiator.js:80:1)
the problem is still actual ( quantized glb non-quantized glb
still no answer (
Any update on this? I have the same error