]> OCCT Git - occt-copy.git/commit
Draft implementation of LOD API in OCCT:
authorvpa <vpa@opencascade.com>
Fri, 6 Nov 2015 04:15:03 +0000 (07:15 +0300)
committervpa <vpa@opencascade.com>
Fri, 6 Nov 2015 07:56:53 +0000 (10:56 +0300)
commita370cc65373fe367f5c4fdf75c3af546228031cb
tree3b8f156f4a00d62e8b935e31511e597bd9f1d3a4
parent3b523c4cb271ae9a5fdb27f11da49fa4a4e2de9a
Draft implementation of LOD API in OCCT:
- implemented interfaces for LOD at OpenGl, Graphic3d and MeshVS levels;
- simple mechanism of LOD switching was added to OpenGl_Structure::Render method;
- distance to COG metric is temporarily used;
- added commands meshgenlod and meshlod to generate LODs for mesh and its topological representation
  and bind them to its OpenGl structures.
23 files changed:
src/Graphic3d/FILES
src/Graphic3d/Graphic3d_CStructure.hxx
src/Graphic3d/Graphic3d_LOD.cxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_LOD.hxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_Structure.cxx
src/Graphic3d/Graphic3d_Structure.hxx
src/MeshVS/FILES
src/MeshVS/MeshVS_DataSource.hxx
src/MeshVS/MeshVS_LODDataSource.cxx [new file with mode: 0644]
src/MeshVS/MeshVS_LODDataSource.hxx [new file with mode: 0644]
src/MeshVS/MeshVS_MeshPrsBuilder.cxx
src/MeshVS/MeshVS_MeshPrsBuilder.hxx
src/OpenGl/FILES
src/OpenGl/OpenGl_LOD.cxx [new file with mode: 0644]
src/OpenGl/OpenGl_LOD.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_LOD.lxx [new file with mode: 0644]
src/OpenGl/OpenGl_Structure.cxx
src/OpenGl/OpenGl_Structure.hxx
src/Prs3d/Prs3d_Root.cxx
src/Prs3d/Prs3d_Root.hxx
src/TKMeshVS/EXTERNLIB
src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx
tests/bugs/vis/bug26812 [new file with mode: 0644]