]> OCCT Git - occt.git/commit
Data Exchange, GLTF - Change export line type to LINE_STRIP #535
authorElias Cohenca <elias@bananaz.ai>
Sat, 17 May 2025 09:00:40 +0000 (12:00 +0300)
committerdpasukhi <dpasukhi@opencascade.com>
Mon, 19 May 2025 21:22:28 +0000 (22:22 +0100)
commitb9629dba1c7253640f7714169697b50efb9063d9
treef79f94a579da023ea1bc5a4c4637c8548988ff0d
parent86c72171bfff99a78e57672dbcc409f17ef2df58
Data Exchange, GLTF - Change export line type to LINE_STRIP #535

GLTF exporter mark edges as a LINE, which is 2 connected points.
OCCT polylines is mostly line strip structure.
Updated GLTF reader to handle new type of lines
src/RWGltf/RWGltf_CafWriter.cxx
src/RWGltf/RWGltf_GltfJsonParser.cxx
src/RWGltf/RWGltf_TriangulationReader.cxx