Commit Graph

164 Commits

Author SHA1 Message Date
Samuel Vargas fefc4c3b8f
Update ImageWriter to work like BufferWriter
- Now supports writing images to the user lambda
- Now supports auto converting pixelData to base64
2021-03-05 07:41:22 -05:00
Samuel Vargas e0463a54dc
Update base64 include path, update comment 2021-03-05 07:41:22 -05:00
Samuel Vargas 37b0d11c1a
Move Base64 encoding to dedicated .cpp 2021-03-05 07:41:21 -05:00
Samuel Vargas 5e55a3a7f3
Remove extraneous space in WriteFlags.h 2021-03-05 07:41:21 -05:00
Samuel Vargas 1000fe2e15
Throw exception if GLB or GLTF not passed to writeModel 2021-03-05 07:41:21 -05:00
Samuel Vargas 98480a4c02
Increase BufferWriter coverage to 100% 2021-03-05 07:41:20 -05:00
Samuel Vargas adc0317b60
Add toString() / toStringView() methods for CesiumGltf::JsonWriter 2021-03-05 07:41:20 -05:00
Samuel Vargas 6601266f7d
Add mutual exclusion test 2021-03-05 07:41:19 -05:00
Samuel Vargas 7337177771
Add test for root array / single primitive value 2021-03-05 07:41:19 -05:00
Samuel Vargas 080a4bdd85
Remove FindMinMax / PrimitiveVectorToLittleEndian 2021-03-05 07:41:19 -05:00
Samuel Vargas 865388c0dc
Add additional smoketests for glTF / GLB generation 2021-03-05 07:41:18 -05:00
Samuel Vargas d636270d37
Rename GLTF_VERSION to GLB_CONTAINER_VERSION 2021-03-05 07:41:18 -05:00
Samuel Vargas 7bfb800ab9
Rework the Writer / BufferWriter API
- Removed unused EmbedImages / EmbedBuffers / ExternalBuffers parameters
- Split the writing function into two separate functions.
2021-03-05 07:41:17 -05:00
Samuel Vargas f643405726
Add CesiumGltfWriter 2021-03-05 07:41:16 -05:00