mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
OpenGl_Caps - flag ffpEnable is now initialized to false on desktop OpenGL. OpenGl_Context::init() - now prints error if OpenGL version does not support GLSL and switches OpenGl_Caps::ffpEnable to true. update test cases
23 lines
622 B
Plaintext
Executable File
23 lines
622 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC22796"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Possibility to display multi-line text in 3D
|
|
#######################################################################
|
|
|
|
vfont add [locate_data_file DejaVuSans.ttf] SansFont
|
|
|
|
set BugNumber OCC22796
|
|
|
|
vcaps -ffp 1
|
|
vinit
|
|
vdrawtext text0 "TestString\nHello,\tWorld!" -pos 0 0 0 -color 1.0 1.0 1.0 -halign left -valign bottom -angle 0 -zoom 1 -height 50 -aspect regular -font SansFont
|
|
vexport $imagedir/${test_image}.pdf PDF
|
|
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|
|
|
|
|
|
|
|
|