Descriptions and Samples for the POV-Ray Raytracer by Friedrich A. Lohmüller
    deutsche Version

Pawn overview Rocket 2

Rocket 1

Sample for the using of the "union"-statement

Objects: "sphere"
Methods: "declare", "union"
//------------ rocket ------------------------------------------
union{
 //------ the body ---------------------------------------------
cone{ <0,0,0>,0.5,<0,1.5,0>,0.25
      texture{Chrome_Metal}}
 //------- the controll surfaces -------------------------------
prism { -0.01 ,0.01 , 4
        <-1.00, 0.00>, 
        < 1.00, 0.00>, 
        < 0.00, 1.50>, 
        <-1.00, 0.00>
        rotate<-90,0,0> translate<0,0,0>
        texture {pigment{color White }
                 finish {ambient 0.15 diffuse 0.85 phong 1.0}}
  } // -------------- xy-direction ---------------------------
prism { -0.01 ,0.01 , 4
        <-1.00, 0.00>,
        < 1.00, 0.00>,
        < 0.00, 1.50>,
        <-1.00, 0.00>
        rotate<-90,90,0> translate<0,0,0>
        texture {pigment{color White}
                 finish {ambient 0.15 diffuse 0.85 phong 1.0}}
  } // -------------- zy-direction ---------------------------
 //------- the top of the rocket ------------------------------
sphere{ <0,0,0>,0.25 
        scale <1,1.5,1>
        translate<0,1.5,0>
        texture{Chrome_Metal}}
 //------------------------------------------------------------
 //----------------- ready for take off:
rotate<0,0,0> translate<0,0,0>} //end of union
//----------------------------------------------------------end


Click here for the complete scene description
for POV-Ray: ".txt" file or ".pov" file


Pawn overview Rocket 2

© Friedrich A. Lohmüller, 2003     email email: (legacy email redacted)