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

Home
- POV-Ray Tutorial
 
Oggetti Geometrici
 Indice
Oggetti di Base

Forme con macros + CSG
  - Spheroid, ellipsoid
  - Disk_X,Disk_Y,Disk_Z
  - Round_Box
  - Round_Cylinder
  - Round_Cone
  - Supercone
  ->Supertorus

Oggetti in "shapes3.inc"
Altri Oggetti come Macros
Oggetti di Testo 3D
Altre Oggetti
Forme Non-CSG
height_field + HF macros
Isosurfaces
                                   
       Supertorus macro
          Dichiarato in "shapes.inc"
Supertorus
// ------------------------------------
object{ Supertorus(
  1.00, 0.25,// R_Major, R_Minor,
  0.25, 0.45,// Maj_Control, Min_Control,
  0.001,1.50)// Accuracy, Max_Gradient)

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

        scale<1,1,1>
        rotate<0,0,0>
        translate<0,0,0>
      } // ----------------------------
Supertorus
// ------------------------------------
object{ Supertorus(
  1.00, 0.25,// R_Major, R_Minor,
  2.00, 0.45,// Maj_Control, Min_Control,
  0.001,1.50)// Accuracy, Max_Gradient)

        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>
      } // ----------------------------
Supertorus
// ------------------------------------
object{ Supertorus(
  1.00, 0.25,// R_Major, R_Minor,
  1.00, 0.45,// Maj_Control, Min_Control,
  0.001,1.50)// Accuracy, Max_Gradient)

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

        scale<1,1,1>
        rotate<0,0,0>
        translate<0,0,0>
      } // ----------------------------
Supertorus
// ------------------------------------
object{ Supertorus(
  1.00, 0.25,// R_Major, R_Minor,
  0.25, 1.45,// Maj_Control, Min_Control,
  0.001,1.50)// Accuracy, Max_Gradient)

        texture{
          pigment{ color rgb<1,.3,.65>}
          finish { phong 1}
        } // end of texture

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

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