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
                                   
       Supercone macro
          In some situations the original version declared in "shapes.inc" doesn't work correctly.
Solution: #include "SuperCone.inc" - This include file with a corrected version of the "SuperCone" macro by Warp 20.10.2001 - should be included after the file "shapes.inc" .
Supercone
// ------------------------------------
object{ Supercone(
        // point A, axis Ax, axis Az,
        <0.0,0.0,0.0>, 0.5, 1.0,
        // point B, axis Bx, axis Bz)
        <0.0,1.5,0.0>, 0.7, 0.4)

        texture{
          pigment{ color rgb<0.65,1,0>}
          finish { phong 1}
        } // end of texture

        scale<1,1,1>
        rotate<0,0,0>
        translate<0,0,0>
      } // ----------------------------

Example:
Supercone
top

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