DiscussionsIssue archiveOCCT:Visualization

Archived issue #0025611

Displaying 'zbufftrihedron' interferes with 'graduatedtrihedron'

CommunityOCCT:Visualizationclosed32 public notes

Search issues

Description

The visualization of 'graduatedtrihedron' is incorrect (missing/incorrect position of grid lines) after showing 'zbufftrihedron'. See attached pictures.

Steps to reproduce

pload ALL
psphere s 10
vinit
vdisplay s
vfit
vsetdispmode s 1
vgraduatedtrihedron 1
vzbufftrihedron

Public activity

32 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: aba
Date: Wed Feb 11 13:04:32 2015 +0300

    0025611: Displaying 'zbufftrihedron' interferes with 'graduatedtrihedron':
    
    - Draft of Graduated trihedron rendered with primitive arrays
    - Zoom transform persistence for arrows
02Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: aba
Date: Mon Feb 16 16:41:15 2015 +0300

    Corrected trihedron grid

03Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: aba
Date: Fri Feb 20 10:43:26 2015 +0300

    Transform persistence for arrows

04Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
05Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
06Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: aba
Date: Tue Feb 24 16:30:00 2015 +0300

    corrected grid and tickmark labels

Author: aba
Date: Wed Feb 11 13:04:32 2015 +0300

    0025611: Displaying 'zbufftrihedron' interferes with 'graduatedtrihedron':
    
    - Draft of Graduated trihedron rendered with primitive arrays
    - Zoom transform persistence for arrows
07Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
08Commenter 2
Branch [archived branch] has been updated by Commenter 3.

[revision removed]


Detailed log of new commits:

Author: Commenter 3
Date: Wed Feb 25 14:11:56 2015 +0300

    OpenGl_GraduatedTrihedron - eliminate usage of uninitialized data.

09Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: aba
Date: Fri Feb 27 16:59:16 2015 +0300

    Corrected trihedron style

Author: aba
Date: Fri Feb 27 12:59:29 2015 +0300

    Dirty working version.

10Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: aba
Date: Fri Feb 27 17:04:23 2015 +0300

    0025611: Displaying 'zbufftrihedron' interferes with 'graduatedtrihedron':
    
    - Draft of Graduated trihedron rendered with primitive arrays
    - Zoom transform persistence for arrows
    - OpenGl_GraduatedTrihedron - eliminate usage of uninitialized data.
    - Corrected trihedron style of Graphic3d_CGraduatedtrihedron
11Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: aba
Date: Mon Mar 2 18:07:42 2015 +0300

    Remarks

12Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: aba
Date: Thu Mar 5 13:01:09 2015 +0300

    0025611: Displaying 'zbufftrihedron' interferes with 'graduatedtrihedron':
    
    - Graphic3d_CGraduatedTrihedron: moved to Graphic3d_GraduatedTrihedron, added Graphic3d_AxisAspect for axes parameters
    - OpenGl_GraduatedTrihedron: moved to primitive arrays, used Graphic3d_GraduatedTrihedron to store parameters
    - ViewerTest: corrected vgraduatedtrihedron, added new parameters
    - Graphic3d_ArrayOfPrimitives: added AddVertex (Graphic3d_Vec3)
    - Graphic3d_GraphicDriver::GraduatedTrihedronMinMaxValues corrected interface

Author: aba
Date: Thu Mar 5 13:04:21 2015 +0300

    0025867: Visualization, TKOpenGl - fix misprint in transformation persistence math
13Commenter 13
Dear kgv,

could you please review the branch CR25611_3?
14Commenter 3
Please eliminate memory leaks.
15Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: aba
Date: Thu Mar 5 15:43:39 2015 +0300

    Eliminated memory leaks, remarks.

16Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
17Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: aba
Date: Fri Mar 6 10:44:58 2015 +0300

    Corrected OpenGl_PrimitiveArray::InitBuffer() interface

18Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
19Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
20Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
21Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
22Commenter 3
Please test the patch in branch CR25611_3.
Note that it is based on patch for #0025867, which is in IR.
23Commenter 23
Dear kgv,
could you please rebase CR25611_3 branch with current master, there are conflict files.
24Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
25Commenter 25
The branch CR25611_3 was rebased on current master.
Please test the patch.
26Commenter 26
Dear Commenter 1,
Branch CR25611_3 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 18 (18 on master)
Windows: 0 (0 on master)

products component :
Linux: 11 (11 on master)
Windows: 4 (4 on master)

There are compilation errors in Prododucts csharp samples on Window platform:
http://jenkins-test-03.nnov.opencascade.com:8080/user/mnt/my-views/view/CR25611_3/job/mnt-CR25611_3-master_build_products_csharp_samples_windows/2/parsed_console/
...
occtypes.i(317) : Error: Unable to find 'Graphic3d_CGraduatedTrihedron.hxx'
...
1> occcsharp_wrap.cxx
1>c1xx : fatal error C1083: Cannot open source file: 'occcsharp_wrap.cxx': No such file or directory
...
3>------ Build started: Project: ImportExport, Configuration: Release x64 ------
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(24,7): error CS0246: The type or namespace name 'AIS' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(25,7): error CS0246: The type or namespace name 'V3d' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(26,7): error CS0246: The type or namespace name 'Graphic3d' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(27,7): error CS0246: The type or namespace name 'OpenGl' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(28,7): error CS0246: The type or namespace name 'TCollection' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(29,7): error CS0246: The type or namespace name 'Quantity' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(30,7): error CS0246: The type or namespace name 'IGESControl' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(31,7): error CS0246: The type or namespace name 'IFSelect' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(32,7): error CS0246: The type or namespace name 'STEPControl' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(33,7): error CS0246: The type or namespace name 'WNT' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(34,7): error CS0246: The type or namespace name 'TopoDS' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(35,7): error CS0246: The type or namespace name 'BRep' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(36,7): error CS0246: The type or namespace name 'Message' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(37,7): error CS0246: The type or namespace name 'Interface' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(38,7): error CS0246: The type or namespace name 'StlAPI' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(39,7): error CS0246: The type or namespace name 'VrmlAPI' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(40,7): error CS0246: The type or namespace name 'Standard' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(41,7): error CS0246: The type or namespace name 'BRepTools' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(42,7): error CS0246: The type or namespace name 'TopAbs' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(43,7): error CS0246: The type or namespace name 'Aspect' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(47,11): error CS0246: The type or namespace name 'V3d_Viewer' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(48,11): error CS0246: The type or namespace name 'V3d_View' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(49,11): error CS0246: The type or namespace name 'AIS_InteractiveContext' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(50,11): error CS0246: The type or namespace name 'Graphic3d_GraphicDriver' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\ImportExport\OCCViewer.cs(511,10): error CS0246: The type or namespace name 'AIS_InteractiveContext' could not be found (are you missing a using directive or an assembly reference?)

Compile complete -- 25 errors, 0 warnings
...
4>------ Build started: Project: CSharpTest, Configuration: Release x64 ------
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\CSharpTest\Test.cs(20,7): error CS0246: The type or namespace name 'Standard' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\CSharpTest\Test.cs(21,7): error CS0246: The type or namespace name 'gp' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\CSharpTest\Test.cs(22,7): error CS0246: The type or namespace name 'OSD' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\CSharpTest\Test.cs(23,7): error CS0246: The type or namespace name 'Geom' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\CSharpTest\Test.cs(24,7): error CS0246: The type or namespace name 'TColStd' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\CSharpTest\Test.cs(25,7): error CS0246: The type or namespace name 'TColgp' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\CSharpTest\Test.cs(26,7): error CS0246: The type or namespace name 'TopoDS' could not be found (are you missing a using directive or an assembly reference?)
d:\builds\vc10\CR25611-3-master-products-64\samples\csharp\CSharpTest\Test.cs(27,7): error CS0246: The type or namespace name 'BOPCol' could not be found (are you missing a using directive or an assembly reference?)

Compile complete -- 8 errors, 0 warnings
...

Regressions/Differences:
No regressions/differences

Testing cases:
http://occt-tests/CR25611-3-master-occt-64/Debian60-64/bugs/vis/bug25611_1.html
http://occt-tests/CR25611-3-master-occt-64/Windows-64-VC10/bugs/vis/bug25611_1.html
bugs vis(004) bug25611_1: OK
http://occt-tests/CR25611-3-master-occt-64/Debian60-64/bugs/vis/bug25611_2.html
http://occt-tests/CR25611-3-master-occt-64/Windows-64-VC10/bugs/vis/bug25611_2.html
bugs vis(004) bug25611_2: OK

Testing on Linux:
occt component :
Total MEMORY difference: 91509749 / 92042747
Total CPU difference: 57809.99000000032 / 58057.07999999997
products component :
Total MEMORY difference: 23078932 / 22969003
Total CPU difference: 15880.999999999965 / 14774.049999999997

Testing on Windows:
occt component :
Total MEMORY difference: 57823062 / 57831956
Total CPU difference: 50447.671875 / 28916.3125
products component :
Total MEMORY difference: 15047303 / 15050260
Total CPU difference: 15403.9375 / 9064.265625

There are no differences in images found by testdiff.
27Commenter 27
Dear mkv,

I've created the branch CR25611 in Products repository.
Could you please check compilation of Products C# samples?
28Commenter 28
Dear Commenter 1,
Branch CR5611_3 from occt git-repository and CR25611 from products git-repository was compiled on Linux and Windows platforms.
Compilation in Prododucts csharp samples on Window platform is good.
29Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]
30Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]
31Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]
32Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]

Related records