Archived issue #0025853
Edges disappear or reappear when displaying new edges
Description
Edges disappear or reappear when displaying a large number of new edges. Reproduced with Draw Test Harness and the script below.
For screenshots and details:
http://www.opencascade.org/org/forum/thread_26797/?forum=3
Also testes with the Draw Test Harness tool of the binary download version of OpenCASCADE6.8.0 (opencascade-6.8.0.exe from http://www.opencascade.org/getocc/download/loadocc/)
For screenshots and details:
http://www.opencascade.org/org/forum/thread_26797/?forum=3
Also testes with the Draw Test Harness tool of the binary download version of OpenCASCADE6.8.0 (opencascade-6.8.0.exe from http://www.opencascade.org/getocc/download/loadocc/)
Steps to reproduce
# Display a large number of lines
#Category: Visualization BUG "invisible lines"
#Title: Display a large number of lines
pload ALL
vinit View1 w=1024 h=1024
vsetdispmode View1 1
vtrihedron trihedron1
vsize trihedron1 400
vclear
#vtop
set scale 0.1
set vpprojx 0.0
set vpprojy 0.0
set vpprojz 1.0
set vpupx 0.0
set vpupy 1.0
set vpupz 0.0
set vpatx 4995
set vpaty 500
set vpatz 0
set vpeyex 4995
set vpeyey 500
set vpeyez 0.0001
vviewparams -scale $scale -eye $vpeyex $vpeyey $vpeyez -at $vpatx $vpaty $vpatz -up $vpupx $vpupy $vpupz -proj $vpprojx $vpprojy $vpprojz
set NB 1000
proc draw_lines {{distance 10.0}} {
# set colors to corner spheres
for {set i 0} {$i < $::NB} {incr i} {
set x [expr $i * $distance]
set ya 0.0
set yb 1000.0
set z 0.0
vertex v1 $x $ya $z
vertex v2 $x $yb $z
edge e$i v1 v2
vdisplay -update e$i
puts "$i: $x $ya $yb $z"
}
}
puts "Start test lines"
draw_lines 10.0
vfit
#Category: Visualization BUG "invisible lines"
#Title: Display a large number of lines
pload ALL
vinit View1 w=1024 h=1024
vsetdispmode View1 1
vtrihedron trihedron1
vsize trihedron1 400
vclear
#vtop
set scale 0.1
set vpprojx 0.0
set vpprojy 0.0
set vpprojz 1.0
set vpupx 0.0
set vpupy 1.0
set vpupz 0.0
set vpatx 4995
set vpaty 500
set vpatz 0
set vpeyex 4995
set vpeyey 500
set vpeyez 0.0001
vviewparams -scale $scale -eye $vpeyex $vpeyey $vpeyez -at $vpatx $vpaty $vpatz -up $vpupx $vpupy $vpupz -proj $vpprojx $vpprojy $vpprojz
set NB 1000
proc draw_lines {{distance 10.0}} {
# set colors to corner spheres
for {set i 0} {$i < $::NB} {incr i} {
set x [expr $i * $distance]
set ya 0.0
set yb 1000.0
set z 0.0
vertex v1 $x $ya $z
vertex v2 $x $yb $z
edge e$i v1 v2
vdisplay -update e$i
puts "$i: $x $ya $yb $z"
}
}
puts "Start test lines"
draw_lines 10.0
vfit
Public activity
4 archived notes
Participants are labeled by their role within this record.
Please check the case on current master - the issue should be fixed by patch for #0025679.
Branch [archived branch] has been created by Commenter 4.
[revision removed]
Detailed log of new commits:
Author: Commenter 4
Date: Tue Mar 3 13:35:57 2015 +0300
0025853: Edges disappear or reappear when displaying new edges
Added test case bugs/vis/bug25853
[revision removed]
Detailed log of new commits:
Author: Commenter 4
Date: Tue Mar 3 13:35:57 2015 +0300
0025853: Edges disappear or reappear when displaying new edges
Added test case bugs/vis/bug25853
Problem is not reproduced on current state of master.
Test case:
bugs vis bug25853 - OK.
Test case:
bugs vis bug25853 - OK.
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records