Commit | Line | Data |
---|---|---|
1 | source $env(CSF_OCCTSamplesPath)/tcl/dimensions.tcl | |
2 | vcaps -ffp 0 | |
3 | # PBR requires OpenGL 3.0+ on macOS | |
4 | if { $::tcl_platform(os) == "Darwin" } { vcaps -core } | |
5 | vrenderparams -shadingModel pbr | |
6 | vlight -clear | |
7 | vlight -add ambient -intensity 1 | |
8 | vlight -add directional -dir 0 0 -1 -head 1 -intensity 1 | |
9 | vdump $imagedir/${test_image}.png | |
10 | ||
11 | puts "TEST COMPLETED" |