0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / tests / v3d / glsl / outline2
CommitLineData
6ef0d6f1 1puts "========"
2puts "0024437: Visualization - silhouette edges based on OpenGL"
3puts "Draw bottle sample"
4puts "========"
5puts ""
6
7pload MODELING VISUALIZATION
8
9# test for creation of bottle as in tutorial (script is in samples)
10source $env(CSF_OCCTSamplesPath)/tcl/bottle.tcl
11
293211ae 12vbackground -color WHITE
6ef0d6f1 13vzbufftrihedron -type wireframe -colorLabels BLACK
14vaspects bottle -setDrawSilhouette 1 -setEdgeColor BLACK -setFaceBoundaryDraw 1 -setMostContinuity c0 -setFaceBoundaryColor BLACK -setInteriorStyle HIDDENLINE
15vrenderparams -rendScale 2
16
17vcamera -ortho
18vfit
19vaspects bottle -setDrawSilhouette 0
20vdump $::imagedir/${::casename}_ortho0.png
21
22vaspects bottle -setDrawSilhouette 1
23vdump $::imagedir/${::casename}_ortho1.png
24
25vcamera -persp
26vfit
27vaspects bottle -setDrawSilhouette 0
28vdump $::imagedir/${::casename}_persp0.png
29
30vaspects bottle -setDrawSilhouette 1
31vdump $::imagedir/${::casename}_persp1.png