1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-06 10:36:12 +03:00
occt/tests/vselect/sphere/generate_images
mkrylova 114e7a9022 0032366: Visualization, SelectMgr_ViewerSelector3d::ToPixMap() - add option dumping surface normals
- extended functionality to dump surface normals
- added new option to vseldump command
- added tests
2021-05-21 19:00:57 +03:00

14 lines
518 B
Plaintext

puts "================================="
puts "000032366: Visualization, SelectMgr_ViewerSelector3d::ToPixMap() - add option dumping surface normals"
puts "Generating images based on detection of Select3D_SenstiveSphere"
puts "================================="
psphere s 1
vdisplay -dispMode 1 s
vfit
vseldump $imagedir/${casename}_selmode_0.png -type surfNormal
vselmode 1 1
vseldump $imagedir/${casename}_selmode_1.png -type surfNormal
vselmode 4 1
vseldump $imagedir/${casename}_selmode_4.png -type surfNormal