1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
mkrylova 395d00e058 0032144: Draw Harness - add -silent option to command Close
- Extended command Close with an option -silent
- Extended command Close to handle */-ALL for closing ALL document
- Replaced catch {Close D} by Close D -silent in tests
2021-03-05 17:31:07 +03:00

26 lines
652 B
Plaintext

puts "========"
puts "0031096: Visualization, TKOpenGl - support metallic-roughness texture mapping"
puts "========"
pload XDE OCAF MODELING VISUALIZATION
Close D -silent
ReadGltf D [locate_data_file bug30691_DamagedHelmet.gltf]
vclear
vinit View1
XDisplay -dispMode 1 D
vaxo
vcamera -persp
vviewparams -scale 0.412548 -proj 0.54479 -0.790649 0.279424 -up -0.248339 0.166151 0.954317 -at -27.3419 382.603 -233.934
vtextureenv on 2
vlight -change 0 -intensity 2.5
vlight -change 1 -intensity 0.3
vrenderparams -shadingModel PBR
vdump ${imagedir}/${casename}_pbr.png
vrenderparams -ray -gi -rayDepth 10
vfps 200
vdump ${imagedir}/${casename}_pt.png