1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug28527
kgv e21fec8100 0029051: Visualization, TKOpenGl - wrong color of transparent dynamic highlight with OIT tuned ON
OpenGl_PrimitiveArray::Render() - removed obsolete code, which become redundant (and broken)
after moving rendering of transparent objects into OpenGl_LayerList::renderTransparent().
2017-08-29 11:28:51 +03:00

35 lines
849 B
Plaintext

puts "============"
puts "0028527: Visualization, AIS_InteractiveContext - custom selection presentation is never removed from View"
puts "============"
puts ""
pload MODELING XDE VISUALIZATION
vclear
vclose ALL
vinit View1
box b -100 0 0 10 20 30
meshfromstl m [locate_data_file OMF6391_box.stl]
vfit
vsetdispmode m 2
vselmode m 8 1
vselect 0 0 409 409 0 409
verase m
vdisplay -dispMode 1 -highMode 1 b
vfit
if { [vreadpixel 165 400 rgb name] != "DARKGOLDENROD3" } { puts "Error: fit all produces incorrect result after Erase" }
vdump $::imagedir/${::casename}_1.png
verase b
vdisplay m
vfit
vselmode m 8 1
vselect 0 0 409 409 0 409
vremove m
vdisplay -dispMode 1 -highMode 1 b
vfit
if { [vreadpixel 165 400 rgb name] != "DARKGOLDENROD3" } { puts "Error: fit all produces incorrect result after Remove" }
vdump $::imagedir/${::casename}_2.png