0027715: Visualization - turn off deprecated OpenGL fixed-function pipeline by default
[occt.git] / tests / v3d / point_cloud / sphere
CommitLineData
d33222c1 1puts "========"
2puts "Point cloud object from triangulated sphere"
3puts "========"
4
5# create sphere
6sphere ss 10
7mkface s ss
8incmesh s 0.01
9
10# draw sphere
be375252 11vcaps -ffp 1
d33222c1 12vinit View1
13vclear
14vsetdispmode 1
15vaxo
16vpointcloud p s -nonormals
17vaspects p -setcolor GREEN
18vfit
19vrotate 0.2 0.0 0.0
20vdump $::imagedir/${::casename}_green.png
21
22# random colors mode
23vpointcloud p s -randcolors
24vdump $::imagedir/${::casename}_rand.png
25
26# mode with normals
27vpointcloud p s -normals
28vsetmaterial p COPPER
29vdump $::imagedir/${::casename}_copper.png
30
31vmoveto 200 200