1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/tests/bugs/vis/bug25732_2
kgv 348ff75335 0025732: Visualization, TKOpenGl - back face culling should not affect textured font rendering
OpenGl_TextFormatter - orient triangles in normal counter-clockwise order (GL_CCW).

Test-cases for issue #25732
2015-02-12 11:24:37 +03:00

26 lines
593 B
Plaintext

puts "========"
puts "OCC25732"
puts "========"
puts ""
#########################################################################################
# Visualization, TKOpenGl - back face culling should not affect textured font rendering
#########################################################################################
box b 1 2 3
explode b F
vinit
vsetdispmode 1
vdisplay b_1 b_2
vfit
vdrawtext "SAMPLE TEXT" 1 0 3 255 0 0 0 0 0 0 30 1
set bug_info [vreadpixel 260 137 rgb name]
if {$bug_info != "RED"} {
puts "ERROR: OCC25732 is reproduced. Text is missed."
}
set only_screen 1