DiscussionsIssue archiveOCCT:Visualization

Archived issue #0026401

Visualization - small boxes in front of big one disappear in perspective view

Open CASCADEOCCT:Visualizationclosed9 public notes

Search issues

Description

Small objects are entirely disappear when displayed in front of big object in perspective view. This is not expected behavior.

Steps to reproduce

bugs/vis/bug26401

pload MODELING VISUALIZATION
box b0  0 0 0 1 1 1
box b1 -1 0 0 1 1 1
box b2  1 0 0 1 1 1
box b3  0 1 0 1 1 1
box b4 -1 1 0 1 1 1
box b5  1 1 0 1 1 1
vinit View1
vclear
vaxo
vsetdispmode 1
vcamera -persp
vdisplay b0 b1 b2 b3 b4 b5
vsetcolor b1 b2 GREEN
vsetcolor b4 b5 RED
vsetcolor b3 GRAY55
vfit
vautozfit
vzrange
# here all boxes displayed well
vtrihedron t
vzrange
# here all boxes disappear
#vfrustumculling off
# boxes appear but them are distorted / inverted

Public activity

9 archived notes

Participants are labeled by their role within this record.

01Author
The problem is not reproducible on 6.9.0.
The expected patch that changed this behavior is #0025760.
02Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: apl
Date: Mon Jul 20 20:21:56 2015 +0300

    0026401: Visualization - small boxes in front of big one disappear in perspective view
03Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
04Commenter 4
Dear Kirill,

Please review CR26401.
05Author
Please test the patch.
06Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
07Commenter 7
Branch [archived branch] has been rebased on the current master
08Commenter 8
Dear Commenter 1,

Branch CR26401 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]

Number of compiler warnings:
occt component:
   Linux: 15 (15 on master)
   Windows: 0 (0 on master)
products component:
   Linux: 39 (39 on master)
   Windows: 0 (0 on master)

Regressions/Differences:
Not detected

Testing cases:
bugs vis bug26401 - OK
http://occt-tests/CR26401-master-occt-64/Debian70-64/bugs/vis/bug26401.html
http://occt-tests/CR26401-master-occt-64/Windows-64-VC10/bugs/vis/bug26401.html

Testing on Linux:
Total MEMORY difference: 99786790 / 99920993 [-0.13%]
Total CPU difference: 17488.97999999948 / 17431.479999999443 [+0.33%]

Testing on Windows:
Total MEMORY difference: 58630897 / 58531355 [+0.17%]
Total CPU difference: 16492.519320599018 / 16880.86820999929 [-2.30%]
09Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]