Open kfarr opened 2 weeks ago
@rahulkgupta when you get a chance could use your review of the above and provide feedback on next steps
i am having a hard time finding the PR. could you link it here?
@rahulkgupta there is not a PR. The above pasted json snippet can be injected in a scene's json description to load an arbitrary cesium ion asset ID. The problem is that there is no UI for a user to create this, and it does not save correctly it has to be manually inserted via firefoo or manual editing of JSON.
I made a commit on the 3dtiles loader repo just to update the demo with a cesium ion example if you want to see a declarative / a-frame version instead of json code: https://github.com/3DStreet/aframe-loader-3dtiles-component/commit/39e171fe20aef94e872fc461664c9132b587831b
As a user, I wish to be able to add 3d tiles hosted on cesium ion such as a 3d drone photogrammetry. The user would provide an asset ID and a cesiumIONToken and a new user layer would be created that renders this. I can then modify the position, orientation, scale of the asset to match my scene.
R&D to make this
Here's the result of a timebox'ed exercise to get cesium ion tiles working in 3DStreet.
I was able to barely get cesium 3d tiles to load using the existing
loader-3dtiles
component by adding cesiumIONToken and url values. here is the syntax as json inside of 3dstreet.json scene:you can see it on this scene (to get this to work, you'll have to add a location to turn on google 3d tiles AND you have to enter viewer mode / return to editor) https://3dstreet.app/#/scenes/e3e314ef-656e-4a9e-a15a-abc9fb84b9be.json
unfortunately I can't save the scene. There is an error
RangeError: Maximum call stack size exceeded
when I attempt to save.Uncaught TypeError: Converting circular structure to JSON
video of switching between google 3d tiles and a custom drone scan that has higher fidelity for striping and street surfaces
https://github.com/user-attachments/assets/1653fa19-052d-4730-abbf-d86a6c917089