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

3D Tiles Serializer #278

Closed
IanLilleyT opened this issue Jul 6, 2021 · 2 comments
Closed

3D Tiles Serializer #278

IanLilleyT opened this issue Jul 6, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@IanLilleyT
Copy link
Contributor

IanLilleyT commented Jul 6, 2021

There should be a 3D Tiles serializer for Cesium Native that goes between C++ and JSON. It would function very similarly to the glTF serializer and could probably use the same JSON schema <-> C++ generator located here, but with a few tweaks, as brought up in #270. Note that right now only the glTF reader is generated automatically, not the writer (see #228 for generating glTF writer).

The 3D Tiles serializer would not be responsible for pnts, b3dm, glTF, or any other external buffer data. It would only do the tileset.json. One challenge will be external tilesets. For now, we could keep it simple and let the caller create the external tilesets themselves (possibly using the 3D Tiles serializer).

Ultimately we'll want this to work with 3D Tiles exensions too, similar to how extensions are done in the glTF, but getting it working with the base 3D Tiles schema is a good start. I attached a small sample tileset below.

Resources:
3D Tiles schemas: https://github.com/CesiumGS/3d-tiles/tree/master/specification/schema
3D Tiles extensions: https://github.com/CesiumGS/3d-tiles/blob/3d-tiles-next/3D_TILES_NEXT.md
3D Tiles Metadata extension: https://github.com/CesiumGS/3d-tiles/tree/3d-tiles-next/extensions/3DTILES_metadata/1.0.0/schema
Sample data: sign.zip

Localhost sandcastle for viewing sample data

CC @baothientran @kring

@krupkad
Copy link
Contributor

krupkad commented Aug 11, 2021

@lilleyse
Current status of this work (as of Aug 11):

@kring
Copy link
Member

kring commented Jan 14, 2022

This has been implemented.

@kring kring closed this as completed Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants