3DTilesRendererJS icon indicating copy to clipboard operation
3DTilesRendererJS copied to clipboard

Add support for Babylon tiles renderer

Open gkjohnson opened this issue 1 month ago • 3 comments

Fix #387 Related to #1373 Related to #1375 Related to #1390

  • Move BabylonJS tiles renderer implementation from this repo.
  • Export renderer as 3d-tiles-renderer/babylonjs.
  • Add demos, basic docs
  • Reduce inline math instance creation

TODO

  • Use babylon gui system?
  • Add attributions to demos
    • requires accessing gltf "asset" meta data fields
  • Use Babylon math functions when available
    • OBB, Region, Ellipsoid
    • Plane "transformToRef"
  • ~Use the correct GLTF Loading system~
  • ~Use correct imports~
  • ~Add "events" support (dispatch? Other "babylonjs-esque" approach like observers?)~

Open Questions

  • Support left handed coordinate system
  • Bytes used function
  • Cache more logic in "update" loop

gkjohnson avatar Dec 07 '25 03:12 gkjohnson

cc @georginahalpern

gkjohnson avatar Dec 08 '25 09:12 gkjohnson

@georginahalpern - thanks for the comments. All of the suggestions sound good to me so I'm happy to take PRs for them. I don't want to merge or publish babylon support before it's ready so if it's okay lets consider this babylon-support branch the babylon dev branch and make any PRs in it. Then once some of the big TODOs are addressed / answered (math class support, correct imports, etc) we can merge into master and publish.

gkjohnson avatar Dec 09 '25 00:12 gkjohnson

@gkjohnson first PR with some minor changes https://github.com/NASA-AMMOS/3DTilesRendererJS/pull/1397

georginahalpern avatar Dec 11 '25 20:12 georginahalpern