MantisBT - Community
View Issue Details
0025853Community[OCCT] OCCT:Visualizationpublic2015-02-23 16:562015-05-14 15:31
spamkiller 
bugmaster 
normalminor 
closedfixed 
WindowsVC++ 201364 bit
[OCCT] 6.8.0 
[OCCT] 6.9.0[OCCT] 6.9.0 
bugs vis bug25853
0025853: Edges disappear or reappear when displaying new edges
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/ [^])
# 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
No tags attached.
related to 0025675closed bugmaster Open CASCADE Visualization - Fix problems and inefficiencies with frustum culling 
png Screenshot - 2015-02-23.png (29,709) 2015-02-23 16:56
https://tracker.dev.opencascade.org/
Issue History
2015-02-23 16:56spamkillerNew Issue
2015-02-23 16:56spamkillerAssigned To => kgv
2015-02-23 16:56spamkillerFile Added: Screenshot - 2015-02-23.png
2015-02-24 08:59kgvRelationship addedrelated to 0025675
2015-02-24 09:00kgvRelationship addedduplicate of 0025679
2015-02-24 09:01kgvNote Added: 0037790
2015-02-24 09:01kgvAssigned Tokgv => bugmaster
2015-02-24 09:01kgvStatusnew => feedback
2015-02-24 09:01kgvResolutionopen => duplicate
2015-02-24 09:01kgvTarget Version => 6.9.0
2015-02-27 10:09bugmasterAssigned Tobugmaster => apn
2015-03-03 13:36gitNote Added: 0038040
2015-03-03 13:36apnNote Added: 0038041
2015-03-03 13:37apnTest case number => bugs vis bug25853
2015-03-03 13:37apnAssigned Toapn => bugmaster
2015-03-03 13:37apnStatusfeedback => tested
2015-03-06 15:13bugmasterChangeset attached => occt master 44b47a9a
2015-03-06 15:13bugmasterStatustested => verified
2015-03-06 15:13bugmasterResolutionduplicate => fixed
2015-03-18 13:39gitNote Added: 0038616
2015-05-14 15:28aivStatusverified => closed
2015-05-14 15:31aivFixed in Version => 6.9.0

Notes
(0037790)
kgv   
2015-02-24 09:01   
Please check the case on current master - the issue should be fixed by patch for #0025679.
(0038040)
git   
2015-03-03 13:36   
Branch CR25853 has been created by apn.

SHA-1: b228704946c5f7d6a545a55be1abd523768fef8f


Detailed log of new commits:

Author: apn
Date: Tue Mar 3 13:35:57 2015 +0300

    0025853: Edges disappear or reappear when displaying new edges
    
    Added test case bugs/vis/bug25853
(0038041)
apn   
2015-03-03 13:36   
Problem is not reproduced on current state of master.
Test case:
bugs vis bug25853 - OK.
(0038616)
git   
2015-03-18 13:39   
Branch CR25853 has been deleted by inv.

SHA-1: b228704946c5f7d6a545a55be1abd523768fef8f