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.
42 lines
768 B
Plaintext
42 lines
768 B
Plaintext
puts "============"
|
|
puts "CR26434"
|
|
puts "============"
|
|
puts ""
|
|
|
|
##########################################################################################
|
|
puts "Visualization - Textured objects should have priority over the environment mapping"
|
|
##########################################################################################
|
|
|
|
pload MODELING VISUALIZATION
|
|
|
|
vclear
|
|
vclose all
|
|
|
|
vinit View1
|
|
|
|
vsetdispmode 1
|
|
|
|
box b0 -1 -1 -1 1 2 3
|
|
box b1 1 1 1 1 2 3
|
|
|
|
vdisplay b0 b1
|
|
vzbufftrihedron
|
|
|
|
vfit
|
|
|
|
vdump $imagedir/${casename}_0.png
|
|
|
|
vtexture b1 0
|
|
|
|
vdump $imagedir/${casename}_1.png
|
|
|
|
puts "Checking that texture have priority over the environment mapping"
|
|
vtextureenv on 0
|
|
|
|
vdump $imagedir/${casename}_2.png
|
|
|
|
vmoveto 100 300
|
|
vmoveto 0 0
|
|
|
|
vdump $imagedir/${casename}_3.png
|