Changesets: occt
master d9166000 2019-03-14 19:17:19 Committer: apn Details Diff |
0030574: Configuration, genproj - CSF_DEFINES is not reset at the beginning of env.bat env.bat now resets %CSF_DEFINES% variable to empty state and append optional %CSF_DEFINES_EXTRA% external value. |
||
mod - adm/templates/env.bat | Diff File | ||
mod - dox/dev_guides/upgrade/upgrade.md | Diff File | ||
master e9fb0cba 2019-03-14 16:22:04 Committer: apn Details Diff |
0030573: OSD_Parallel_TBB: limit number of execution threads using settings of OSD_ThreadPool::DefaultPool() Add tbb::task_scheduler_init to OSD_Parallel::forEach(). |
Affected Issues 0030573 |
|
mod - src/OSD/OSD_Parallel_TBB.cxx | Diff File | ||
master 85c103d2 2019-03-14 09:38:09
Committer: apn Details Diff |
0030560: Modeling Algorithms - Improvement of the method BRepTools::DetectClosedness 1. Rewrite the method BRepTools::DetectClosedness. 2. Correct the method BRepOffset_Tool::EnLargeFace to process properly non-periodic but closed faces. |
||
mod - src/BRepOffset/BRepOffset_Tool.cxx | Diff File | ||
mod - src/BRepTools/BRepTools.cxx | Diff File | ||
add - tests/bugs/modalg_7/bug30560_1 | Diff File | ||
add - tests/bugs/modalg_7/bug30560_2 | Diff File | ||
master 31fe1f8e 2019-03-13 18:46:24 Committer: apn Details Diff |
0030570: Visualization, TKOpenGl - OpenGl_AspectFace ignores texture revision on recompute Added revision check to one more branch within OpenGl_AspectsTextureSet::build(). |
Affected Issues 0030570 |
|
mod - src/OpenGl/OpenGl_AspectsTextureSet.cxx | Diff File | ||
master d65f9183 2019-03-13 13:53:16 Committer: apn Details Diff |
0030569: Foundation Classes - NCollection_Shared lacks inclusion of NCollection_DefineAlloc.hxx Add missing includes. |
Affected Issues 0030569 |
|
mod - src/NCollection/NCollection_Shared.hxx | Diff File | ||
mod - src/Standard/Standard_Mutex.hxx | Diff File | ||
master 5716d13b 2019-03-13 04:49:59 Committer: apn Details Diff |
0030564: Coding - math_Gauss uninitialized 'Singular' member variable Removed unused class field Singular. |
Affected Issues 0030564 |
|
mod - src/math/FILES | Diff File | ||
mod - src/math/math_Gauss.cxx | Diff File | ||
mod - src/math/math_Gauss.hxx | Diff File | ||
rm - src/math/math_Gauss.lxx | Diff File | ||
master a7fd4b1b 2019-03-12 17:22:26 Committer: apn Details Diff |
0030562: Coding - TopOpeBRepBuild_Builder use of null pointer TopOpeBRepBuild_Builder::Clear() - added NULL check. |
Affected Issues 0030562 |
|
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_Builder.cxx | Diff File | ||
master afb3647b 2019-03-12 13:47:21
Committer: apn Details Diff |
0030489: Modeling Algorithms - BRepBuilderAPI_GTransform hangs Approx_ComputeCLine.gxx - criterium to stop interval cutting is increased. ProjLib_ProjectedCurve.cxx - fix regression for bugs modalg_5 bug25886 Other tests are modified according to current state of algorithm |
||
mod - src/Approx/Approx_ComputeCLine.gxx | Diff File | ||
mod - src/ProjLib/ProjLib_ProjectedCurve.cxx | Diff File | ||
mod - tests/bugs/modalg_5/bug25886 | Diff File | ||
mod - tests/lowalgos/intss/bug26576_1 | Diff File | ||
mod - tests/lowalgos/intss/bug26576_3 | Diff File | ||
mod - tests/lowalgos/intss/bug26684_1 | Diff File | ||
mod - tests/lowalgos/intss/bug26684_2 | Diff File | ||
add - tests/perf/modalg/bug30489 | Diff File | ||
master 18434846 2019-03-12 03:05:21 Committer: apn Details Diff |
0030558: Coding - replace math_SingleTab with NCollection_LocalArray math_Vector::Multiplied() - fixed modification of original array. math_SVD::Solve(), math_SVD::PseudoInverse(), GeomFill_LocationGuide::InitX() - removed incorrect constness. math_Vector, math_IntegerVector - math_SingleTab has been replaced by NCollection_LocalArray+NCollection_Array1. Added accessors returning const value. |
Affected Issues 0030558 |
|
mod - src/FEmTool/FEmTool_ProfileMatrix.cxx | Diff File | ||
mod - src/GeomFill/GeomFill_LocationGuide.cxx | Diff File | ||
mod - src/GeomFill/GeomFill_LocationGuide.hxx | Diff File | ||
mod - src/math/FILES | Diff File | ||
mod - src/math/math_IntegerVector.cxx | Diff File | ||
mod - src/math/math_IntegerVector.hxx | Diff File | ||
mod - src/math/math_Matrix.cxx | Diff File | ||
rm - src/math/math_SingleTab.hxx | Diff File | ||
mod - src/math/math_SVD.cxx | Diff File | ||
mod - src/math/math_SVD.hxx | Diff File | ||
mod - src/math/math_Vector.cxx | Diff File | ||
mod - src/math/math_Vector.hxx | Diff File | ||
master 3697d4fa 2019-03-12 01:51:41 Committer: apn Details Diff |
0030556: Coding - IGESData_GlobalSection missing member initialization in default constructor IGESData_GlobalSection now initializes class fields. |
Affected Issues 0030556 |
|
mod - src/IGESData/IGESData_GlobalSection.cxx | Diff File | ||
mod - src/IGESData/IGESData_GlobalSection.hxx | Diff File | ||
master ac8f1774 2019-03-11 20:35:14 Committer: apn Details Diff |
0030554: Coding - ChFiDS_CommonPoint uninitialized member traarc Added missing initialization to ChFiDS_CommonPoint constructor. |
Affected Issues 0030554 |
|
mod - src/ChFiDS/ChFiDS_CommonPoint.cxx | Diff File | ||
mod - src/ChFiDS/ChFiDS_CommonPoint.hxx | Diff File | ||
rm - src/ChFiDS/ChFiDS_CommonPoint.lxx | Diff File | ||
mod - src/ChFiDS/FILES | Diff File | ||
master a98b97f5 2019-03-11 20:20:44 Committer: apn Details Diff |
0030553: Coding - TopOpeBRepDS_Surface missing default initalizations All class fields are now initialized within every TopOpeBRepDS_Surface constructor. |
Affected Issues 0030553 |
|
mod - src/TopOpeBRepDS/TopOpeBRepDS_Surface.cxx | Diff File | ||
mod - src/TopOpeBRepDS/TopOpeBRepDS_Surface.hxx | Diff File | ||
master 404504b2 2019-03-11 18:28:52
Committer: apn Details Diff |
0030544: Data Exchange - IGES import fails on specific file Method IGESToBRep_BRepEntity::TransferEdge() is fixed to record result even if it is wire rather than edge. This allows translation of EdgeLoop entities referring to CompositeCurve items in EdgeList entities. Curves that fail to translate are recorded in result as Null shapes (rather than skipping them) to keep indexation of curves in EdgeList valid for remaining ones. Method IGESToBRep_BRepEntity::TransferLoop() is improved to skip failed edges thus avoiding exception and allowing translation to complete for transferable entities. Warning messages are corrected to be more meaningful. Added test bugs iges bug30544 |
||
mod - src/IGESToBRep/IGESToBRep_BRepEntity.cxx | Diff File | ||
mod - src/IGESToBRep/IGESToBRep_IGESBoundary.cxx | Diff File | ||
mod - src/XSMessage/XSMessage_XSTEP_us.pxx | Diff File | ||
mod - src/XSMessage/XSTEP.fr | Diff File | ||
mod - src/XSMessage/XSTEP.us | Diff File | ||
add - tests/bugs/iges/bug30544 | Diff File | ||
master af2fa459 2019-03-08 23:32:11 Committer: apn Details Diff |
0030547: Foundation Classes - NCollection_DoubleMap lacks Seek() method Added Seek1() and Seek2() methods to NCollection_DoubleMap class. |
Affected Issues 0030547 |
|
mod - src/NCollection/NCollection_DoubleMap.hxx | Diff File | ||
master c3c2b331 2019-03-08 12:52:08 Committer: apn Details Diff |
0030545: Documentation - methods marked with Standard_DEPRECATED has ill-formed Doxygen output Doxygen option PREDEFINED has been extended by Standard_DEPRECATED declaration. |
Affected Issues 0030545 |
|
mod - dox/resources/occt_rm.doxyfile | Diff File | ||
mod - src/AIS/AIS_InteractiveContext.hxx | Diff File | ||
master 226fce20 2019-03-07 17:45:58
Committer: apn Details Diff |
0030124: Visualization, AIS_InteractiveObject - clean up confusing Presentation invalidation logic Removed excess mechanism for invalidating presentations AIS_InteractiveObject::myRecomputeEveryPrs. PrsMgr_PresentableObject::Update() has been deprecated and replaced by PrsMgr_PresentableObject::UpdatePresentations() recomputing only explicitly invalidated presentations. |
Affected Issues 0030124 |
|
mod - dox/dev_guides/upgrade/upgrade.md | Diff File | ||
mod - samples/mfc/standard/Common/ISession2D/ISession2D_Shape.cpp | Diff File | ||
mod - src/AIS/AIS_Axis.cxx | Diff File | ||
mod - src/AIS/AIS_CameraFrustum.cxx | Diff File | ||
mod - src/AIS/AIS_Circle.cxx | Diff File | ||
mod - src/AIS/AIS_Circle.hxx | Diff File | ||
mod - src/AIS/AIS_ColoredShape.cxx | Diff File | ||
mod - src/AIS/AIS_InteractiveContext.cxx | Diff File | ||
mod - src/AIS/AIS_InteractiveContext.hxx | Diff File | ||
mod - src/AIS/AIS_InteractiveObject.cxx | Diff File | ||
mod - src/AIS/AIS_InteractiveObject.hxx | Diff File | ||
mod - src/AIS/AIS_Line.cxx | Diff File | ||
mod - src/AIS/AIS_Line.hxx | Diff File | ||
mod - src/AIS/AIS_Plane.cxx | Diff File | ||
mod - src/AIS/AIS_PlaneTrihedron.cxx | Diff File | ||
mod - src/AIS/AIS_PlaneTrihedron.hxx | Diff File | ||
mod - src/AIS/AIS_Point.cxx | Diff File | ||
mod - src/AIS/AIS_Point.hxx | Diff File | ||
mod - src/AIS/AIS_Shape.cxx | Diff File | ||
mod - src/AIS/AIS_Shape.hxx | Diff File | ||
mod - src/AIS/AIS_TextLabel.cxx | Diff File | ||
mod - src/AIS/AIS_Triangulation.cxx | Diff File | ||
mod - src/AIS/AIS_Trihedron.cxx | Diff File | ||
mod - src/AIS/AIS_Trihedron.hxx | Diff File | ||
mod - src/PrsMgr/PrsMgr_PresentableObject.cxx | Diff File | ||
mod - src/PrsMgr/PrsMgr_PresentableObject.hxx | Diff File | ||
mod - src/StdSelect/StdSelect_BRepOwner.cxx | Diff File | ||
mod - src/XCAFPrs/XCAFPrs_AISObject.cxx | Diff File | ||
master 55c8f0f7 2019-03-06 12:02:29 Committer: apn Details Diff |
0030523: Visualization - Highlighting does not work anymore Added hints about ZLayer consideration and changing highlight colors to documentation of AIS_InteractiveContext::SetHighlightStyle() method. AIS_InteractiveContext::MoveTo() now checks if highlighting style does not use immediate layer and performs full Redraw() instead of RedrawImmediate(). Improved parsing of ZLayer names within vdisplay, vzlayer and vselprops commands. vreadpixel now reports syntax errors on wrong input. |
Affected Issues 0030523 |
|
mod - src/AIS/AIS_InteractiveContext.hxx | Diff File | ||
mod - src/AIS/AIS_InteractiveContext_1.cxx | Diff File | ||
mod - src/ViewerTest/ViewerTest.cxx | Diff File | ||
mod - src/ViewerTest/ViewerTest.hxx | Diff File | ||
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx | Diff File | ||
mod - tests/v3d/materials/bug27818_2 | Diff File | ||
master 060fc603 2019-03-06 11:29:57 Committer: apn Details Diff |
0030149: BRepMesh_Delaun: free triangle is left in the mesh after cleanup of auxiliary items Remove free triangles connected to triangles over nodes of super triangle. Modification of improved test case. |
Affected Issues 0030149 |
|
mod - src/BRepMesh/BRepMesh_Delaun.cxx | Diff File | ||
add - tests/bugs/mesh/bug30149 | Diff File | ||
mod - tests/mesh/data/standard/U5 | Diff File | ||
master 79931835 2019-03-06 09:33:53 Committer: apn Details Diff |
0030535: Draw Harness - add size argument to vgrid command vgrid command has been revised and extended with new argument -size. |
||
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx | Diff File | ||
mod - tests/bugs/vis/bug25671 | Diff File | ||
mod - tests/bugs/vis/bug25672 | Diff File | ||
mod - tests/bugs/vis/bug26154 | Diff File | ||
mod - tests/bugs/vis/bug26435 | Diff File | ||
mod - tests/bugs/vis/bug29395 | Diff File | ||
master ad4b0429 2019-03-04 06:41:34 Committer: apn Details Diff |
0030511: Mesh - too long meshing of assembly containing single solid (shared) Added test case. |
Affected Issues 0030511 |
|
add - tests/perf/mesh/bug30511 | Diff File | ||
master bf5f0ca2 2019-03-03 18:07:55 Committer: apn Details Diff |
0029570: Visualization, Graphic3d_Aspect - merge Graphic3d_Group aspects Graphic3d_AspectFillArea3d, Graphic3d_AspectLine3d, Graphic3d_AspectMarker3d and Graphic3d_AspectText3d have been merged into new class Graphic3d_Aspects. The old classes are preserved as dummy sub-classes of Graphic3d_Aspects preserving different per-aspect defaults. Methods IsGroupPrimitivesAspectSet(), GroupPrimitivesAspect(), FillAreaAspect(), LineAspect() and MarkerAspect() have been removed from Graphic3d_Group. Instead, a new method Graphic3d_Group::ReplaceAspects() has been introduced for replacing existing group aspects. AIS_Shape now uses new method AIS_InteractiveObject::replaceAspects() for updating computed groups with new aspects without presentation recomputation in places where SynchronizeAspects() is not applicable. OpenGl_AspectFace, OpenGl_AspectLine, OpenGl_AspectMarker and OpenGl_AspectText have been merged into new class OpenGl_Aspects. ViewerTest::parseColor() - fix uninitialized alpha component. Graphic3d_AspectText3d/Prs3d_TextAspect - removed unused properties Space, ExpansionFactor, Angle. Remove getters Values() deprecated since OCCT 7.1.0. |
Affected Issues 0029570 |
|
mod - dox/dev_guides/upgrade/upgrade.md | Diff File | ||
mod - src/AIS/AIS_CameraFrustum.cxx | Diff File | ||
mod - src/AIS/AIS_ColoredShape.cxx | Diff File | ||
mod - src/AIS/AIS_ColoredShape.hxx | Diff File | ||
mod - src/AIS/AIS_Dimension.cxx | Diff File | ||
mod - src/AIS/AIS_InteractiveObject.cxx | Diff File | ||
mod - src/AIS/AIS_InteractiveObject.hxx | Diff File | ||
mod - src/AIS/AIS_Manipulator.cxx | Diff File | ||
mod - src/AIS/AIS_PointCloud.cxx | Diff File | ||
mod - src/AIS/AIS_Relation.cxx | Diff File | ||
mod - src/AIS/AIS_RubberBand.cxx | Diff File | ||
mod - src/AIS/AIS_Shape.cxx | Diff File | ||
mod - src/AIS/AIS_Shape.hxx | Diff File | ||
mod - src/AIS/AIS_TexturedShape.cxx | Diff File | ||
mod - src/AIS/AIS_Triangulation.cxx | Diff File | ||
mod - src/DsgPrs/DsgPrs.cxx | Diff File | ||
mod - src/Graphic3d/FILES | Diff File | ||
mod - src/Graphic3d/Graphic3d_AspectFillArea3d.cxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_AspectFillArea3d.hxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_AspectLine3d.cxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_AspectLine3d.hxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_AspectMarker3d.cxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_AspectMarker3d.hxx | Diff File | ||
add - src/Graphic3d/Graphic3d_Aspects.cxx | Diff File | ||
add - src/Graphic3d/Graphic3d_Aspects.hxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_AspectText3d.cxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_AspectText3d.hxx | Diff File | ||
rm - src/Graphic3d/Graphic3d_AspectTextDefinitionError.hxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_Group.cxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_Group.hxx | Diff File | ||
add - src/Graphic3d/Graphic3d_MapOfAspectsToAspects.hxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_PolygonOffset.hxx | Diff File | ||
mod - src/MeshVS/MeshVS_TextPrsBuilder.cxx | Diff File | ||
mod - src/OpenGl/FILES | Diff File | ||
rm - src/OpenGl/OpenGl_AspectFace.cxx | Diff File | ||
rm - src/OpenGl/OpenGl_AspectFace.hxx | Diff File | ||
rm - src/OpenGl/OpenGl_AspectLine.cxx | Diff File | ||
rm - src/OpenGl/OpenGl_AspectLine.hxx | Diff File | ||
rm - src/OpenGl/OpenGl_AspectMarker.hxx | Diff File | ||
add - src/OpenGl/OpenGl_Aspects.cxx | Diff File | ||
add - src/OpenGl/OpenGl_Aspects.hxx | Diff File | ||
add - src/OpenGl/OpenGl_AspectsProgram.cxx | Diff File | ||
add - src/OpenGl/OpenGl_AspectsProgram.hxx | Diff File | ||
add - src/OpenGl/OpenGl_AspectsSprite.hxx | Diff File | ||
add - src/OpenGl/OpenGl_AspectsTextureSet.cxx | Diff File | ||
add - src/OpenGl/OpenGl_AspectsTextureSet.hxx | Diff File | ||
rm - src/OpenGl/OpenGl_AspectText.cxx | Diff File | ||
rm - src/OpenGl/OpenGl_AspectText.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_BackgroundArray.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_BackgroundArray.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_CappingAlgo.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_CappingPlaneResource.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_CappingPlaneResource.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_Context.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Context.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_FrameStatsPrs.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_FrameStatsPrs.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_GraduatedTrihedron.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_GraduatedTrihedron.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_GraphicDriver.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Group.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Group.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_PrimitiveArray.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_PrimitiveArray.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_ShaderManager.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_ShaderManager.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_Structure.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Structure.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_Text.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Text.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_View.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_View.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_View_Raytrace.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_View_Redraw.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Workspace.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Workspace.hxx | Diff File | ||
mod - src/Prs3d/Prs3d_TextAspect.cxx | Diff File | ||
mod - src/Prs3d/Prs3d_TextAspect.hxx | Diff File | ||
mod - src/PrsMgr/PrsMgr_PresentableObject.cxx | Diff File | ||
mod - src/PrsMgr/PrsMgr_PresentableObject.hxx | Diff File | ||
mod - src/StdPrs/StdPrs_ShadedShape.cxx | Diff File | ||
mod - src/StdPrs/StdPrs_WFShape.cxx | Diff File | ||
mod - src/StdPrs/StdPrs_WFShape.hxx | Diff File | ||
mod - src/ViewerTest/ViewerTest.cxx | Diff File | ||
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx | Diff File | ||
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx | Diff File | ||
master 88b12b7c 2019-02-28 22:26:20 Committer: apn Details Diff |
0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory buffer Added two new Image_AlienPixMap::Load() methods, taking std::istream and memory buffer (pointer, length) arguments. This allows reading image from application memory or from file with non-zero offset. Added Image_AlienPixMap::IsTopDownDefault() static property allowing to query rows order used by linked image library, so that application might generate UV texture coordinates accordingly. Added missing Release() to IWICImagingFactory instance. |
Affected Issues 0030182 |
|
mod - src/Image/Image_AlienPixMap.cxx | Diff File | ||
mod - src/Image/Image_AlienPixMap.hxx | Diff File | ||
mod - src/QABugs/QABugs_1.cxx | Diff File | ||
mod - src/QABugs/QABugs_17.cxx | Diff File | ||
mod - tests/bugs/vis/bug1188 | Diff File | ||
mod - tests/bugs/vis/bug25475 | Diff File | ||
add - tests/bugs/vis/bug30182 | Diff File | ||
master 7b93ae3c 2019-02-28 14:56:47 Committer: apn Details Diff |
0030533: Data Exchange - Crash during STEP import. Add Null checks to avoid crash during reading faces without bounds. |
||
mod - src/STEPCAFControl/STEPCAFControl_Reader.cxx | Diff File | ||
add - tests/bugs/step/bug30533 | Diff File | ||
master 967d2f4f 2019-02-28 06:55:53 Committer: apn Details Diff |
0030497: [REGRESSION] Mesh - wrong Poly_Polygon3D within local selection of located shape The previous code has a condition to avoid processing the same faces if the face has a location. The similar condition should be applied during the edges processing. If not doing this, in the previous implementation, IMeshData_Edge instances are created for all edges(even located), but edges of faces located are not filled with curves. As a result we had wrong local selection of edges. Limit addition of edges to data model by ones with unique TShape and location using edges map already available in BRepMesh_ShapeVisitor. |
Affected Issues 0030497 |
|
mod - src/BRepMesh/BRepMesh_ShapeVisitor.cxx | Diff File | ||
mod - src/IMeshTools/IMeshTools_ShapeExplorer.cxx | Diff File | ||
mod - tests/bugs/mesh/bug25364 | Diff File | ||
add - tests/bugs/moddata_3/bug30497 | Diff File | ||
master 6ef0d6f1 2019-02-27 22:36:32
Committer: apn Details Diff |
0024437: Visualization - silhouette edges based on OpenGL Added new flag Graphic3d_AspectFillArea3d::ToDrawSilhouette() activating silhouette (outline) rendering. The new feature can simulate fake HLR look-n-feel, when combined with Aspect_IS_HIDDENLINE interior style (filling object with background color), face boundary edges (with most continuity flag set to c2 or lower). Silhouette GLSL program is very simple - it displaces model alongside vertex normal, so that it is applicable only to smooth surfaces and closed volumes, and produces visual artifacts at sharp corners, especially when face boundary is disabled. OpenGl_SetOfShaderPrograms has been modified so that to reduce dimensions of the grid of static size based on amount of program combinations. OpenGl_PrimitiveArray no more allocates VBO resources if primitive array is marked to be not drawn via interior style / line type / marker type. |
Affected Issues 0024437 |
|
mod - src/Graphic3d/Graphic3d_AspectFillArea3d.cxx | Diff File | ||
mod - src/Graphic3d/Graphic3d_AspectFillArea3d.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_BackgroundArray.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_PrimitiveArray.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_SetOfShaderPrograms.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_ShaderManager.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_ShaderManager.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_ShaderProgram.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_ShaderProgram.hxx | Diff File | ||
mod - src/ViewerTest/ViewerTest.cxx | Diff File | ||
add - tests/v3d/glsl/outline1 | Diff File | ||
add - tests/v3d/glsl/outline2 | Diff File |