mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
12 lines
349 B
Plaintext
12 lines
349 B
Plaintext
source $env(CSF_OCCTSamplesPath)/tcl/dimensions.tcl
|
|
vcaps -ffp 0
|
|
# PBR requires OpenGL 3.0+ on macOS
|
|
if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
|
|
vrenderparams -shadingModel pbr
|
|
vlight -clear
|
|
vlight -add ambient -intensity 1
|
|
vlight -add directional -dir 0 0 -1 -head 1 -intensity 1
|
|
vdump $imagedir/${test_image}.png
|
|
|
|
puts "TEST COMPLETED"
|