Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmüller
    Geometric Shapes in POV-Ray
Italiano Italiano
Français français
Deutsch Deutsch

Home
- POV-Ray Tutorial
 
Geometric Shapes
   Overview
Basic Shapes

Shapes by macro + CSG
  - Spheroid, ellipsoid
  - Disk_X,Disk_Y,Disk_Z
  ->Round_Box
  - Round_Cylinder
  - Round_Cone
  - Supercone
  - Supertorus

Shapes in "shapes3.inc"
Other Shapes by macros
3D text shapes
Other Shapes
Non CSG Shapes
height_field + HF macros
Isosurfaces
                                   
Round_Box macro
Declared in "shapes.inc"
 
Round_Box
Wire_Box macro
Declared in "shapes.inc"
 
Wire_Box
// -----------------------------------
object {
 // Round_Box(A, B, WireRadius, Merge)
 Round_Box(<0,0,0>,<1,0.5,2>, 0.125, 0)
 texture{
   pigment{ color rgb<0.5,0.5,1.0>}
   finish { phong 1}
 } // end of texture
 scale<1,1,1>
 rotate<0,0,0>
 translate<0,0,0>
} //----------------------------------
// ----------------------------------
object {
 // Wire_Box(A, B, WireRadius, Merge)
 Wire_Box(<0,0,0>,<1,0.5,2>, 0.05, 0)
 texture{
   pigment{ color rgb<0.75,0.55,1>}
   finish {  phong 1}
 } // end of texture
 scale<1,1,1>
 rotate<0,0,0>
 translate<0,0,0>
} //---------------------------------
top

© Friedrich A. Lohmüller, 2010
www.f-lohmueller.de