mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
OpenGl_TextFormatter - orient triangles in normal counter-clockwise order (GL_CCW). Test-cases for issue #25732
26 lines
593 B
Plaintext
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
|