occt: master 6eb502b2

Author Committer Branch Timestamp Parent
mkrylova bugmaster master 2020-11-06 08:33:58 master a2cb8561
Affected Issues  0031703: Data Exchange, RWGltf_CafWriter - add option putting textures inside GLB file as alternative to external references
Changeset 0031703: Data Exchange, RWGltf_CafWriter - add option putting textures inside GLB file as alternative to external references

RWGltf_CafWriter::ToEmbedTexturesInGlb() - added option embedding textures
into GLB file enabled by default.
Fixed uninitialized class field RWGltf_CafWriter::myIsForcedUVExport.

Image_Texture::MimeType() - added method returning MIME type based on image file format.
Image_Texture::WriteImage() - added method writing image into stream.
mod - src/Image/Image_Texture.cxx Diff File
mod - src/Image/Image_Texture.hxx Diff File
mod - src/RWGltf/RWGltf_CafWriter.cxx Diff File
mod - src/RWGltf/RWGltf_CafWriter.hxx Diff File
mod - src/RWGltf/RWGltf_GltfBufferView.hxx Diff File
mod - src/RWGltf/RWGltf_GltfMaterialMap.cxx Diff File
mod - src/RWGltf/RWGltf_GltfMaterialMap.hxx Diff File
mod - src/RWMesh/RWMesh_MaterialMap.cxx Diff File
mod - src/RWMesh/RWMesh_MaterialMap.hxx Diff File
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx Diff File
add - tests/de_mesh/gltf_write/helmetglb Diff File
add - tests/de_mesh/gltf_write/lanternglb Diff File