Round_Pyramid_N_out
Round_Pyramid_N column
Round_Pyramid wireframe
Round_Pyramid wireframe
Round_Pyramid wireframe
Round_N_Pyramid filled
... truncated
... merge
|
Round_Pyramid_N_out
Reguläre abgerundete Pyramide mit N Ecken
definiert über Umkreisradien.
Syntax:
object{ Round_Pyramid_N_out( N,
Point_A, R_out_A,
Point_B, R_out_B,
R_Border,
Fill_On, Merge_On
) //----------------
texture{ ... ... }
} // end of object -------- |
Round_Pyramid_N_in
Reguläre abgerundete Pyramide mit N Ecken
definiert über Inkreisradien.
Syntax:
object{ Round_Pyramid_N_in( N,
Point_A, R_in_A,
Point_B, R_in_B,
R_Border,
Fill_On, Merge_On
) //-------ö---------
texture{ ... ... }
} // end of object -------- |
N >2 = Anzahl der Ecken,
Point_A, R_out_A = A, Umkreisradius bei A,
Point_B, R_out_B = B, Umkreisradius bei B,
Point_A, R_in_A = A, Inkreisradius bei A,
Point_B, R_in_B = B, Inkreisradius bei B,
R_Border = the radius of the edges,
Fill_On: 0 = Drahtpyramide, 1 = gefüllte Form.
Merge_On: 0 = union, 1 = merge
(bei transparentem Material).
Beispiel:
#include "shapes3.inc"
object{ Round_Pyramid_N_out(
8 , // number of side faces
<-0.25,0.35,-0.8>, 0.40,// A, R_out_A,
<1,1.1,0>, 0.70,// B, R_out_B,
0.08, // border radius
1, // 1 = filled, 0 = wire
0 // 0 = union, 1 = merge
) //-------------------------------------
texture{ pigment{ rgb<1,1,1> }
finish { phong 1 }
} // end of texture --------------
} // end of object //---------------------- |
Beispiel:
#include "shapes_lo.inc"
object{ Round_Pyramid_N_in(
5 , // number of side faces
<0,0.00,0>, 1.00, <0,1.25,0>, 0.00,
0.05, // border radius
0, // 1 = filled, 0 = wire
0 // 0 = union, 1 = merge
) //-------------------------------------
texture{ pigment{ color rgb<1,1,1>}
finish { phong 1}
} // end of texture
} // end of object ------------------------ |
|