mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
OpenGl_PrimitiveArray::Render() - removed obsolete code, which become redundant (and broken) after moving rendering of transparent objects into OpenGl_LayerList::renderTransparent().
22 lines
683 B
Plaintext
22 lines
683 B
Plaintext
puts "========"
|
|
puts "0029051: Visualization, TKOpenGl - wrong color of transparent dynamic highlight with OIT tuned ON"
|
|
puts "========"
|
|
puts ""
|
|
|
|
pload MODELING VISUALIZATION
|
|
box b 1 2 3
|
|
vclear
|
|
vinit View1
|
|
vdisplay -dispMode 1 b
|
|
vfit
|
|
vselprops dynHighlight -dispMode 1 -color RED -transp 0.2
|
|
vmoveto 250 250
|
|
vrenderparams -oit off
|
|
if { [vreadpixel 250 250 rgb name] != "ORANGERED3" } { puts "Error: wrong highlight color with OIT turned OFF"}
|
|
vdump $imagedir/${casename}_oit_off.png
|
|
|
|
vrenderparams -oit 0
|
|
vreadpixel 250 250 rgb name
|
|
if { [vreadpixel 250 250 rgb name] != "ORANGERED3" } { puts "Error: wrong highlight color with OIT turned ON"}
|
|
vdump $imagedir/${casename}_oit_on.png
|