Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] ScenegraphLayer: load quantized glb #9213

Open
1 of 7 tasks
skemaikin opened this issue Oct 14, 2024 · 0 comments
Open
1 of 7 tasks

[Bug] ScenegraphLayer: load quantized glb #9213

skemaikin opened this issue Oct 14, 2024 · 0 comments
Labels

Comments

@skemaikin
Copy link

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
  • 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: deckgl@9.0.33
  • 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 skemaikin added the bug label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant