0032366: Visualization, SelectMgr_ViewerSelector3d::ToPixMap() - add option dumping...
[occt.git] / tests / vselect / sphere / generate_images
diff --git a/tests/vselect/sphere/generate_images b/tests/vselect/sphere/generate_images
new file mode 100644 (file)
index 0000000..929fbff
--- /dev/null
@@ -0,0 +1,13 @@
+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