mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Added TKOpenGlTest and TKD3DHostTest Draw Harness plugins. TKOpenGlTest is automatically loaded by ViewerTest::ViewerInit(). Commands vgldebug, vvbo, vcaps and vuserdraw have been moved to TKOpenGlTest. New command vglshaders lists GLSL programs defined by OpenGl_GraphicDriver, previously implemented by "vshaderprog -list". Added new command vdriver for graphic driver selection. Removed erroneous code from command vstereo.
32 lines
959 B
Plaintext
32 lines
959 B
Plaintext
puts "========"
|
|
puts "OCC25611"
|
|
puts "========"
|
|
puts ""
|
|
############################################################################
|
|
puts "Displaying \'zbufftrihedron\' interferes with \'vgraduatedtrihedron\'"
|
|
puts "Test graduated trihedron parameters"
|
|
############################################################################
|
|
|
|
vinit View1
|
|
psphere s 10
|
|
vdisplay s
|
|
vaxo
|
|
vfit
|
|
vsetdispmode s 1
|
|
|
|
# Font and color parameters
|
|
vgraduatedtrihedron -on -xname X(mm) -yname Y(mm) -zname Z(mm) -xnamecolor PINK -ycolor GREENYELLOW -namefont Courier -valuesfont Courier
|
|
vdump $imagedir/${casename}_1.png
|
|
|
|
# Boolean parameters
|
|
vgraduatedtrihedron -on -xdrawname off -ydrawvalues off -zdrawticks off
|
|
vdump $imagedir/${casename}_2.png
|
|
|
|
# Tickmark parameters
|
|
vgraduatedtrihedron -on -xticks 10 -xticklength 15 -xvaluesoffset 20 -xnameoffset 40
|
|
vdump $imagedir/${casename}_3.png
|
|
|
|
# Arrow parameters
|
|
vgraduatedtrihedron -on -arrowlength 50
|
|
vdump $imagedir/${casename}_4.png
|