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
                                   
  Disk_X, Disk_Y, Disk_Z - Cylinders in one unit size in the directions of x, y , z.
  Declared in "shapes.inc"
Disk_X
Disk_Y
Disk_Z
Disk_X
// --------------------------
object{
 Disk_X // no open available!
 scale <1,1,1>
 texture{
  pigment{color rgb<.8,.5,1>}
  normal {bumps .5 scale .025}
  finish {phong 1 }
  } // end of texture
  rotate<0,0,0>
  translate<0,0,0>
} // end of disc ----------- 
Disk_Y
// --------------------------
object{
 Disk_Y
 scale <1,1,1>
 texture{
  pigment{color rgb<.8,.5,1>}
  normal {bumps .5 scale .025}
  finish {phong 1 }
  } // end of texture
  rotate<0,0,0>
  translate<0,0,0>
} // end of disc ----------- 
Disk_Z
// --------------------------
object{
 Disk_Z
 scale <1,1,1>
 texture{
  pigment{color rgb<.8,.5,1>}
  normal {bumps .5 scale .025}
  finish {phong 1 }
  } // end of texture
  rotate<0,0,0>
  translate<0,0,0>
} // end of disc ----------- 
Notes:
All these "Disks" are declared with a size of one unit.
Changes in size must be done by scale.
top

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