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
   Index
Basic Shapes
Shapes by macro + CSG
3D text shapes
Other Shapes

 Non CSG Shapes
  ->disc
  - polygon
  - triangle
  - smooth_triangle
  - bicubic_patch
  - mesh
  - mesh2

 height_field + HF macros
 Isosurfaces
                                   
disc{ ...} - flat disc, center hole cutout optional
built-in shape, non-CSG
//Syntax: -----------------------
disc{ <center>,
      <normal vector>,
      outer radius,
      hole radius //(optional!)}
    } //------------------------- 
disc
// ------------------------------------
disc{ <0,0,0>, <0,1,0>, 1.0, 0.4
      texture{
        pigment{ color rgb<0.8,0.5,1.0>}
        normal { bumps 0.5 scale 0.025}
        finish { phong 1}
             } // end of texture
       scale <1,1,1>
       rotate <0,0,0>
       translate <0,0.01,0>
     } // end of disc -----------------

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