0030953: Data Exchange - implement export of mesh data into glTF 2.0 format
authorkgv <kgv@opencascade.com>
Mon, 18 Nov 2019 23:09:09 +0000 (02:09 +0300)
committerbugmaster <bugmaster@opencascade.com>
Sat, 23 Nov 2019 13:03:19 +0000 (16:03 +0300)
commit01b2f506d6b8162b5c26f715a1eb8b62d1298b74
tree5cd2e2f9fcb9bcabd76ae0feae5c44acf2828a17
parentdf8c7e3e18e5cccbabdfb94050698fb372a48174
0030953: Data Exchange - implement export of mesh data into glTF 2.0 format

Added new class RWGltf_CafWriter for exporting XCAF document into glTF file
as well as Draw Harness command WriteGltf.

Added auxiliary method OSD_Path::FileNameAndExtension() splitting file name into Name and Extension.
26 files changed:
src/OSD/OSD_Path.cxx
src/OSD/OSD_Path.hxx
src/RWGltf/FILES
src/RWGltf/RWGltf_CafWriter.cxx [new file with mode: 0644]
src/RWGltf/RWGltf_CafWriter.hxx [new file with mode: 0644]
src/RWGltf/RWGltf_GltfJsonParser.cxx
src/RWGltf/RWGltf_GltfMaterialMap.cxx [new file with mode: 0644]
src/RWGltf/RWGltf_GltfMaterialMap.hxx [new file with mode: 0644]
src/RWGltf/RWGltf_GltfOStreamWriter.hxx [new file with mode: 0644]
src/RWGltf/RWGltf_GltfSceneNodeMap.hxx [new file with mode: 0644]
src/RWGltf/RWGltf_WriterTrsfFormat.hxx [new file with mode: 0644]
src/RWMesh/FILES
src/RWMesh/RWMesh_FaceIterator.cxx [new file with mode: 0644]
src/RWMesh/RWMesh_FaceIterator.hxx [new file with mode: 0644]
src/RWMesh/RWMesh_MaterialMap.cxx [new file with mode: 0644]
src/RWMesh/RWMesh_MaterialMap.hxx [new file with mode: 0644]
src/TKXSDRAW/EXTERNLIB
src/XCAFPrs/XCAFPrs_DocumentNode.hxx
src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx
tests/de_mesh/end
tests/de_mesh/gltf_write/ball [new file with mode: 0644]
tests/de_mesh/gltf_write/begin [new file with mode: 0644]
tests/de_mesh/gltf_write/end [new file with mode: 0644]
tests/de_mesh/gltf_write/helmet [new file with mode: 0644]
tests/de_mesh/grids.list
tests/v3d/glsl/pbr_spheres