Beschreibungen und Beispiele zum Raytracer POV-Ray von Friedrich A. Lohmüller
Geometrische Körper in POV-Ray
English English English
Italiano Italiano
Français français

Home
- POV-Ray Tutorial
 
Geometrische Körper
   Inhaltsübersicht
 

Objekte in "shapes3.inc"
- Segment_of_CylinderRing
- Segment_of_Torus
- Segment_of_Object
- Egg
- Egg_Shape
- Facetted_Egg
- Facetted_Egg_Shape
- Facetted_Sphere
- Ring_Sphere
- Column_N
- Column_N_AB
- Pyramid_N
- Pyramid_N_AB
- Round_Pyramid_N_out
- Round_Pyramid_N_in
- Round_Cylinder_Tube
- Rounded_Tube_AB
- Rounded_Tube
- Round_N_Tube_Polygon
- Round_Conic_Torus
>Round_Conic_Prism
- Half_Hollowed_Rounded_Cyl1
- Half_Hollowed_Rounded_Cyl2

 
                                       
Geometrische Körper aus meiner Include-Datei "shapes3.inc" :
Round_Conic_Prism
Round_Conic_Prism
Syntax:
object{ Round_Conic_Prism(
                         Center_Distance,
                         R_upper,
                         R_lower,
                         Length, // in z-
                         Border_R,
                         Merge_On
                       ) //--------------
         texture{ ... }
      } // end of object ----------------
Center_Distance =
      vertical center distance of upper + lower torii,
R_upper >0, upper radius at <0,C_distance,0>.
R_lower >0, lower radius on zero.
Length >2*Border_R, length of prism in z-
Border_R = border radius, max. = min(R_lower,R_upper)
Merge_On: 0 = union, 1 = merge.
Round_Conic_Prism_demo
Beispieldatei
".txt" oder ".pov"
        Beispiel:
#include "shapes3.inc"
object{ Round_Conic_Torus(
           0.95, // >0, vertical center distance
           0.90, // >0, upper radius
           0.40, // >0, lower radius
           0.80, //>2*border radius, length in z-
           0.10, // border radius,
             // max. = min(lower radius, upper radius)!
           0 // Merge_On: 0 or 1
        ) // ------------------------------------
        texture{ pigment{ color rgb <1,1,1>}
                 finish { phong 0.1}
               } // end texture
        scale <1,1,1>
        rotate <0,0,0>
        translate < 0, 1, 0>
      } // end of object --------------------

© Friedrich A. Lohmüller, 2013
http://www.f-lohmueller.de