0031225: Visualization, TKOpenGl - support cubemap for environment texture within...
[occt.git] / tests / v3d / raytrace / connected
CommitLineData
d5af8626 1puts "========"
2puts "Ray Tracing - check rendering of multi-connected structures"
3puts "========"
4
5# create boxes
6box b1 0 0 0 1 2 3
7box b2 3 0 0 3 2 1
8
9# draw box
10vinit View1
11vclear
bc8c79bb 12vrenderparams -rasterization
d5af8626 13vsetdispmode 1
d5af8626 14vaxo
0717ddc1 15vconnect b1c -3 0 0 b1 b2
d5af8626 16vfit
17vrotate 0.2 0.0 0.0
b5ac8292 18vfit
d5af8626 19vclear
0717ddc1 20vconnect b1c -3 0 0 b1 b2
d5af8626 21
22# take snapshot with fixed pipeline
23vdump $::imagedir/${::casename}_OFF.png
24
25# turn on ray tracing
bc8c79bb 26vrenderparams -raytrace
d5af8626 27vdump $::imagedir/${::casename}_rt1.png
28
29vclear
0717ddc1 30vconnect b1c -3 0 0 b1 b2