mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
Deleted TODOs which were used when branch was built without OpenCL. Modified test case bugs/vis/bug23747_2 (changed textured shape)
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
puts "========"
|
|
puts "OCC22337"
|
|
puts "Test vprintview with new camera and shaders"
|
|
puts "========"
|
|
|
|
pload ALL
|
|
vinit
|
|
box b 10 10 10
|
|
vdisplay b
|
|
vrotate 1 0 0
|
|
vfit
|
|
vsetdispmode 1
|
|
|
|
# test vprintview work
|
|
# make sure that the images with forced tiles and without are the same
|
|
vchangecamera proj ortho
|
|
vfit
|
|
set aTitle "ortho"
|
|
vprintview 512 512 $imagedir/${casename}_${aTitle}.png rgb
|
|
set aTitle "ortho-tiles"
|
|
vprintview 512 512 $imagedir/${casename}_${aTitle}.png rgb 1 256 256
|
|
|
|
vchangecamera proj persp
|
|
vfit
|
|
set aTitle "persp"
|
|
vprintview 512 512 $imagedir/${casename}_${aTitle}.png rgb
|
|
set aTitle "persp-tiles"
|
|
vprintview 512 512 $imagedir/${casename}_${aTitle}.png rgb 1 256 256
|
|
|
|
vshaderprog phong
|
|
|
|
vchangecamera proj ortho
|
|
vfit
|
|
set aTitle "ortho-shader"
|
|
vprintview 512 512 $imagedir/${casename}_${aTitle}.png rgb
|
|
set aTitle "ortho-shader-tiles"
|
|
vprintview 512 512 $imagedir/${casename}_${aTitle}.png rgb 1 256 256
|
|
|
|
vchangecamera proj persp
|
|
vfit
|
|
set aTitle "persp-shader"
|
|
vprintview 512 512 $imagedir/${casename}_${aTitle}.png rgb
|
|
set aTitle "persp-shader-tiles"
|
|
vprintview 512 512 $imagedir/${casename}_${aTitle}.png rgb 1 256 256
|
|
|