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
Shapes in "shapes3.inc"
Other Shapes by macros
3D text shapes

Other Shapes
  - blob
  - sphere_sweep
  - julia_fractal
  ->Regulare Polyhedron
  - Paraboloid, Hyperboloid
  - Polynomial equations
  - Cubic & Quartic shapes
  - Parametric shapes

Non CSG Shapes
height_field + HF macros
Isosurfaces
                                   

Regulare Polyhedra from the include file "shapes2.inc"

Before you can use the following geometric shapes the according include file must be inserted in the scenery description file by:
#include "shapes2.inc".
 

In the file "shapes2.inc" the following objects are declared:


Regulare Polyhedra:

Lower row from the left side:
Tetrahedron = Tetraeder, pyramid with triangular base (here with rotate<0,180,0>),
Octahedron = Oktaeder, double pyramid, 8 sides
Dodecahedron = Dodekaeder, 12 sides
Icosahedron = Ikosaeder, 20 sides
Octahedron s.o.
Upper row from the left side:
Rhomboid
Hexagon = regulars six sided prism
sphere{<0,0,0>,1} (Unit sphere for to compare with)
Pyramid = Pyramide, side lenght = base width
Pyramid2 = Pyramide with 45 degrees
These regular geometric shapes are defined symetric to <0,0,0>. Sample for how to use them as "object" by:
object{Icosahedron
       texture{....}
       translate<...> }

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