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

Objects 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

 
                               
Geometric object definded in my include file "shapes3.inc" .
Round_Cylinder_Tube_filled
Round_Cylinder_Tube open
Round_Cylinder_Tube_demo
Example scene file ".txt" or ".pov"
Round_Cylinder_Tube
A cylinder with rounded ends, filled or open!
general syntax:
object{ Round_Cylinder_Tube(
                       Point_A,
                       Point_B,
                       R_major,
                       R_minor,
                       Filled,
                       Merge_On
                    ) //----------------
         texture{ ... }
      } // end of object ---------------
Point_A = start point,
Point_B = end point,
R_major = major radius (cylinder),
R_minor = minor radius (border),
Filled: 1 = filled; 0 = open tube
Merge_On 0 = union, 1 = merge.

Example:
#include "shapes3.inc"
object { Round_Cylinder_Tube(
            <-1,-0.2,-0.2>, // start
            <1.0,0.9,-0.3>, // end
            0.95, // major radius
            0.12, // border radius
            0, //  1 = filled; 0 = open
            0  //  Merge_On,
        ) // ------------------------------
        texture{ pigment{ color rgb<1,1,1>}
                 finish { phong 0.1}
               } // end texture
        scale <1,1,1>
        rotate <0,0,0>
        translate < 0, 0.9, 0>
      } // end of object ------------------

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