mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08: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"
|