]> OCCT Git - occt.git/commit
0032530: Data Exchange, RWGltf_CafWriter - add option merging Faces within the Part
authorkgv <kgv@opencascade.com>
Wed, 11 Aug 2021 15:48:23 +0000 (18:48 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 12 Aug 2021 16:12:23 +0000 (19:12 +0300)
commit11c23250dc3f19c7962251ef4ec01a080049591b
tree82416a1fb099538a60007ae8eed26bf7ece8853b
parentfd42e7645d24214c081c9839d4a5f0816b1c76d4
0032530: Data Exchange, RWGltf_CafWriter - add option merging Faces within the Part

Added RWGltf_CafWriter::ToMergeFaces() property disabled by default.
RWMesh_MaterialMap - fixed creation of texture folder within working dir ".".
XCAFDoc_VisMaterial::FillMaterialAspect() - added clamping of too small shininess values.

Added options -mergefaces and -splitindices16 to WriteGltf for new feature.
Added -systemCoordSys option to WriteGltf for consistency with WriteObj.
17 files changed:
src/RWGltf/RWGltf_CafWriter.cxx
src/RWGltf/RWGltf_CafWriter.hxx
src/RWGltf/RWGltf_GltfFace.hxx
src/RWMesh/RWMesh_FaceIterator.cxx
src/RWMesh/RWMesh_FaceIterator.hxx
src/RWMesh/RWMesh_MaterialMap.cxx
src/TopExp/FILES
src/TopExp/TopExp_Explorer.cxx
src/TopExp/TopExp_Explorer.hxx
src/TopExp/TopExp_Explorer.lxx [deleted file]
src/TopoDS/FILES
src/TopoDS/TopoDS_Iterator.cxx
src/TopoDS/TopoDS_Iterator.hxx
src/TopoDS/TopoDS_Iterator.lxx [deleted file]
src/XCAFDoc/XCAFDoc_VisMaterial.cxx
src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx
tests/de_mesh/gltf_write/as1 [new file with mode: 0644]