Descrizioni ed esempi per il raytracer POV-Ray di Friedrich A. Lohmüller
Oggetti Geometrici di POV-Ray
English English English
Français français
Deutsch Deutsch

Home
- POV-Ray Tutorial
 
Oggetti Geometrici
  Indice

Oggetti 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

 
                                       
Questo oggetto è definito con una macro nel mio include file "shapes3.inc" .
Half_Hollowed_Rounded_Cylinder1

Half_Hollowed_Rounded_Cylinder1
Archivio esempio come ".txt" o ".pov"
Sintassi generale:

 object{ Half_Hollowed_Rounded_Cylinder1
                    (  Length_total,
                       R_out,
                       R_Border,
                       Border_Scale,
                       Merge_On
                    ) //----------------
         texture{ ... }
      } // end of object ---------------
Length_total = lunghezza totale,
R_out >0, raggio esterna.
R_Border >(R_out)/2, raggio del bordo
Border_Scale y ( >0 ), 0 = no rounded borders!
Merge_On 0 = union, 1 = merge.
Half_Hollowed_Rounded_Cylinder2

Half_Hollowed_Rounded_Cylinder2
Archivio esempio come ".txt" o ".pov"
Sintassi generale:
object{ Half_Hollowed_Rounded_Cylinder2
                    (  Length_total,
                       R_out,
                       R_Corner,
                       R_Border,
                       Border_Scale,
                       Merge_On
                    ) //----------------
         texture{ ... }
      } // end of object ---------------
Length_total = lunghezza totale,
R_out >0, raggio esterna.
R_Corner = raggio di angoli < R_out
R_Border >=0, < (R_corne)/2 raggio del bordo
Border_Scale y ( >0 ), 0 = no rounded borders!
Merge_On : 0 = union, 1 = merge.

Esempio Half_Hollowed_Rounded_Cylinder1:
#include "shapes3.inc"
object { Half_Hollowed_Rounded_Cylinder1(
            3.2,// Length_total,
            0.9,// outer radius
            0.2,// border radius
            1, //  border scale y (>=0),
            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 ------------------
Esempio Half_Hollowed_Rounded_Cylinder2:
#include "shapes3.inc"
object { Half_Hollowed_Rounded_Cylinder2(
            3.2,// Length_total,
            0.9,// outer radius
            0.2,// border radius
            0.10,// border radius
            1, //  border scale y (>=0),
            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