0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / tests / v3d / glsl / outline1
... / ...
CommitLineData
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
11vbackground -color GAINSBORO
12vaxo
13
14psphere s 1.0
15box b 2 -2 -2 1 2 3
16
17vdisplay -dispMode 1 b s
18vfit
19
20vaspects b s -setDrawSilhouette 1 -setEdgeColor RED -setEdgeWidth 4 -setFaceBoundaryDraw 1 -setFaceBoundaryColor BLUE -setFaceBoundaryWidth 1 -setInteriorStyle HIDDENLINE
21vdump $::imagedir/${::casename}_0.png
22
23vaspects b s -setDrawSilhouette 1 -setEdgeColor RED -setEdgeWidth 4 -setFaceBoundaryDraw 1 -setFaceBoundaryColor RED -setFaceBoundaryWidth 4 -setInteriorStyle HIDDENLINE
24vdump $::imagedir/${::casename}_1.png