Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmüller
    POV-Ray Examples - How To Make Objects for POV-Ray
Italiano Italiano
Français français
Deutsch Deutsch

Home
- POV-Ray Tutorial
  - POV-Ray Examples
   Index of Content
  - Geometry
  - Architecture
  - Engineering
    - Ladder
    - Pylons
    - Railing
    - Bridge
    - Tubes
    - Tube Fork
    - Tube Stopcock
    - Chain
    - Coil of Wire
    - Torpedo
    - Cruise Missile
    - Rocket
      - 1. Rocket 1
      - 2. Rocket 2
    - Wheel
    - Truck
    - Propeller
    - Airplanes
    - Canoe
    - Guitar Body
    - 7-Segment Display
    - Ribbon Cable
    - Cable Harness
                                       

rocket

Rocket 1
Example for the using of the "union"-statement
Objects: sphere, cone, prism.
Methods: 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 {diffuse 0.9 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 {diffuse 0.9 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: "povroc1.txt" or "povroc1.pov"

top

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