Open radoslavirha opened 2 years ago
Hi, can anybody confirm it's a bug? Thanks
modelMatrix
does not work in Tile3DLayer
because Tileset3D
does not support it. We should include this limitation in the documentation. You can open a feature request in loaders.gl.
checking with the latest doc in loaders.js, modelMatrix
has been added for Tileset3D
.
Add modelMatrix as part of loaderOptions doesnt seem to be working
<Tile3DLayer data="/tileset.json" loaderOptions={{ '3d-tiles': { modelMatrix, }, }} />
is this the correct way to add modelMatrix to Tile3Dlayer?
"@deck.gl/core": "9.0.29" "@loaders.gl/core": "4.2.3"
Description
Hi,
I need to move some 3D tiles (Tile3DLayer) to 0 elevation. Using custom modelMatrix does not work it seems.
I discussed it on slack, but it seems to be a bug in deck.gl, not my bad implementation.
Thanks!
Flavors
Expected Behavior
Accept custom modelMatrix
Steps to Reproduce
https://codesandbox.io/s/deck-gl-3d-tiles-forked-t2crt6?file=/src/App.js:1239-1607
Environment
Logs
nothing