Descriptions et exemples pour le POV-Ray raytracer par Friedrich A. Lohmueller
  Objets Géométriques de POV-Ray
English English English
Italiano  Italiano
Deutsch 

Page d'Accueil
- Tutorièl POV-Ray
 
Objets Géométriques
   table des matières

Objets de "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

 
                                       
Cette forme est définie dans mon include file "shapes3.inc" .
Rounded_Tube_AB
Rounded_Tube_AB 
Syntaxe générale :
object{ Rounded_Tube_AB( Point_A,
                         Point_B,
                         R_out,
                         R_in,
                         R_Border,
                         Merge_On
                    ) //----------------
         texture{ ... }
      } // end of object ---------------
Point_A = point du start,
Point_B = point du fin,
R_out = rayon externe,
R_in = rayon interne,
R_Border = rayon du bord,
Merge_On : 0 = union, 1 = merge.
Rounded_Tube
Rounded_Tube
Simplified version around the y axis.
general syntax:

object{ Rounded_Tube(  R_out,
                       R_in,
                       R_Border,
                       Height_Y,
                       Merge_On
                    ) //----------------
         texture{ ... }
      } // end of object ---------------
R_out = rayon externe,
R_in = rayon interne,
R_Border = rayon du bord,
Height_Y = hauteur en direction y,
Merge_On : 0 = union, 1 = merge.

Exemple Rounded_Tube_AB :
#include "shapes3.inc"
object { Rounded_Tube_AB(
            <-1,-0.2,-0.2>, // A
            <1.0,0.9,-0.3>, // B
            0.95, // tube radius outside
            0.50, // tube inner radius
            0.12, // border radius
            1, // 0 = union, 1 = merge
        ) // ------------------------------
        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 ------------------
Exemple Rounded_Tube :
#include "shapes3.inc"
object { Rounded_Tube(
          1.50, // tube radius outside
          0.80, // tube inner radius
          0.10, // border radius
          0.70, // tube high
             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