0025129: Visualization - add interactive object for Points Cloud objects
[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
11vinit View1
12vclear
13vsetdispmode 1
14vaxo
15vpointcloud p s -nonormals
16vaspects p -setcolor GREEN
17vfit
18vrotate 0.2 0.0 0.0
19vdump $::imagedir/${::casename}_green.png
20
21# random colors mode
22vpointcloud p s -randcolors
23vdump $::imagedir/${::casename}_rand.png
24
25# mode with normals
26vpointcloud p s -normals
27vsetmaterial p COPPER
28vdump $::imagedir/${::casename}_copper.png
29
30vmoveto 200 200