|
Italiano
Français Deutsch |
|
Facetted_Sphere |
|
Facetted Sphere general syntax: object{ Facetted_Sphere (Quarter_Meridian_Segments, Equatorial_Segments)
texture{ ... ... }
} // end of object ------------------------
With:Quarter_Meridian_Segments = number of segments in one quarter of a meridian, Equatorial_Segments = number of segments along the equator. The radius of the outline is scaled to 1 unit. |
Example:
#include "shapes_lo.inc"
object{ Facetted_Sphere (6, 16 )
texture {pigment{color rgb <1,1,1>}
finish {ambient 0.08 diffuse 0.82 phong 0.1}
}
scale <1,1,1> rotate <0,0,0>
translate < 0, 1, 0>
} // end of object ------------------------------------ |
|
Macro in detail
This is realisized by an intersection of prisms with a sphere-like faccetted outline at one end:
Here some variations of that macro:
| |||||||||||