Files
OCCT/tests/demo/samples/dimensionspbr
Pasukhin Dmitry a15fed9b86 Coding - Temporary remove samples from the repository (#960)
- 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.
2025-12-27 21:51:28 +00:00

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"