mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 11:06:26 +08:00
- Moved tcl samples to resource folder. - Clean up cmake from samples related settings. - Removed CSharp samples from the repository. - Removed MFC samples from the repository. - Removed Qt samples from the repository. - Removed Inspector samples from the repository. - Removed glwin samples from the repository. - Removed webgl samples from the repository. - Removed xaml samples from the repository. - Removed Java samples from the repository.
12 lines
358 B
Plaintext
12 lines
358 B
Plaintext
source $env(CSF_OCCTResourcePath)/samples/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"
|