deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

[Bug] ScenegraphLayer: load quantized glb

Open skemaikin opened this issue 1 year ago • 3 comments

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

  1. unpack archive
  2. npm install
  3. npm start
  4. localhost: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)

skemaikin avatar Oct 14 '24 15:10 skemaikin

the problem is still actual ( quantized glb non-quantized glb

skemaikin avatar Nov 14 '24 11:11 skemaikin

still no answer (

skemaikin avatar Jan 24 '25 09:01 skemaikin

Any update on this? I have the same error

Jacqueline-Kelly avatar Apr 17 '25 01:04 Jacqueline-Kelly