MantisBT
Mantis Bug Tracker Workflow

Changesets: occt Browse ] Back to Index ]
master 737e9a8d
Timestamp: 2019-03-16 13:47:33
Author: kgv
Committer: apn
Details ] Diff ]
0030571: Visualization, TKOpenGl - mapped texture is ignored while drawing points

OpenGl_AspectsTextureSet now appends Sprite texture to the end of texture set.
OpenGl_Context::init() - fixed usage of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS on too old GL context.

Default sampler names occSampler0, occActiveSampler and occSamplerBaseColor
are now excluded from header with common declarations for build-in GLSL programs.

OpenGl_ShaderObject::LoadAndCompile() and OpenGl_ShaderProgram::Link()
now includes program Id within error log.

OpenGl_ShaderManager now supports mapping texture onto point primitive within built-in programs
(texture transformation is ignored).
mod - src/Graphic3d/Graphic3d_Aspects.hxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_ShaderProgram.cxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_ShaderProgram.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_Aspects.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Aspects.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_AspectsSprite.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_AspectsSprite.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_AspectsTextureSet.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_AspectsTextureSet.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_Context.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Context.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_PointSprite.hxx 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_ShaderObject.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderObject.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderProgram.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Texture.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_TextureSet.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_TextureSet.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_View_Raytrace.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Workspace.cxx Diff ] File ]
mod - src/Shaders/Declarations.glsl Diff ] File ]
mod - src/Shaders/Shaders_Declarations_glsl.pxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff ] File ]
mod - tests/v3d/point_cloud/sphere Diff ] File ]
master 6072d597
Timestamp: 2019-03-15 11:24:15
Author: kgv
Committer: apn
Details ] Diff ]
0030580: Configuration, CMake - introduce BUILD_RELEASE_DISABLE_EXCEPTIONS option managing No_Exception macros
mod - adm/cmake/occt_defs_flags.cmake Diff ] File ]
mod - adm/cmake/vardescr.cmake Diff ] File ]
mod - CMakeLists.txt Diff ] File ]
master f2b42160
Timestamp: 2019-03-14 21:12:12
Author: kgv
Committer: apn
Details ] Diff ]
0030575: Tests - v3d/materials unstable image screenshots of alpha-blending on GeForce with MSAA

testdiff now looks for "IMAGE_COLOR_TOLERANCE: Tol" statements in log
to execute diffimage with -toleranceOfColor Tol parameter.

Image difference is first performed with 0 tolerance and then optionally with non-zero tolerance,
so that the log always includes information that some images are different,
but with two different messages:
- "IMAGE differs" for images failed comparison;
- "IMAGE is similar" for images passed comparison only with non-zero tolerance.

v3d/materials - disabled MSAA and removed duplicate.
demo/samples/materials - compare screenshots with 0.8% color tolerance (2/255).
mod - samples/tcl/materials.tcl Diff ] File ]
mod - src/DrawResources/TestCommands.tcl Diff ] File ]
mod - tests/demo/samples/materials Diff ] File ]
mod - tests/v3d/materials/bug24855 Diff ] File ]
rm - tests/v3d/materials/bug24872_1 Diff ] File ]
rm - tests/v3d/materials/bug24872_2 Diff ] File ]
add - tests/v3d/materials/phong1 Diff ] File ]
add - tests/v3d/materials/raytrace1 Diff ] File ]
master e9fb0cba
Timestamp: 2019-03-14 16:22:04
Author: oan
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().
mod - src/OSD/OSD_Parallel_TBB.cxx Diff ] File ]
master 85c103d2
Timestamp: 2019-03-14 09:38:09
Author: jgv
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
Timestamp: 2019-03-13 18:46:24
Author: kgv
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().
mod - src/OpenGl/OpenGl_AspectsTextureSet.cxx Diff ] File ]
master 5716d13b
Timestamp: 2019-03-13 04:49:59
Author: kgv
Committer: apn
Details ] Diff ]
0030564: Coding - math_Gauss uninitialized 'Singular' member variable

Removed unused class field Singular.
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
Timestamp: 2019-03-12 17:22:26
Author: kgv
Committer: apn
Details ] Diff ]
0030562: Coding - TopOpeBRepBuild_Builder use of null pointer

TopOpeBRepBuild_Builder::Clear() - added NULL check.
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_Builder.cxx Diff ] File ]
master ac8f1774
Timestamp: 2019-03-11 20:35:14
Author: kgv
Committer: apn
Details ] Diff ]
0030554: Coding - ChFiDS_CommonPoint uninitialized member traarc

Added missing initialization to ChFiDS_CommonPoint constructor.
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
Timestamp: 2019-03-11 20:20:44
Author: kgv
Committer: apn
Details ] Diff ]
0030553: Coding - TopOpeBRepDS_Surface missing default initalizations

All class fields are now initialized within every TopOpeBRepDS_Surface constructor.
mod - src/TopOpeBRepDS/TopOpeBRepDS_Surface.cxx Diff ] File ]
mod - src/TopOpeBRepDS/TopOpeBRepDS_Surface.hxx Diff ] File ]
master af2fa459
Timestamp: 2019-03-08 23:32:11
Author: kgv
Committer: apn
Details ] Diff ]
0030547: Foundation Classes - NCollection_DoubleMap lacks Seek() method

Added Seek1() and Seek2() methods to NCollection_DoubleMap class.
mod - src/NCollection/NCollection_DoubleMap.hxx Diff ] File ]
master c3c2b331
Timestamp: 2019-03-08 12:52:08
Author: kgv
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.
mod - dox/resources/occt_rm.doxyfile Diff ] File ]
mod - src/AIS/AIS_InteractiveContext.hxx Diff ] File ]
master 226fce20
Timestamp: 2019-03-07 17:45:58
Author: mnv
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.
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
Timestamp: 2019-03-06 12:02:29
Author: BenjaminBihler
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.
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
Timestamp: 2019-03-06 11:29:57
Author: oan
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.
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
Timestamp: 2019-03-06 09:33:53
Author: vro
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
Timestamp: 2019-03-04 06:41:34
Author: oan
Committer: apn
Details ] Diff ]
0030511: Mesh - too long meshing of assembly containing single solid (shared)

Added test case.
add - tests/perf/mesh/bug30511 Diff ] File ]
master bf5f0ca2
Timestamp: 2019-03-03 18:07:55
Author: kgv
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.
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
Timestamp: 2019-02-28 22:26:20
Author: kgv
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.
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
Timestamp: 2019-02-28 14:56:47
Author: ika
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
Timestamp: 2019-02-28 06:55:53
Author: nds
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.
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
Timestamp: 2019-02-27 22:36:32
Author: asl
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.
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 ]
master 0493ffd0
Timestamp: 2019-02-27 16:39:08
Author: asl
Committer: apn
Details ] Diff ]
0029787: Visualization - Avoid in presentation edges of certain continuity class

A new flag Prs3d_Drawer::FaceBoundaryUpperContinuity() has been introduced
handled by StdPrs_ShadedShape::FillFaceBoundaries() method to exclude edges
of higher continuity class (e.g. to skip seam edges).

Draw Harness command vshowfaceboundary has been replaced by vaspects:
> vaspects -setFaceBoundaryDraw 1 -setFaceBoundaryColor RED -setFaceBoundaryType DASH.
mod - samples/tcl/ANC101.tcl Diff ] File ]
mod - samples/tcl/cad.tcl Diff ] File ]
mod - samples/tcl/MBBGehauseRohteil.tcl Diff ] File ]
mod - src/AIS/AIS_ColoredShape.cxx Diff ] File ]
mod - src/BRep/BRep_Tool.cxx Diff ] File ]
mod - src/BRep/BRep_Tool.hxx Diff ] File ]
mod - src/Prs3d/Prs3d_Drawer.cxx Diff ] File ]
mod - src/Prs3d/Prs3d_Drawer.hxx Diff ] File ]
mod - src/StdPrs/StdPrs_ShadedShape.cxx Diff ] File ]
mod - src/StdPrs/StdPrs_ShadedShape.hxx Diff ] File ]
mod - src/ViewerTest/ViewerTest.cxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff ] File ]
mod - tests/bugs/vis/bug23407_2 Diff ] File ]
mod - tests/bugs/vis/bug25060 Diff ] File ]
mod - tests/bugs/vis/bug25071 Diff ] File ]
mod - tests/bugs/vis/bug27083 Diff ] File ]
mod - tests/bugs/vis/bug27821 Diff ] File ]
add - tests/bugs/vis/bug29787 Diff ] File ]
mod - tests/v3d/raytrace/bug26070 Diff ] File ]
master 4ec8ee66
Timestamp: 2019-02-27 14:02:37
Author: pdn
Committer: apn
Details ] Diff ]
0030356: Data Exchange - IGES model after importing into document has location issues
mod - src/IGESCAFControl/IGESCAFControl_Reader.cxx Diff ] File ]
add - tests/bugs/iges/bug30356 Diff ] File ]
mod - tests/de/iges_2/F4 Diff ] File ]
mod - tests/de/iges_2/F5 Diff ] File ]
mod - tests/de/iges_2/F6 Diff ] File ]
master d95f5ce1
Timestamp: 2019-02-26 10:56:03
Author: asl
Committer: apn
Details ] Diff ]
0029810: Visualization - Tool for debugging shaders

A new tool for debugging shaders has been introduced.
The new method OpenGl_ShaderProgram::UpdateDebugDump() allows dynamically
dumping/restoring certain shader program (vertex and fragment shaders) to/from external file.

The file name is generated from the program's name with suffix ".vs" or ".fs" for shader type.
The environment variable CSF_ShadersDirectoryDump specifies the folder for dumps.

If the file does not exist (first frame), then it is automatically saved.
When the file date/time is changed in comparison with recent cached date,
then the file will be automatically loaded from external file,
thus this file can be modified in any editor.

OpenGl_ShaderManager now generates a human-readable resource ids for standard GLSL programs.

Draw Harness command vshader has been extended with arguments -list,-dump and -reload
for debugging shaders within OpenGl_Context.
mod - src/Graphic3d/Graphic3d_ShaderProgram.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderManager.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderManager.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderObject.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderObject.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderProgram.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderProgram.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_View.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_View_Raytrace.cxx Diff ] File ]
mod - src/Shaders/Declarations.glsl Diff ] File ]
mod - src/Shaders/DeclarationsImpl.glsl Diff ] File ]
mod - src/Shaders/Shaders_DeclarationsImpl_glsl.pxx Diff ] File ]
mod - src/Shaders/Shaders_Declarations_glsl.pxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx Diff ] File ]
1 2 3 4 5 ... 20 ... 40 ... 60 ... 80 ... 100 ... 120 ... 140 ... 160 ... 180 ... 191 192 193  >>


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker