Sean Lilley
5e78d1d72a
Added more gltf and 3d tiles extensions
2022-01-21 14:25:35 -05:00
Sean Lilley
f14c6709e1
Misc generator improvements
2021-12-27 13:31:29 -05:00
Sean Lilley
2b204aaecd
Added Cesium3DTilesWriter
2021-12-06 19:34:22 -05:00
Sean Lilley
3d035e5926
Remove bad semicolon
2021-12-03 13:30:58 -05:00
Sean Lilley
4ab275de70
Update scripts
2021-12-03 11:32:53 -05:00
Sean Lilley
2cdcb92e20
Namespace cleanup
2021-12-02 18:34:22 -05:00
Kevin Ring
eb04d95449
Add generated 3DTILES_bounding_volume_S2 extension.
2021-11-05 16:44:01 +11:00
Sean Lilley
ce6b7ce944
Add support for 3DTILES_content_gltf
2021-11-01 11:28:52 -04:00
Kevin Ring
4dac37ceb0
Merge pull request #377 from CesiumGS/extension-class-rename
...
Rename generated extension classes (targeting `main`)
2021-11-01 11:02:01 +11:00
Sean Lilley
520935b4db
Add newline
2021-10-30 14:56:52 -04:00
Sean Lilley
9acc5ac71a
Rename Primitive back to MeshPrimitive
2021-10-30 14:56:43 -04:00
Sean Lilley
6fd48d8735
Use different naming convention for extension classes
2021-10-30 14:55:40 -04:00
Nithin Pranesh
95051aa2b5
fixed handling of reserved c++ keywords in gltf reader generator
2021-10-29 17:37:57 -04:00
Sean Lilley
f9b48fbe0e
Renegerate glTF classes
2021-10-18 18:46:58 -04:00
Sean Lilley
8453d760e7
Rename generate-gltf-classes to generate-classes
2021-10-12 12:51:55 -04:00
Sean Lilley
78224b11e5
Merge branch 'main' into fix-includes
2021-10-12 11:59:32 -04:00
Sean Lilley
1a31661fa1
Merge pull request #362 from CesiumGS/add-cesium3dtiles
...
Add Cesium3DTiles project
2021-10-12 11:57:09 -04:00
Kevin Ring
76ab57830b
Merge remote-tracking branch 'origin/add-cesium3dtiles' into fix-includes
2021-10-12 22:28:12 +11:00
Kevin Ring
179ef660f0
Forward declare ExtensionReaderContext in the right namespace.
2021-10-12 22:25:58 +11:00
Kevin Ring
439e37afda
Merge remote-tracking branch 'origin/add-cesium3dtiles' into fix-includes
2021-10-12 21:45:12 +11:00
Kevin Ring
0c4c7fc1df
ExtensibleObject is in CesiumUtility namespace.
2021-10-12 18:26:26 +11:00
Kevin Ring
3443bbf130
Remove using in header, remove redundant code.
2021-10-12 17:47:35 +11:00
Sean Lilley
715eebc945
Fix class description when schema is missing description
2021-10-11 19:02:36 -04:00
Sean Lilley
52283f3359
Fix includes
2021-10-11 17:28:44 -04:00
Sean Lilley
7dad7003bb
One ExtensibleObject
2021-10-11 16:47:49 -04:00
Sean Lilley
ef9d5c8e43
Merge branch 'main' into gltf-no-defaults-for-optional
2021-10-11 12:33:08 -04:00
Marco Hutter
293095c9c2
Do not initialize optional enum-typed properties
2021-10-11 17:16:30 +02:00
Sean Lilley
47a4733090
Update generate-gltf-classes to support 3D Tiles
2021-10-10 17:39:22 -04:00
Sean Lilley
a57b438a1c
Format generate-gltf-classes with prettier
2021-10-10 16:55:53 -04:00
Kevin Ring
ee5c9f0857
Merge pull request #351 from CesiumGS/gltf-schema-updates
...
Update generated files with newer glTF schema
2021-10-06 12:41:10 +11:00
Sean Lilley
525f8e15be
Support const property in anyOf elements
2021-10-03 14:19:14 -04:00
Kevin Ring
c1b9096abc
Merge remote-tracking branch 'origin/main' into gltf-generator-enum-fixes
2021-10-02 01:10:06 +10:00
Marco Hutter
e42e3ca6db
Use relative paths in auto-generated classes
2021-09-28 17:43:20 +02:00
Sean Lilley
f917c9ee21
Update glTF schema links
2021-09-26 11:38:44 -04:00
Marco Hutter
c2684cb3b8
Initialize the members with the proper defaults.
...
The tests assumed that the enum members are initialized
with "the first" enum value, if no explicit default value
was given. In the schema, the "type" is only specified in
every element of "anyOf" when the type is "integer" (but
not when it is "string"). Not sure who to blame here...
2021-09-26 16:52:04 +02:00
Marco Hutter
8966e91a82
Use struct and constexpr, as per review comment
2021-09-26 14:41:25 +02:00
Marco Hutter
a96ca64203
An attempt to fix the enum typing
2021-09-23 01:31:32 +02:00
Kevin Ring
449068c3d6
Merge pull request #281 from CesiumGS/feature-metadata-extension
...
Upgrade batch table to EXT_feature_metadata extension
2021-07-24 21:32:14 +10:00
Kevin Ring
33b40b6dad
Generate JSON handlers into a single source file.
...
To speed up compilation.
2021-07-06 22:34:18 +10:00
Kevin Ring
30f22898b1
Feature metadata working well for simple case.
2021-05-17 12:30:09 +10:00
Kevin Ring
8f85fd8bbe
WIP conversion of b3dm batch table to EXT_feature_metadata.
2021-05-14 22:28:31 +10:00
Kevin Ring
ed42e46d5f
Add support for EXT_feature_metadata on Primitives.
2021-05-07 16:18:13 +10:00
Kevin Ring
0d6295168f
Use 3d-tiles-next branch of glTF instead of my fork.
2021-05-07 15:40:53 +10:00
Kevin Ring
b29b8c64ad
EXT_feature_metadata progress.
2021-05-07 15:34:16 +10:00
Kevin Ring
527e6051c1
Fix more code gen problems.
2021-05-06 17:30:39 +10:00
Kevin Ring
b8b44c871e
WIP support for EXT_feature_metadata.
2021-05-06 10:42:26 +10:00
Kevin Ring
e5c5408804
More constier.
2021-04-16 13:18:25 +10:00
Kevin Ring
8aab8bbec2
Don't construct so many GltfReaders.
...
Also switch to constexpr char* for extension and type names to avoid
static initializer ordering problems.
2021-04-16 12:52:29 +10:00
Kevin Ring
0c7c949ce8
Remove unused code.
2021-04-15 09:47:33 +10:00
Kevin Ring
45f44fa034
Reader -> GltfReader.
2021-04-15 00:37:37 +10:00