2 puts "Ray Tracing - check refraction"
5 pload MODELING VISUALIZATION
8 vrenderparams -rasterization
10 vbackground -gradient B4C8FF B4B4B4 -gradientMode VERTICAL
20 box B1 -1.5 -1.5 -1.5 2.5 2 3
21 box B2 -1.5 -1.5 -1.5 2.5 2 3
22 box B3 -1.5 -1.5 -1.5 2.5 2 3
37 vsetlocation S2 -2 2 4
38 vsetlocation S3 -6 2 4
41 vsetlocation B2 -2 6 4
42 vsetlocation B3 -6 6 4
44 vsetlocation wall1 -10 0 0
45 vsetlocation wall2 5 0 0
46 vsetlocation wall3 -10 0 -1
50 vsetmaterial S3 diamond
54 vsetmaterial B3 diamond
56 vsetmaterial wall1 stone
57 vsetmaterial wall2 stone
58 vsetmaterial wall3 pewter
63 vsettransparency S1 0.8
64 vsettransparency S2 0.8
65 vsettransparency S3 0.8
67 vsettransparency B1 0.8
68 vsettransparency B2 0.8
69 vsettransparency B3 0.8
74 vlight -change 0 -dir -0.577 -0.577 -0.577
75 vlight dirlight -type directional
76 vrenderparams -raytrace -raydepth 5 -shadows off -reflections -fsaa
77 vdump ${imagedir}/${casename}.png