Changesets: occt

master 5980a9fb

2019-11-11 15:18:48

szy


Committer: bugmaster Details Diff
0031049: OCAF - Error message during Ascii file (std) opening.
mod - src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx Diff File
mod - src/StdResource/MigrationSheet.txt Diff File
mod - src/Storage/Storage_Schema.cxx Diff File
add - tests/bugs/caf/bug31049 Diff File

master 15e4e6a2

2019-11-08 11:13:53

kgv


Committer: bugmaster Details Diff
0031118: Visualization - Font_FontMgr skips fonts with unknown styles like Narrow or Black

Extended Style name is now appended to Family name for unique identification of the font.
vfont -find now accepts mask to search the font and returns family name.
mod - src/Font/Font_FontMgr.cxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
add - tests/3rdparty/fonts/C4 Diff File

master 4c26106f

2019-11-07 15:09:48

gka


Committer: bugmaster Details Diff
0031140: Draw command "cirtang" raises exception on the parallel curves

Exception in the algorithm Geom2dGcc_Circ2dTanOnRadGeo raised because the number of solutions exceeded the size of reserved array for solutions. A check has been added to forbid adding solutions outside of allocated place.

The similar protection has been done in other algorithms of this package.
mod - src/GccAna/GccAna_Circ2dTanOnRad_3.cxx Diff File
mod - src/Geom2dGcc/Geom2dGcc_Circ2d2TanOnGeo.cxx Diff File
mod - src/Geom2dGcc/Geom2dGcc_Circ2d2TanRad.cxx Diff File
mod - src/Geom2dGcc/Geom2dGcc_Circ2d2TanRadGeo.cxx Diff File
mod - src/Geom2dGcc/Geom2dGcc_Circ2d3Tan.cxx Diff File
mod - src/Geom2dGcc/Geom2dGcc_Circ2dTanOnRadGeo.cxx Diff File
add - tests/lowalgos/2dgcc/bug31140 Diff File

master 72f6dc61

2019-11-07 13:52:53

iko


Committer: bugmaster Details Diff
0031096: Visualization, TKOpenGl - support metallic-roughness texture mapping

OpenGl_ShaderManager - metallic-roughness, emissive, occlusion
and normal texture maps are now supported by PBR.
Emissive, occlusion and normal texture maps are now supported by Phong shading model.
Path-Tracing now handles metallic-roughness and emissive texture maps.

Graphic3d_TextureUnit enumeration has been extended by
new values corresponding to supported texture maps.

OpenGl_TextureSet and OpenGl_ShaderProgram have been extended with
bitmask Graphic3d_TextureSetBits identifying texture slots read from GLSL Program
and slots defined within Texture Set to avoid undefined behavior by binding mock textures.

OpenGl_TextureSet now duplicates texture unit information to handle
textures shared across multiple slots (like Occlusion [R] + Metallic-Roughness [GB]).

OpenGl_Context::BindTextures() has been extended with active GLSL program paramter
to set mock textures to texture units used by program but undefined by texture set.
OpenGl_Workspace::ApplyAspects() has been extended with parameter to avoid bining texture set.
Affected Issues
0031096
mod - src/Graphic3d/FILES Diff File
mod - src/Graphic3d/Graphic3d_BSDF.cxx Diff File
mod - src/Graphic3d/Graphic3d_ShaderProgram.cxx Diff File
mod - src/Graphic3d/Graphic3d_ShaderProgram.hxx Diff File
add - src/Graphic3d/Graphic3d_TextureSetBits.hxx Diff File
mod - src/Graphic3d/Graphic3d_TextureUnit.hxx Diff File
mod - src/OpenGl/OpenGl_AspectsTextureSet.cxx Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_Context.hxx Diff File
mod - src/OpenGl/OpenGl_LayerList.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/OpenGl/OpenGl_Structure.cxx Diff File
mod - src/OpenGl/OpenGl_Text.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.cxx 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/Shaders/Declarations.glsl Diff File
mod - src/Shaders/DeclarationsImpl.glsl Diff File
mod - src/Shaders/PathtraceBase.fs Diff File
mod - src/Shaders/Shaders_DeclarationsImpl_glsl.pxx Diff File
mod - src/Shaders/Shaders_Declarations_glsl.pxx Diff File
mod - src/Shaders/Shaders_PathtraceBase_fs.pxx Diff File
mod - src/XCAFDoc/XCAFDoc_VisMaterial.cxx Diff File
mod - src/XCAFPrs/XCAFPrs_Texture.cxx Diff File
add - tests/v3d/raytrace/helmet Diff File

master a14f2b47

2019-11-06 21:11:57

kgv


Committer: bugmaster Details Diff
0031139: Data Exchange - fix misprint in RWObj_CafReader

RWObj_CafReader::BindNamedShape(), added missing bind to material map.
XCAFDoc_VisMaterial::ConvertToCommonMaterial()/::ConvertToPbrMaterial(), added copying of base color texture.
XCAFPrs_DocumentExplorer now properly fills XCAFDoc_VisMaterial property of XCAFPrs_Style.
Affected Issues
0031139
mod - src/RWObj/RWObj_CafReader.cxx Diff File
mod - src/XCAFDoc/XCAFDoc_VisMaterial.cxx Diff File
mod - src/XCAFPrs/XCAFPrs_DocumentExplorer.cxx Diff File
mod - src/XCAFPrs/XCAFPrs_DocumentExplorer.hxx Diff File

master 08b438b0

2019-11-06 20:53:53

kgv


Committer: bugmaster Details Diff
0031138: Visualization - Image_AlienPixMap fails to load PNG image with palette

Added fallback code converting unsupported pixel format into RGB24 using FreeImage itself.
Affected Issues
0031138
mod - src/Image/Image_AlienPixMap.cxx Diff File

master 6b467e52

2019-11-06 16:26:24

kgv


Committer: bugmaster Details Diff
0031137: Modeling Data, BinTools_ShapeSet - avoid allocation of temporary arrays

BinTools_ShapeSet now defines maps with proper types instead of Standard_Transient.
BinTools_ShapeSet now avoids allocation of temporary arrays while reading
triangulation and polygonal data.

Classes Poly_Triangle, Poly_PolygonOnTriangulation, Poly_Polygon3D and Poly_Polygon2D
have been cleared from .lxx files and extended by new methods for preallocating and filling array,
as alternative to passing arrays by copy.

wavefront command - export "f" instead of obsolete "fo" keys into file.
BinTools - added missing tools for reading/writing short reals.
Affected Issues
0031137
mod - src/BinTools/BinTools.cxx Diff File
mod - src/BinTools/BinTools.hxx Diff File
mod - src/BinTools/BinTools_ShapeSet.cxx Diff File
mod - src/BinTools/BinTools_ShapeSet.hxx Diff File
mod - src/MeshTest/MeshTest.cxx Diff File
mod - src/Poly/FILES Diff File
mod - src/Poly/Poly_Polygon2D.cxx Diff File
mod - src/Poly/Poly_Polygon2D.hxx Diff File
rm - src/Poly/Poly_Polygon2D.lxx Diff File
mod - src/Poly/Poly_Polygon3D.cxx Diff File
mod - src/Poly/Poly_Polygon3D.hxx Diff File
rm - src/Poly/Poly_Polygon3D.lxx Diff File
mod - src/Poly/Poly_PolygonOnTriangulation.cxx Diff File
mod - src/Poly/Poly_PolygonOnTriangulation.hxx Diff File
rm - src/Poly/Poly_PolygonOnTriangulation.lxx Diff File
rm - src/Poly/Poly_Triangle.cxx Diff File
mod - src/Poly/Poly_Triangle.hxx Diff File
rm - src/Poly/Poly_Triangle.lxx Diff File

master a1a9b249

2019-11-06 13:59:27

kgv


Committer: bugmaster Details Diff
0031135: Visualization, TKOpenGl - texture sRGB -> linear conversion is applied twice by Path Tracer

Removed from PathtraceBase.fs redundant gamma correction applied to texture.
Affected Issues
0031135
mod - src/Shaders/PathtraceBase.fs Diff File
mod - src/Shaders/Shaders_PathtraceBase_fs.pxx Diff File
add - tests/v3d/raytrace/sample_ball_wood Diff File

master 552a74d8

2019-11-05 14:57:25

anv


Committer: bugmaster Details Diff
0030889: ACIS Import - Incorrect result reading SAT and SAB files

Adapting CR30932 fix for a GeomLib approximator.
mod - src/Approx/Approx_CurveOnSurface.cxx Diff File
mod - src/GeomLib/GeomLib.cxx Diff File
mod - src/GeomLib/GeomLib.hxx Diff File
mod - tests/bugs/iges/bug306 Diff File
mod - tests/de/iges_1/C8 Diff File
mod - tests/offset/simple/D03 Diff File

master e9d05765

2019-11-05 13:13:38

oan


Committer: bugmaster Details Diff
0031131: [REGRESSION] Mesh - location of Wire affects Poly_Polygon3D

Use TopoDS_Edge without location in case of free edges to produce Poly_Polygon3D without offset.
Affected Issues
0031131
mod - src/IMeshTools/IMeshTools_ShapeExplorer.cxx Diff File
add - tests/bugs/mesh/bug31131 Diff File

master 7756fc59

2019-11-04 14:49:07

oan


Committer: bugmaster Details Diff
0031125: BRepMesh_IncrementalMesh crash in constructor for empty compound shape
Added check for cases of empty shapes producing null models.
NoError status is returned as far as empty compounds are generally coorect shapes.
Affected Issues
0031125
mod - src/BRepMesh/BRepMesh_IncrementalMesh.cxx Diff File
add - tests/bugs/mesh/bug31125 Diff File

master b31fbc83

2019-11-02 08:10:47

abv


Committer: abv Details Diff
0031124: Configuration - linker errors when building with CLang on Windows

Standard_EXPORT is added in declaration of virtual methods where it was missing, to allow creation of sub-classes in other DLLs.
In some classes in OpenGl package Standard_EXPORT is added for all methods to make these classes usable in other DLLs.
Affected Issues
0031124
mod - src/AIS/AIS_FixRelation.hxx Diff File
rm - src/AIS/AIS_FixRelation.lxx Diff File
mod - src/AIS/AIS_IdenticRelation.hxx Diff File
rm - src/AIS/AIS_IdenticRelation.lxx Diff File
mod - src/AIS/FILES Diff File
mod - src/BRepExtrema/BRepExtrema_SelfIntersection.hxx Diff File
mod - src/BRepMesh/BRepMesh_DefaultRangeSplitter.hxx Diff File
mod - src/Graphic3d/Graphic3d_BvhCStructureSet.hxx Diff File
mod - src/Graphic3d/Graphic3d_BvhCStructureSetTrsfPers.hxx Diff File
mod - src/Graphic3d/Graphic3d_MediaTextureSet.hxx Diff File
mod - src/OpenGl/OpenGl_GraduatedTrihedron.hxx Diff File
mod - src/OpenGl/OpenGl_LayerList.hxx Diff File
mod - src/OpenGl/OpenGl_LineAttributes.hxx Diff File
mod - src/OpenGl/OpenGl_SceneGeometry.hxx Diff File
mod - src/OpenGl/OpenGl_StencilTest.hxx Diff File
mod - src/OpenGl/OpenGl_Structure.hxx Diff File
mod - src/OpenGl/OpenGl_StructureShadow.hxx Diff File
mod - src/RWObj/RWObj_CafReader.hxx Diff File
mod - src/SelectBasics/SelectBasics_SelectingVolumeManager.hxx Diff File
mod - src/SelectMgr/SelectMgr_SelectingVolumeManager.hxx Diff File
mod - src/SelectMgr/SelectMgr_SensitiveEntitySet.hxx Diff File

master 23c2ae55

2019-11-01 12:05:43

msv


Committer: jgv Details Diff
0031120: Memory leak in BRepOffsetAPI_MakeOffset

Add destructor of MAT2d_Mat2d - full removal of edges and bisectors.
Affected Issues
0031120
mod - src/MAT/MAT_ListOfBisector.hxx Diff File
mod - src/MAT/MAT_ListOfEdge.hxx Diff File
mod - src/MAT/MAT_TList.gxx Diff File
mod - src/MAT2d/MAT2d_Mat2d.cxx Diff File
mod - src/MAT2d/MAT2d_Mat2d.hxx Diff File
add - tests/bugs/modalg_7/bug31120 Diff File

master 6466cc9e

2019-10-31 12:57:25

vro


Committer: apn Details Diff
0031117: Visualization, AIS_ViewCube - additional properties for visualization of trihedron of a View Cube

AIS_ViewCube has been extended by additional properties (previously hard-coded):
- radius of axes of the trihedron
- radius of cones of the axes of the trihedron
- radius of a sphere (central point) of the trihedron

ViewerTest command vviewcube has been extended to support new parameters:
-axesradius, -axesconeradius, -axessphereradius.
mod - src/AIS/AIS_ViewCube.cxx Diff File
mod - src/AIS/AIS_ViewCube.hxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File

master f7fc0c03

2019-10-30 13:33:01

osa


Committer: apn Details Diff
0029367: Visualization - simplify interface of V3d_View and V3d_Viewer

The interface of V3d_View and V3d_Viewer has been simplified.
For the fields myDefinedViews, myActiveViews, myDefinedLights, myActiveLights were added appropriate methods returning the internal raw data.
Make the next methods deprecated:
IfMoreLights(), InitActiveLights(), MoreActiveLights(), NextActiveLights(), ActiveLight() and
InitActiveViews(), MoreActiveViews(), NextActiveViews(), ActiveView(), InitDefinedViews(), MoreDefinedViews(), NextDefinedViews(), DefinedView(),
InitActiveLights(), MoreActiveLights(), NextActiveLights(), ActiveLight(), InitDefinedLights(), MoreDefinedLights(), NextDefinedLights(), DefinedLight().

Remove deprecated methods added in scope of tasks 0029290 and 0028987 (Target Version 7.3.0):
SelectMgr_SelectableObject: Init(), More(), Next(), CurrentSelection().
SelectMgr_Selection: Init(), More(), Next(), Sensitive().
V3d_AmbientLight: one constructor.
V3d_DirectionalLight: two constructors.
V3d_PositionalLight: one constructor.
V3d_SpotLight: two constructors.
Affected Issues
0029367
mod - samples/mfc/standard/01_Geometry/src/GeomSources.cpp Diff File
mod - samples/mfc/standard/04_Viewer3d/src/TexturesExt_Presentation.cpp Diff File
mod - samples/mfc/standard/04_Viewer3d/src/Viewer3dDoc.cpp Diff File
mod - samples/mfc/standard/04_Viewer3d/src/Viewer3dView.cpp Diff File
mod - samples/mfc/standard/07_Triangulation/src/TriangulationDoc.cpp Diff File
mod - samples/mfc/standard/10_Convert/src/WNT/OCCDemoDoc.cpp Diff File
mod - samples/mfc/standard/Common/OCC_3dBaseDoc.cpp Diff File
mod - src/AIS/AIS_ColorScale.cxx Diff File
mod - src/SelectMgr/SelectMgr_SelectableObject.cxx Diff File
mod - src/SelectMgr/SelectMgr_SelectableObject.hxx Diff File
mod - src/SelectMgr/SelectMgr_Selection.cxx Diff File
mod - src/SelectMgr/SelectMgr_Selection.hxx Diff File
mod - src/V3d/V3d_AmbientLight.cxx Diff File
mod - src/V3d/V3d_AmbientLight.hxx Diff File
mod - src/V3d/V3d_DirectionalLight.cxx Diff File
mod - src/V3d/V3d_DirectionalLight.hxx Diff File
mod - src/V3d/V3d_PositionalLight.cxx Diff File
mod - src/V3d/V3d_PositionalLight.hxx Diff File
mod - src/V3d/V3d_PositionLight.cxx Diff File
mod - src/V3d/V3d_PositionLight.hxx Diff File
mod - src/V3d/V3d_SpotLight.cxx Diff File
mod - src/V3d/V3d_SpotLight.hxx Diff File
mod - src/V3d/V3d_View.hxx Diff File
mod - src/V3d/V3d_Viewer.hxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
mod - tools/View/View_Displayer.cxx Diff File

master f73592ed

2019-10-30 12:08:19

oan


Committer: smoskvin Details Diff
0028500: Artifact in shaded view of the shape

Increase minimum number of discretization points by one explicitly on each iteration of model healer to cover cases degenerated to line (for cases when face consists of 2 edges only).
Affected Issues
0028500
mod - src/BRepMesh/BRepMesh_CurveTessellator.cxx Diff File
mod - src/BRepMesh/BRepMesh_CurveTessellator.hxx Diff File
mod - src/BRepMesh/BRepMesh_EdgeDiscret.cxx Diff File
mod - src/BRepMesh/BRepMesh_EdgeDiscret.hxx Diff File
mod - src/BRepMesh/BRepMesh_ModelHealer.cxx Diff File
mod - tests/bugs/mesh/bug25044_12 Diff File
mod - tests/bugs/mesh/bug25044_13 Diff File
mod - tests/bugs/mesh/bug25044_60 Diff File
mod - tests/bugs/mesh/bug28500 Diff File
mod - tests/bugs/mesh/bug32692_1 Diff File
mod - tests/hlr/poly_hlr/bug23625_1 Diff File
mod - tests/hlr/poly_hlr/C3 Diff File

master da6b95a0

2019-10-29 08:04:53

oan

Details Diff
0031043: GCPnts_TangentialDeflection generates points which number is inconsistent with MinimumOfPoints Parameter

Updated crvtpoints command API to reproduce reported problem
Generate number of points according to the specified minimum value
Affected Issues
0031043
mod - src/GCPnts/GCPnts_TangentialDeflection.pxx Diff File
mod - src/GeometryTest/GeometryTest_CurveCommands.cxx Diff File
add - tests/bugs/modalg_7/bug31043 Diff File

master 53d770b3

2019-10-25 14:11:33

abv


Committer: apn Details Diff
0031092: Foundation Classes - incorrect last output value for Infinite progress indicator

DRAW implementation of progress indicator is corrected to print "finished" instead of 1e100 for the end of infinite range.
Added test bugs fclasses bug31092
Affected Issues
0031092
mod - src/Draw/Draw_ProgressIndicator.cxx Diff File
mod - src/QABugs/QABugs_11.cxx Diff File
add - tests/bugs/fclasses/bug31092 Diff File

master f4a7308f

2019-10-25 13:01:09

tiv


Committer: apn Details Diff
0030609: Coding - eliminate warnings issued by gcc 8.1.0

Warnings issued by gcc 8.1.0 are eliminated.

New Standard_WarningDisableFunctionCast.hxx header file is introduced to disable GCC warning "-Wcast-function-type" in those files *.cxx where it is issued. This warning is issued when the conversion from the pointer to one function type to the pointer to another function type takes places, it was added in gcc 8.1.0.

The function MyVISEDG in SWDRAW_ShapeAnalysis.cxx is removed as it does not seem to do anything useful and relevant DRAW command K_VISEDG is never used in tests.
Affected Issues
0030609
mod - src/BiTgte/BiTgte_Blend.cxx Diff File
mod - src/D3DHost/D3DHost_View.cxx Diff File
mod - src/Draw/Draw.cxx Diff File
mod - src/Draw/Draw_Window.cxx Diff File
mod - src/Message/Message_MsgFile.cxx Diff File
mod - src/OpenGl/OpenGl_Window.cxx Diff File
mod - src/OSD/OSD_Parallel.cxx Diff File
mod - src/OSD/OSD_SharedLibrary.cxx Diff File
mod - src/OSD/OSD_signal.cxx Diff File
mod - src/OSD/OSD_WNT.cxx Diff File
mod - src/Plugin/Plugin.cxx Diff File
mod - src/QABugs/QABugs_20.cxx Diff File
mod - src/Standard/FILES Diff File
add - src/Standard/Standard_WarningDisableFunctionCast.hxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeAnalysis.cxx Diff File

master 7ed6e985

2019-10-25 12:49:01

abv


Committer: apn Details Diff
0013175: XCAF document with one vertex is exported to an incorrect STEP file

Added non-regression test case
add - tests/bugs/xde/bug13175 Diff File

master 215dd331

2019-10-24 10:44:49

kgv


Committer: apn Details Diff
0031102: Visualization, AIS_ViewController - AIS_DragAction_Stop is never emitted on mouse unclick

AIS_ViewController::UpdateMousePosition() now sets myMouseStopDragOnUnclick flag
to emit AIS_DragAction_Stop on mouse unclick.
Affected Issues
0031102
mod - src/AIS/AIS_ViewController.cxx Diff File
mod - src/AIS/AIS_ViewController.hxx Diff File

master bf97419a

2019-10-21 10:50:10

jgv


Committer: bugmaster Details Diff
0030958: BRepOffsetAPI_ThruSections operation raises an exception while building history

Correct methods Build and Generated:
use BRepTools_WireExplorer instead of TopExp_Explorer or TopoDS_Iterator, for compatibility with previous computations.
Affected Issues
0030958
mod - src/BRepOffsetAPI/BRepOffsetAPI_ThruSections.cxx Diff File
mod - tests/bugs/modalg_4/bug22646 Diff File
add - tests/bugs/modalg_7/bug30958 Diff File

master 62beabff

2019-10-21 08:52:01

oan


Committer: bugmaster Details Diff
0025551: BRepMesh can produce internal nodes outside the face interior based on distorted BSpline surface

updated test script to see the difference on current version of OCCT
Affected Issues
0025551
mod - tests/bugs/mesh/bug25551 Diff File

master 8445efca

2019-10-20 11:53:13

kgv


Committer: apn Details Diff
0031082: Visualization - crash on display if there are no lights in the view

OpenGl_View - fixed uninitialized property myLights.
Affected Issues
0031082
mod - src/OpenGl/OpenGl_View.cxx Diff File

master 97e0059b

2019-10-20 11:13:46

kgv


Committer: apn Details Diff
0031088: Visualization - GL_INVALID_ENUM while dumping view within OpenGL 1.1

OpenGl_Sampler::resetGlobalTextureParams() - added missing version check before disabling GL_POINT_SPRITE.
Affected Issues
0031088
mod - src/OpenGl/OpenGl_Sampler.cxx Diff File
 First  Prev  1 2 3 ... 30 ... 48 49 50 51 52 53 54 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 254 255 256  Next  Last