This page demonstrates the basic of scripting shapes directly into RenderMan RIB file. Coding shapes in this way focuses attention on the fundamental concept related to xyz system.
I rotate the camera angle to create the rest of the sphere.
And I create the following sphere by using the bigger sphere as a path.
I rotate the camera angle to create the rest of the sphere.
Then I scale down the bigger sphere.
Final render
#WorldBegin
AttributeBegin
#Middle big sphere
AttributeBegin
Translate 0 0 0
Sphere 0.2 -0.2 0.2 360
AttributeEnd
#Top center small sphere
AttributeBegin
Translate 0 0.6 0
Sphere 0.075 -0.075 0.075 360
AttributeEnd
#Right small sphere 1
AttributeBegin
Translate 0 0.200 -0.575
Sphere 0.075 -0.075 0.075 360
AttributeEnd
#Right small sphere 2
AttributeBegin
Translate 0 0.375 -0.475
Sphere 0.075 -0.075 0.075 360
AttributeEnd
#Right small sphere 3
AttributeBegin
Translate 0 0.500 -0.350
Sphere 0.075 -0.075 0.075 360
AttributeEnd...




