|
Italiano
Français Deutsch |
Column_N |
|
Pyramid_N |
Regular Column with N Edges general syntax: object{ Column_N (N, Radius, Height) texture{ ... ... } } // end of object ------------Here N >2 = the number of edges, Radius = means the half width and Height is the total height of the column. Sample:
|
Regular Pyramid with N Edges also truncated general syntax: object{ Pyramid_N (N, Radius1, Radius2, Height) texture{ ... ... } } // end of object ------------Here N >2 = the number of edges, Radius1 = means the half base width, Radius2 = means the half top width and Height is the total height of the pyramid. If we choose Radius2 = 0 the pyramid will not be truncated. Sample:
|
Macros in detail
If we start this macro with N = 1 the result will be a degenerated intersection
out of just one prism.
A Column with N edges is nothing else than a truncated pyramid with
top radius = base radius, so the following macro will work together with
the above macro: //--------------------------------------------- Column_N macro #macro Column_N (N, Radius, Height ) //------------------------------------------------------------ object{ Pyramid_N (N, Radius, Radius, Height ) } #end // ---------------------------------------- end of macro
|