occt.git
10 years ago0024304: Eliminate GCC compiler warning about exceeding maximum value for type in...
ski [Thu, 28 Nov 2013 14:10:25 +0000 (18:10 +0400)]
0024304: Eliminate GCC compiler warning about exceeding maximum value for type in case label

Methods OSD::Handler(), OSD::SegvHandler(), OSD::WntHandler() were made static
Type cast were removed when pointer on signal handler function is used
Enumeration OSD_Signal removed

10 years agoDeleting MSVC compiler warning in BRepBuilderAPI_Sewing.cxx(920) caused integration...
mkv [Fri, 29 Nov 2013 07:56:12 +0000 (11:56 +0400)]
Deleting MSVC compiler warning in BRepBuilderAPI_Sewing.cxx(920) caused integration of fix for 24390

10 years ago0023813: TKOpenGl, OpenGl_Texture ignores stride image property
kgv [Thu, 28 Nov 2013 09:55:52 +0000 (13:55 +0400)]
0023813: TKOpenGl, OpenGl_Texture ignores stride image property
Added test case tests/bugs/vis/bug23813

10 years ago0024336: Content of OCCT documentation should be updated. Iter 2
ysn [Thu, 28 Nov 2013 08:17:08 +0000 (12:17 +0400)]
0024336: Content of OCCT documentation should be updated. Iter 2

Minor corrections in documentation (dev guides)

Finalized brep_wp guide (by DLN); entirely removed non-PNG images to provide smooth PDF generation;  Restored cross-guide links in Technical overview; small improvements and editing in GIT guide.

Resized some images to better fit on PDF pages.

10 years ago0024008: ShapeAnalysis_Surface causes exception in Geom_OffsetSurface
gka [Thu, 28 Nov 2013 08:13:15 +0000 (12:13 +0400)]
0024008: ShapeAnalysis_Surface causes exception in Geom_OffsetSurface

Refactoring on current master fix for bug 0024008: ShapeAnalysis_Surface causes exception in Geom_OffsetSurface.
And modified test scripts in order to avoid report regressions
Test cases for issue CR24008

10 years ago0024399: ICC warnings 3280 "declaration hides..."
ski [Tue, 26 Nov 2013 14:17:10 +0000 (18:17 +0400)]
0024399: ICC warnings 3280 "declaration hides..."

Renamed local variables to avoid ICC compiler warnings about repeated names

10 years ago0024396: "vselmode" - disable auto loading of objects into Local Context
apl [Thu, 28 Nov 2013 07:32:53 +0000 (11:32 +0400)]
0024396: "vselmode" - disable auto loading of objects into Local Context

Corrected DRAWEXE "vselmode" command.
Added test case.

corrected test cases

- 24293 failed due to initialization view without "name".
- 24374 adjusted, the test case was initially incorrect.

Modified test cases bugs/vis/bug24293 and bugs/vis/bug24374

10 years ago0024398: Output of extrema draw-command has various format on optimise and debug...
aml [Thu, 28 Nov 2013 07:25:41 +0000 (11:25 +0400)]
0024398: Output of extrema draw-command has various format on optimise and debug modes

Fixed creation of extrema curve in debug mode.
Deleted space between ";" and "V" in debug output to make "llength" DRAW funcion work correctly in debug mode.
Deleted TODOs in tests/bugs/modalg_5/bug24327
Deleted TODOs in test cases with improvement in extrema output. Increased cpulimit in de, boolean and perf.

10 years ago0024383: Access violation during STEP file import
gka [Thu, 28 Nov 2013 07:19:34 +0000 (11:19 +0400)]
0024383: Access violation during STEP file import

Protection for null magnitude of vector written in file was added.

Test cases for issue CR24383

10 years ago0024180: Eliminate CLang / GCC compiler warning -Wswitch
ski [Thu, 28 Nov 2013 07:13:41 +0000 (11:13 +0400)]
0024180: Eliminate CLang / GCC compiler warning -Wswitch

Eliminated warnings -Wswitch shown by gcc
Eliminated two new warnings about wrong initialization order
Eliminated warnings about unused functions.
A few more ICC warnings (type conversions) fixed

10 years ago0024400: Wrong result obtained by Section
pdn [Thu, 28 Nov 2013 07:10:10 +0000 (11:10 +0400)]
0024400: Wrong result obtained by Section

Changes:
class IntTools_FaceFace
- static function:
void CorrectSurfaceBoundaries(const TopoDS_Face&  theFace,
       const Standard_Real theTolerance,
       Standard_Real&      theumin,
       Standard_Real&      theumax,
       Standard_Real&      thevmin,
       Standard_Real&      thevmax)

Remove unnecessary broadening of UV-bounds for the faces based on the sperical surfaces.

Test case for issue CR24400

10 years ago0024385: Shape fix shape does not correct closed flag for shell
pdn [Thu, 28 Nov 2013 06:45:18 +0000 (10:45 +0400)]
0024385: Shape fix shape does not correct closed flag for shell

Modified test cases de/step_4/C9 and de/step_4/D1 regarding to new reference data

10 years ago0024380: OSD_MAllocHook - Improvement of malloc hook to follow maximal peack size
pdn [Fri, 22 Nov 2013 09:07:17 +0000 (13:07 +0400)]
0024380: OSD_MAllocHook - Improvement of malloc hook to follow maximal peack size

10 years ago0024392: TKService, Image_PixMap - use bottom-up image data storage by default
kgv [Fri, 22 Nov 2013 02:54:16 +0000 (06:54 +0400)]
0024392: TKService, Image_PixMap - use bottom-up image data storage by default

10 years ago0023708: The correct shape is interpreted as invalid
pdn [Thu, 28 Nov 2013 06:35:31 +0000 (10:35 +0400)]
0023708: The correct shape is interpreted as invalid

Added test case bugs/modalg_5/bug23708
Improvements in test case de/step_3/B8 (problem in second TODO is not reproduced)
Modified test case de/iges_2/H1 regarding to new reference data

10 years ago0024390: Sewing produces the result with huge tolerance
gka [Thu, 28 Nov 2013 06:30:32 +0000 (10:30 +0400)]
0024390: Sewing produces the result with huge tolerance

Test cases for issue CR24390

10 years agoCorrection test cases for adequate behavior for platforms with OpenCL
bugmaster [Fri, 22 Nov 2013 10:49:51 +0000 (14:49 +0400)]
Correction test cases for adequate behavior for platforms with OpenCL

10 years agoAdjusting testing cases
apn [Fri, 22 Nov 2013 10:08:40 +0000 (14:08 +0400)]
Adjusting testing cases

boolean bsection M9 N5
Adjusting test cases in DEBUG mode to current state of master (increase cpulimit and modified TODOs)

bugs modalg_5 bug24327
Added TODO in test case to avoid regression in DEBUG mode caused by integration of 24327

perf bop builface
Increase cpulimit of test case (problem in DEBUG mode)

10 years agoCorrection of test cases due to fix for issue 24130
apn [Fri, 22 Nov 2013 08:49:09 +0000 (12:49 +0400)]
Correction of test cases due to fix for issue 24130

10 years agoCorrection of testing case for issue 24374
bugmaster [Thu, 21 Nov 2013 13:37:12 +0000 (17:37 +0400)]
Correction of testing case for issue 24374

10 years ago0024374: Flipping affects highlight presentation of dimension. Model-view matrix...
aba [Thu, 21 Nov 2013 13:34:24 +0000 (17:34 +0400)]
0024374: Flipping affects highlight presentation of dimension. Model-view matrix restoring in immediate mode was added in OpenGl_Flipper::Render() method. Test case was added.

10 years ago0024351: Test cases for AIS dimension presentations to check arrow orientation, text...
apl [Thu, 21 Nov 2013 13:30:06 +0000 (17:30 +0400)]
0024351: Test cases for AIS dimension presentations to check arrow orientation, text position

- Added test cases to check label and arrows positioning of AIS length, angle, radius, diameter dimensions;
- Added new arguments to "vdim" command to modify "flyout", "arrow orientation", "label position" properties;
- Corrected bug: duplication of text label of linear dimensions for the horizontal-centered text.
- Rename and revise argument interface of "vdimension" (vdim) command.
- Correct test cases for new command name and arguments style.

corrected test cases - check with testdiff instead of "checkcolor"

10 years ago0024326: Get rid of confusing extension line
apl [Thu, 21 Nov 2013 13:27:33 +0000 (17:27 +0400)]
0024326: Get rid of confusing extension line

1) Removed confusing part of labeled extension for 3d text.
2) Removed unused "TextOffset" property of AIS_Dimension class, revised function of "ExtensionSize" property.
3) Added options to specify automatic or user-defined arrow orientation and value label positioning to dimension aspect enumerations.
4) Use proper naming: Prs3d_DimensionTextVerticalPosition, Prs3d_DimensionTextHorizontalPosition instead of Prs3d_HorizontalTextAlignment, Prs3d_VerticalTextAlignment.
Correction of label length computing method.

10 years ago0024288: Provide flipping text for AIS_Dimensions
aba [Thu, 21 Nov 2013 13:24:09 +0000 (17:24 +0400)]
0024288: Provide flipping text for AIS_Dimensions

  - OpenGl_Flipper class added to provide text flipping.
  - Added Graphic3d_Mat4, OpenGl_Mat4 definitions for use with TKOpenGl matrix types.
  - Added flipping parameters for dimensions with 3D text labels at AIS_Dimension class.
  - Test cases.

10 years ago0024293: Dimension extensions don't belong to the dimension sensitive entity: compute...
aba [Thu, 14 Nov 2013 12:32:40 +0000 (16:32 +0400)]
0024293: Dimension extensions don't belong to the dimension sensitive entity: computeFlyoutSelection() method was added in AIS_Dimension and  AIS_AngleDimension classes.

10 years ago0024386: Provide high-level API to specify font by user-defined path for AIS (Prs3d...
kgv [Wed, 20 Nov 2013 09:40:36 +0000 (13:40 +0400)]
0024386: Provide high-level API to specify font by user-defined path for AIS (Prs3d) aspects

Add new command vfont to access font manager.

10 years ago0024384: Wrong result obtained by Fuse
pkv [Wed, 20 Nov 2013 09:41:36 +0000 (13:41 +0400)]
0024384: Wrong result obtained by Fuse

Changes:
1. class BOPTools
   - method:
void BOPTools_AlgoTools::MakeVertex(BOPCol_ListOfShape& aLV,
                                                              TopoDS_Vertex& aVnew)
The function fsqrt that calculates the square root of a real number
has been replaced by the standard sqrt.

2. class BOPAlgo_WireSplitter
- static function:
Standard_Real Angle2D (const TopoDS_Vertex& aV,
                         const TopoDS_Edge& anEdge,
                         const TopoDS_Face& myFace,
                         const GeomAdaptor_Surface& aGAS,
                         const Standard_Boolean aFlag)
The value parametric deltas for computations of 2D-angles
have been changed for Bezier, B-Spline 2D-curves.

10 years ago0024360: Hang up trying to intersect two faces
jgv [Thu, 21 Nov 2013 11:11:49 +0000 (15:11 +0400)]
0024360: Hang up trying to intersect two faces

Added test case bugs/modalg_5/bug24360

10 years ago0024339: Vectors not displayed correctly in MFC samples [6.7.0 Beta]: ISession_Direct...
aba [Thu, 21 Nov 2013 11:03:55 +0000 (15:03 +0400)]
0024339: Vectors not displayed correctly in MFC samples [6.7.0 Beta]: ISession_Direction classes were rewritten without using of DsgPrs_LengthPresentation class.

Corrections to support old results in geometry samples: added ISession_Direction::SetLineAspect(); ISession_Direction class in Modeling sample was corrected.

10 years ago0024263: TNaming_CopyShape::CopyTool failure
skv [Thu, 21 Nov 2013 10:58:03 +0000 (14:58 +0400)]
0024263: TNaming_CopyShape::CopyTool failure

Test case for issue CR24263

10 years ago0024321: Use List collection instead of NCollection_Set for collection of Handle...
apl [Mon, 18 Nov 2013 17:48:50 +0000 (21:48 +0400)]
0024321: Use List collection instead of NCollection_Set for collection of Handle(Graphic3d_ClipPlane)

- The NCollection_Sequence (Graphic3d_SequenceOfHClipPlane) is used for handling ordered lists of clipping planes instead of NCollection_Set (Graphic3d_SetOfHClipPlane).

10 years ago0024377: [Regression-like] OCC 6.7.0 beta contaminates log with more unnecessary...
nbv [Tue, 19 Nov 2013 08:06:09 +0000 (12:06 +0400)]
0024377: [Regression-like] OCC 6.7.0 beta contaminates log with more unnecessary debug symbols

These "DEBUG outputs" are replace with analogically comments.

10 years ago0024375: Exception in IntAna on touching circles
pdn [Thu, 21 Nov 2013 10:13:29 +0000 (14:13 +0400)]
0024375: Exception in IntAna on touching circles
Test case for issue CR24375

10 years ago0024327: Wrong result obtained by Exterma Curve/Curve
aml [Thu, 21 Nov 2013 09:47:46 +0000 (13:47 +0400)]
0024327: Wrong result obtained by Exterma Curve/Curve
Increased number of nodes  in Extrema_CurveCache::Extrema_CurveCache.
Test case for issue CR24327

10 years ago0024355: Compiler Warning level 4 for MFC samples
ibs [Thu, 21 Nov 2013 09:44:27 +0000 (13:44 +0400)]
0024355: Compiler Warning level 4 for MFC samples

Some warnings were removed from MFC samples
All warnings of sample projects with warning level 4 were fixed on VC9
Warnings level increased to -W4 in projects of MFC samples; sample ReadMe files added to documentation
Changes in Viewer2dDoc.cpp and OcafDoc.cpp were restored.
Minor corrections in documentation

10 years ago0024315: Use delayed release of resources in OpenGl aspects for consistency
apl [Mon, 18 Nov 2013 16:38:26 +0000 (20:38 +0400)]
0024315: Use delayed release of resources in OpenGl aspects for consistency

- Do delayed release of face texture resource of OpenGl_AspectFace, point sprite texture of OpenGl_AspectMarker

10 years ago0024328: Revolution of a wire generates two interfered faces.
emv [Thu, 21 Nov 2013 09:33:12 +0000 (13:33 +0400)]
0024328: Revolution of a wire generates two interfered faces.
Correct treatment of cones with collinear axes.

Test case for issue CR24328

10 years ago0024353: TKOpenGl - crash in IsRaytracedStructure when clearing mutli-connected prese...
kgv [Thu, 21 Nov 2013 09:29:08 +0000 (13:29 +0400)]
0024353: TKOpenGl - crash in IsRaytracedStructure when clearing mutli-connected presentation

Correction of test cases for issue CR24353

10 years ago0024336: Content of OCCT documentation should be updated. Iter 2
ysn [Thu, 21 Nov 2013 09:04:37 +0000 (13:04 +0400)]
0024336: Content of OCCT documentation should be updated. Iter 2
CDL guide finalized.
Brep WP added
Added white-papers and 2 dev guides in the generated documentation structure.
White-papers + 2 developer guides + Draw UG finalized.
Visualization guide finalized.
Fixes for bugs 24205, 23737 and 24021

10 years ago0024346: Documentation - provide Coding Rules document
kgv [Tue, 19 Nov 2013 10:13:50 +0000 (14:13 +0400)]
0024346: Documentation - provide Coding Rules document

Keep doxygen comments within code blocks (disable STRIP_CODE_COMMENTS).

10 years agoUpdate type of files
bugmaster [Thu, 14 Nov 2013 17:19:34 +0000 (21:19 +0400)]
Update type of files

10 years ago0024336: Content of OCCT documentation should be updated. Iter 2
ysn [Thu, 14 Nov 2013 07:47:14 +0000 (11:47 +0400)]
0024336: Content of OCCT documentation should be updated. Iter 2
Finalized STEP and IGES

10 years ago0024290: BOP Section produces incorrect result.
emv [Thu, 14 Nov 2013 11:03:06 +0000 (15:03 +0400)]
0024290: BOP Section produces incorrect result.

Smaller coefficients are used for shrunk range definition for the edge with big tolerance value of its vertices.
Test cases for issue CR24290

10 years agoMinor corrections:
ibs [Thu, 14 Nov 2013 12:31:30 +0000 (16:31 +0400)]
Minor corrections:

- CMakeLists.txt: installation of TclTk fixed so that tests can be run
- StdPrs: compiler warning introduced by fix on #23474 corrected
- Documentation: description of insertion of images into markdown document corrected

10 years ago0023874: Converting OCCT MFC samples to CMake build system.
ibs [Mon, 11 Nov 2013 13:00:07 +0000 (17:00 +0400)]
0023874: Converting OCCT MFC samples to CMake build system.

CMake meta-projects for samples were added
launch script for samples was added
unrelated changes: CSF_GraphicShr variable were removed
occt building with cmake article was updated

10 years ago0024331: CMake scripts improvements
ibs [Fri, 8 Nov 2013 06:56:55 +0000 (10:56 +0400)]
0024331: CMake scripts improvements

prefix '3RDPARTY' from variables that trigger use of 3rd-party products removed
help strings associated with CMake variables revised
identification of Tcl8.6 libraries enables
invariable cmake files moved from wok to adm/templates folder
RELWITHDEBINFO build configuration added
BUILD_TYPE variable was renamed in BUILD_CONFIGURATION
copy just TObj/TObj.msg instead of TObj folder

Option /fp:precise for Visual Studio projects set

Update of documentation for building with CMake; three warnings appeared in VS projects built by CMake corrected

10 years ago0024345: TKOpenGl - GLSL compatibility issues on NV40 (GeForce 6xxx/7xxx)
kgv [Wed, 13 Nov 2013 18:01:45 +0000 (22:01 +0400)]
0024345: TKOpenGl - GLSL compatibility issues on NV40 (GeForce 6xxx/7xxx)

Iterate through maximum light sources in Fragment shader instead of active lights

10 years ago0024350: TKOpenGl - non-physical materials are ignored by GLSL program manager
kgv [Wed, 13 Nov 2013 17:44:24 +0000 (21:44 +0400)]
0024350: TKOpenGl - non-physical materials are ignored by GLSL program manager

GLSL and Ray Tracing - take into account non-physical materials.
Move Ray Tracing test cases to v3d/raytrace grid.

10 years ago0024348: TKOpenGl - the same GLSL program can not be re-assigned
kgv [Wed, 13 Nov 2013 17:04:52 +0000 (21:04 +0400)]
0024348: TKOpenGl - the same GLSL program can not be re-assigned

Reset shader id in OpenGl aspects.
Setup/retrieve shader program within getters/setters of Graphic3d_Group/Graphic3d_Structure (add missing ones).

10 years ago0024344: TKOpenGl - only front side is lighted within Phong GLSL program
apl [Wed, 13 Nov 2013 17:09:55 +0000 (21:09 +0400)]
0024344: TKOpenGl - only front side is lighted within Phong GLSL program

10 years ago0024322: TKOpenGl - light sources management inconsistency
duv [Wed, 13 Nov 2013 17:07:32 +0000 (21:07 +0400)]
0024322: TKOpenGl - light sources management inconsistency

Fixed pipeline - accumulate all ambient light sources.

Fix clearing of all light sources.

10 years ago0024341: Document building OpenCL ICD Loader package
abv [Thu, 14 Nov 2013 08:47:01 +0000 (12:47 +0400)]
0024341: Document building OpenCL ICD Loader package

- Building OpenCL ICD Loader documented; Acknowledgments section of Overview updated to mention also OpenGL and OpenCL
- Reference to OpenCL updated in Overview: use general statement instead of direct link to AMD SDK.
- GeForce 610, 6600, and Radeon HD 7870 added to list of tested graphic cards
- Minor syntax corrections in DRAW UG to avoid interferences
- Update 3rdparty products up to current state
- Redesign of pages
- Building OpenCL ICD Loader was documented for Linux platform
- Lists reformatted, documentation manual updated to better describe use of lists.
- Updating picture of structure of installed OCCT
- Updating description of Automake procedure
- Updating description of  CMake building procedure

10 years ago0024305: New option in BRepOffsetAPI_MakePipeShell algorithm: the swept shell with...
jgv [Thu, 14 Nov 2013 08:37:05 +0000 (12:37 +0400)]
0024305: New option in BRepOffsetAPI_MakePipeShell algorithm: the swept shell with varying width of section bounded by auxiliary spine

Test case for issue CR24305

10 years ago0024352: Add Shaders directory to OCCT resources
dbp [Wed, 13 Nov 2013 08:36:42 +0000 (12:36 +0400)]
0024352: Add Shaders directory to OCCT resources

10 years ago0024329: Ambiguous graphic cards list in software/hardware requirements
abv [Sat, 9 Nov 2013 06:32:34 +0000 (10:32 +0400)]
0024329: Ambiguous graphic cards list in software/hardware requirements

Section Requirements in Overview refactored to have explicit list of graphic cards tested with OCCT. The first version of the list provided; to be completed.

10 years ago0024330: Generate Overview documentation in CHM format
ibs [Thu, 14 Nov 2013 08:19:15 +0000 (12:19 +0400)]
0024330: Generate Overview documentation in CHM format

chm format (with formulas) of documentation introduced
overview.chm generated directly in doc folder

10 years ago0024197: Viewer3d.exe is saved to the wrong directory
Pawel [Fri, 20 Sep 2013 13:33:42 +0000 (15:33 +0200)]
0024197: Viewer3d.exe is saved to the wrong directory
Output directory corrected.

10 years ago0024343: AIS_DisplayStatus - outdated description
dbv [Mon, 11 Nov 2013 10:59:45 +0000 (14:59 +0400)]
0024343: AIS_DisplayStatus - outdated description
Documentation fix

10 years ago0024303: Precision degradation for Geom2dGcc_Circ2d2TanRad in OCCT6.6.0.
nbv [Thu, 14 Nov 2013 07:11:29 +0000 (11:11 +0400)]
0024303: Precision degradation for Geom2dGcc_Circ2d2TanRad in OCCT6.6.0.

1. DRAW-command.
2. Initial point (the center of found circle), which is found by standard algorithm, is precised in function PrecRoot(...). Correction is called, if and only if initial point is in tangent zone.
3. Handling of possible divergences and of possible exceptions in PrecRoot() function is added.

Test cases for issue CR24303

10 years ago0024275: Cppcheck warnings on uninitialized class members
ski [Thu, 14 Nov 2013 07:08:41 +0000 (11:08 +0400)]
0024275: Cppcheck warnings on uninitialized class members
Removed warning of cppcheck on uninitialized class members for non-array cases
New additional compilation warnings on Windows platform from file OSD_Path.cxx were fixed
Warnings about wrong initialization removed

10 years ago0024337: Draw Harness - relax vinit syntax
kgv [Fri, 8 Nov 2013 12:22:56 +0000 (16:22 +0400)]
0024337: Draw Harness - relax vinit syntax

Support "vinit name w=512 h=512" syntax

10 years ago0024268: Wrong triangulation on the boundaries of the cones
aml [Thu, 14 Nov 2013 07:01:09 +0000 (11:01 +0400)]
0024268: Wrong triangulation on the boundaries of the cones
Added check for cone singularity point, modified isoline checks, deleted check along U and V in GeomLib::NormEstim.
Correction in sign in GeomLib::NormEstim.

10 years ago0023474: Changing material/color/transparency of a shaded AIS_Shape requires 'Redisplay'
Pawel [Tue, 16 Oct 2012 10:42:13 +0000 (12:42 +0200)]
0023474: Changing material/color/transparency of a shaded AIS_Shape requires 'Redisplay'

Getting the current group instead of creating new one. Otherwise the necessary aspect information is lost.

10 years agodocumentation updated V6_7_0_beta
ibs [Thu, 7 Nov 2013 09:06:49 +0000 (13:06 +0400)]
documentation updated

unrelated changes: Unused unit OpenCL removed from UDLIST

All articles revised
README revised
comments are allowed in FILES.txt

Add gendoc.sh for Linux
Added option -s to set search engine of the HTML documents
Added 3rdparty_building docs for different platforms

help message removed from bat&sh scripts (left within tcl script)
tableofcontents added for all huge articles;
gendoc.bat doesn't change PATH variable
jpgs converted to pngs and unused pngs removed
logo displaying of pdf files fixed
Automatic detection of OCCT version number added to occtdoc.tcl
OCCT version within pdfs is got from Standard_Version.hxx; copyright changed
pdf generation process removes latex dir now
GIF images converted to PNG in technical_overview;
references fixed (incorrect reference to wok and cdl didn't touch; redundant latex option removed

Tutorial moved from Overview and made top level page
LICENSE.md moved from dox/overview to dox folder

Section related to OCCT building refactored and simplified.
WOK and CDL explicitly declared as deprecated.

10 years agoUpdate testing cases due to changes of issue 24130
bugmaster [Wed, 6 Nov 2013 06:41:38 +0000 (10:41 +0400)]
Update testing cases due to changes of issue 24130

10 years ago0024316: Make building with different versions of Tcl easier
abv [Tue, 5 Nov 2013 05:48:27 +0000 (09:48 +0400)]
0024316: Make building with different versions of Tcl easier

On Windows with MSVC Tcl library is linked using #pragma statement instead of using project properties, to allow easy switch between Tcl versions. In gendoc.bat, tclsh.exe is called instead of tclsh86.exe, to avoid dependency on hard-coded Tcl version.

Tcl-dependent code (unused functions) removed from QABugs package.

10 years agoRay tracing activated in bottle sample if available; test bugs vis bug21753 added
abv [Tue, 5 Nov 2013 05:21:40 +0000 (09:21 +0400)]
Ray tracing activated in bottle sample if available; test bugs vis bug21753 added

10 years ago0024310: TKOpenGl - GLSL compatibility issues
kgv [Mon, 4 Nov 2013 00:42:44 +0000 (04:42 +0400)]
0024310: TKOpenGl - GLSL compatibility issues

Lights defintion clean up:
- remove duplicated enumeration TLightType (equals to Visual3d_TypeOfLightSource)
- remove unused fields from Graphic3d_CLight
- OpenGl_Light, reuse Graphic3d_CLight definition

Phong GLSL program:
- move out cumulative ambient light intencity from limited list of lights
- compatibility issues, replace array of structures (light sources, materials, clipping planes) with arrays of primitive types

New Draw Harness command vlight to alter light sources definition.

OpenGl_ShaderProgram::Initialize() - add missing Linker log

10 years agoTest bugs vis bug24130 should be OK when OpenCL is present, corrected
abv [Mon, 4 Nov 2013 18:09:16 +0000 (22:09 +0400)]
Test bugs vis bug24130 should be OK when OpenCL is present, corrected

10 years agoDraw_Window - workaround broken Tk.framework installations in OS X SDKs
kgv [Sat, 2 Nov 2013 15:09:03 +0000 (19:09 +0400)]
Draw_Window - workaround broken Tk.framework installations in OS X SDKs

10 years ago0024312: Compilation issues on OS X 10.9 Maverics SDK
kgv [Sat, 2 Nov 2013 14:51:57 +0000 (18:51 +0400)]
0024312: Compilation issues on OS X 10.9 Maverics SDK

Update glext.h. Fix compiler errors.

10 years ago0024289: Linkage issue on TKViewerTest when built from cbp projects
kgv [Sat, 2 Nov 2013 14:50:30 +0000 (18:50 +0400)]
0024289: Linkage issue on TKViewerTest when built from cbp projects

10 years ago0024311: TKOpenGl - desappeared 2D dimension text
kgv [Sat, 2 Nov 2013 14:18:45 +0000 (18:18 +0400)]
0024311: TKOpenGl - desappeared 2D dimension text

OpenGl_Text - correct stecil buffer filling

10 years ago0024309: TKOpenGl - Delay release of GLSL resources
kgv [Fri, 1 Nov 2013 17:33:17 +0000 (21:33 +0400)]
0024309: TKOpenGl - Delay release of GLSL resources

10 years agoRenaming overview folder
bugmaster [Fri, 1 Nov 2013 13:16:16 +0000 (17:16 +0400)]
Renaming overview folder

10 years agoUpdate source files of documentation
bugmaster [Fri, 1 Nov 2013 13:13:56 +0000 (17:13 +0400)]
Update source files of documentation

10 years ago0024269: Content of occt documentation should be formated
ysn [Fri, 1 Nov 2013 12:47:47 +0000 (16:47 +0400)]
0024269: Content of occt documentation should be formated

building subsection introduced; wok moved to dev guides section;
Requirements and Installation sections were interchanged;
some Unicode characters removed from .md files; \DeclareUnicodeCharacter{00A0}{ } instruction added into refman file
images insertion rolled back to dual html,latex insertion; mainpage now is processed (index.tex);
surplus part of overview has been removed
foundation_classes.md and technical_overview.md updated;
Reviewed step, tobj, xde and partly iges; Corrections in other guides.
Overview installation and requirements changes updated

10 years agoUpdate OCCT version up to 6.7.0 beta
bugmaster [Fri, 1 Nov 2013 12:15:11 +0000 (16:15 +0400)]
Update OCCT version up to 6.7.0 beta

10 years agoViewerTest - do not require HAVE_OPENCL for ray-tracing commands
kgv [Fri, 1 Nov 2013 11:08:31 +0000 (15:08 +0400)]
ViewerTest - do not require HAVE_OPENCL for ray-tracing commands

Add OpenCL info to dversion command

10 years ago0024250: TKOpenGl - per-pixel lighting using GLSL program (Phong shading)
kgv [Fri, 1 Nov 2013 09:52:19 +0000 (13:52 +0400)]
0024250: TKOpenGl - per-pixel lighting using GLSL program (Phong shading)

10 years agoSamples update
kgv [Fri, 1 Nov 2013 08:49:21 +0000 (12:49 +0400)]
Samples update

10 years agoOpenGl_Workspace_Raytrace.cxx - include OpenGl_Cl.hxx first
kgv [Fri, 1 Nov 2013 06:03:05 +0000 (10:03 +0400)]
OpenGl_Workspace_Raytrace.cxx - include OpenGl_Cl.hxx first

10 years ago0024298: Eliminate GCC compiler warning about unused in linux functions
ski [Fri, 1 Nov 2013 09:32:12 +0000 (13:32 +0400)]
0024298: Eliminate GCC compiler warning about unused in linux functions

Eliminated GCC compiler warning about functions for Win platform only.
Illegal function definitions were fixed.

10 years agoUpdate VoxelDemo sample due to changes of issue 0024147
bugmaster [Fri, 1 Nov 2013 06:46:27 +0000 (10:46 +0400)]
Update VoxelDemo sample due to changes of issue 0024147

10 years ago0024223: Review of unstable test cases
apn [Fri, 1 Nov 2013 06:19:23 +0000 (10:19 +0400)]
0024223: Review of unstable test cases

Modified TODOs in unstable test cases

10 years agoUpdate Animation sample due to changes of 0024267.
bugmaster [Fri, 1 Nov 2013 06:13:07 +0000 (10:13 +0400)]
Update Animation sample due to changes of 0024267.

10 years ago0024292: Testing parallelization of BO
ifv [Fri, 1 Nov 2013 06:06:31 +0000 (10:06 +0400)]
0024292: Testing parallelization of BO

Small correction of test case for issue CR24292

10 years ago0024286: Wrong result done by General Fuse algorithm.
emv [Thu, 31 Oct 2013 13:25:02 +0000 (17:25 +0400)]
0024286: Wrong result done by General Fuse algorithm.

1. Instead of the tolerance value of the face the resolution of the surface of the face is used in
   the Face Classifier algorithm to define the state of the 2d point relative to that face.
2. Replace the vertices involved in PostTreatFF (treatment of section edges) with their images
   (new vertices created in PostTreatFF) in all pave blocks.
3. New value of the result in the test case boolean bsection L8.

Test cases for issue CR24286

10 years ago0024133: Development of improvement of dimensions implementation; new length, radius...
aba [Thu, 31 Oct 2013 12:49:38 +0000 (16:49 +0400)]
0024133: Development of improvement of dimensions implementation; new length, radius,diameter and angle dimensions.

Some corrections; test cases were added; coding standards in MFC samples & presentations
Request stencil buffer for Linux.
correct test cases; correct compilation errors
compilation warnings (gcc/Linux)

10 years ago0024153: Adding OpenCL to OCCT prerequisites
ibs [Thu, 31 Oct 2013 11:43:38 +0000 (15:43 +0400)]
0024153: Adding OpenCL to OCCT prerequisites

OpenCL is supported by CMake OCCT solution
3rdparty directory is changed to <occt root>
3rdparty seeking in additional places if 3rdparty dir isn't defined

10 years ago0024130: Implementing ray tracing visualization core
dbp [Thu, 31 Oct 2013 11:35:18 +0000 (15:35 +0400)]
0024130: Implementing ray tracing visualization core

The purpose of this functionality is to bring a basic ray-tracing solution to existing OCCT visualization toolkit (TKOpenGL).
Currently ray-tracing visualization core supports sharp shadows, specular reflections, transparency and adaptive anti-aliasing.
However, the basis for all ray-tracing algorithms is versatile, allowing you to add new ray-tracing features easily (such as ambient occlusion).
All ray-tracing computations are performed on the GPU using OpenCL framework, allowing real-time rendering performance.

It is important to note, that real-time ray-tracing is possible using high-performance GPUs with support of OpenCL 1.1 and higher (such as NVIDIA GeForce 660 or ATI/AMD Radeon 7850).
When using low-end GPUs (such as NVIDIA GeForce 640) the ray-tracing performance may slow down significantly.
Therefore, even with NVIDIA GeForce 640 you can render scenes with the millions of triangles. The support of OpenCL-enabled CPUs and integrated graphics cards is not guaranteed.

10 years ago0024234: occt master is not compiled by VC++ 2005 (vc8 32/64 bit TKBO)
abv [Wed, 30 Oct 2013 20:44:20 +0000 (00:44 +0400)]
0024234: occt master is not compiled by VC++ 2005 (vc8 32/64 bit TKBO)

Fixed building by VS 2005 and VS 2013 (Express):
- macro _WIN32_WINNT defined in BOPCol_TBB.hxx for building with TBB on VS 2005
- compiler warnings specific for VS 2005 (vc8) fixed (explicit casts added in assignment expressions involving small integer types)
- definition of functions atanh, acosh, asinh is avoided for vc12 and later (they are provided by CRT in vc12)
- math constants (M_PI and similar) are defined by including math.h rather than by custom code
- misuse of stream operator << fixed in a few places

10 years ago0024300: Remove unused class MMgt_StackManager
abv [Wed, 30 Oct 2013 13:16:51 +0000 (17:16 +0400)]
0024300: Remove unused class MMgt_StackManager

10 years ago0024280: Documentation of TObj_Model::GetFile() is incorrect
kgv [Fri, 25 Oct 2013 05:17:26 +0000 (09:17 +0400)]
0024280: Documentation of TObj_Model::GetFile() is incorrect

Do not throw exception when model was not stored yet

10 years ago0024277: DRAW command that shows coordinates of a vertex
ibs [Thu, 31 Oct 2013 09:52:27 +0000 (13:52 +0400)]
0024277: DRAW command that shows coordinates of a vertex

"getcoords" command added

"getcoords" moved to BRepTest/BRepTest_BasicCommands

10 years ago0024297: OpenGl_Texture::Release() might call OpenGL functions without active context
kgv [Tue, 29 Oct 2013 10:10:28 +0000 (14:10 +0400)]
0024297: OpenGl_Texture::Release() might call OpenGL functions without active context

Add check to Release() method of OpenGl_Texture, OpenGl_ShaderObject, OpenGl_ShaderProgram

10 years ago0024295: vclose behavior is inconsistent
kgv [Thu, 31 Oct 2013 09:46:12 +0000 (13:46 +0400)]
0024295: vclose behavior is inconsistent

Process vclose on active view when executed without arguments
Fix trivial warning

10 years ago0024294: Access violation in AIS_InteractiveContext::MoveTo()
kgv [Mon, 28 Oct 2013 12:25:28 +0000 (16:25 +0400)]
0024294: Access violation in AIS_InteractiveContext::MoveTo()

10 years ago0024284: Some trivial warnings produced by ICC 14
abv [Thu, 24 Oct 2013 05:22:29 +0000 (09:22 +0400)]
0024284: Some trivial warnings produced by ICC 14

Eliminated ICC 14 warnings:
# 82: storage class is not first (e.g. "int static f()"
# 2621: attribute "dllexport" does not apply here (e.g. "Standard_EXPORT typedef int qqint;")
# 2415: variable "..." of static storage duration was declared but never referenced
# 111: statement is unreachable (usually "break" after "return" in cycles)

10 years ago0024282: Shaded presentation is not computed due to exception in StdPrs_ToolShadedSha...
kgv [Thu, 31 Oct 2013 09:28:33 +0000 (13:28 +0400)]
0024282: Shaded presentation is not computed due to exception in StdPrs_ToolShadedShape::Normal()

Fix gp_Dir initialization with zero modulus
StdPrs_ToolShadedShape::Normal() - reduce code duplication
Test cases for issue CR24282