0031279: Visualization, TKOpenGl - environment background is misplaced within Ray...
[occt.git] / tests / v3d / raytrace / helmet
CommitLineData
72f6dc61 1puts "========"
2puts "0031096: Visualization, TKOpenGl - support metallic-roughness texture mapping"
3puts "========"
4
5pload XDE OCAF MODELING VISUALIZATION
6catch { Close D }
7ReadGltf D [locate_data_file bug30691_DamagedHelmet.gltf]
8
9vclear
10vinit View1
11XDisplay -dispMode 1 D
12vaxo
13vcamera -persp
14vviewparams -scale 0.412548 -proj 0.54479 -0.790649 0.279424 -up -0.248339 0.166151 0.954317 -at -27.3419 382.603 -233.934
15
16vtextureenv on 2
17vlight -change 0 -intensity 2.5
18vlight -change 1 -intensity 0.3
19
20vrenderparams -shadingModel PBR
21vdump ${imagedir}/${casename}_pbr.png
22
23vrenderparams -ray -gi -rayDepth 10
24vfps 200
25vdump ${imagedir}/${casename}_pt.png