0024437: Visualization - silhouette edges based on OpenGL
[occt.git] / tests / v3d / glsl / outline1
CommitLineData
6ef0d6f1 1puts "========"
2puts "0024437: Visualization - silhouette edges based on OpenGL"
3puts "Draw box and sphere primitives"
4puts "========"
5puts ""
6
7pload MODELING VISUALIZATION
8
9vclear
10vinit View1
11vsetcolorbg 220 220 220
12#vsetgradientbg 180 200 255 180 180 180 2
13vaxo
14
15psphere s 1.0
16box b 2 -2 -2 1 2 3
17
18vdisplay -dispMode 1 b s
19vfit
20
21vaspects b s -setDrawSilhouette 1 -setEdgeColor RED -setEdgeWidth 4 -setFaceBoundaryDraw 1 -setFaceBoundaryColor BLUE1 -setFaceBoundaryWidth 1 -setInteriorStyle HIDDENLINE
22vdump $::imagedir/${::casename}_0.png
23
24vaspects b s -setDrawSilhouette 1 -setEdgeColor RED -setEdgeWidth 4 -setFaceBoundaryDraw 1 -setFaceBoundaryColor RED -setFaceBoundaryWidth 4 -setInteriorStyle HIDDENLINE
25vdump $::imagedir/${::casename}_1.png