Replies: 10 comments
-
Are you using deck.gl v8? There are known bugs with the 7.3 Tile3DLayer. |
Beta Was this translation helpful? Give feedback.
-
I'm using the master version of the Tile3DLayer. I did a comparison between that one and version 8.0.12 and could not find any major differences. |
Beta Was this translation helpful? Give feedback.
-
I'll investigate this issue. |
Beta Was this translation helpful? Give feedback.
-
Thank you! Please let me know if you need any code from me. I can post the cesium viewer code if necessary. |
Beta Was this translation helpful? Give feedback.
-
@georgios-uber I checked this dataset, it loaded the data and created |
Beta Was this translation helpful? Give feedback.
-
checkout the debug branch, Steps:
# deck.gl root
yarn bootstrap
|
Beta Was this translation helpful? Give feedback.
-
@xintongxia @Pessimistress @georgios-uber You guys are awesome! I tried the latest version "@loaders.gl/3d-tiles" (v2.0.4) and the model is now loading (which is great!) but the textures are not being rendered. If I set the lighting to "flat" for the scene graph layer the model is coming up but it's all white. If I go to the chrome console I can see the textures coming through over the network but it looks like they aren't being applied to the model? |
Beta Was this translation helpful? Give feedback.
-
The problem is we do not implement |
Beta Was this translation helpful? Give feedback.
-
Thanks @georgios-uber! Just to give a bit of background, I work at Nearmap. I'm trying to push the company to upgrade our tilesets to the latest specs and I wanted to use deck.gl to demonstrate the many benefits of upgrading. We are also currently using vanilla cesium tilesets which don't confer the vast amount of benefits uber's vis.gl libraries do. By the way I tried using gltf-pipeline to convert the mesh to draco format but large parts of the mesh were missing. I'll have a talk to cesium as well and see if they can help out. Thank you for helping me out! |
Beta Was this translation helpful? Give feedback.
-
@anuraags great to see nearmap working on getting your tilesets updated. I personally think nearmap would be better off avoiding optional glTF extensions like KHR_techniques_webgl and generate tilesets that render with standard glTF 2.0. That will increase the compatibility of your tilesets. If not, it would be interesting to hear why nearmap feels you need custom shaders rather than just using PBR materials. While we recommend avoiding extensions in general, we do strongly support the glTF draco extension so if you have draco encoded tilesets that don’t load correctly in deck.gl, please share a tile so that we can debug. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a Cesium tileset (gltf 2.0 format) of the Sydney Opera house that I am trying to render using the Tile3DLayer component in deck.gl.
The tileset is located here: https://drive.google.com/file/d/1py_O_5kJUePSEZs-FdiW-5EX3aBYxGqj/view?usp=sharing
If I drop the tiles into a local folder, set up a html file with a simple Cesium viewer and run it using python's SimpleHTTPServer everything works as expected. The opera house gets rendered at the correct location.
However if I attempt to use the Deck.GL Tile3DLayer nothing gets rendered. Interestingly if I go to the appropriate location it looks like the tileset hierarchy is properly getting retrieved but I can't see the model in the WebGL canvas.
Is there something wrong with the tileset? Can someone get this to work and share a snippet?
Beta Was this translation helpful? Give feedback.
All reactions