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
    - House
    - Roof
    - Tower
    - Castle
    - Window + Door
    - Stairs
    - Pyramid
    - Columns
    - Arch
      - Arch (Door,Bridge)
      - 4 Archs on columns
    - Fences
    - Furnitur
    - Household
  - Engineering
                                       
 
Arch

Arch          

The construction of an arch (for doors or bridges).
Objects: "box", "cylinder"
Methods: "difference".
Click here for an example!
View from frontside (View in the z direction)
View from right (View in -x direction)

The construction in details :

1. An arch as a difference of a box and a cylinder:
The shape to subtract must reach unambigiously over the border surfaces of the basic shape from where to subtract it - avoid coincident surfaces!
//-------------------- arch -------------
difference{
   box {<-1,0,-0.1>,< 1,1,0.1>}
   cylinder {<0,0,-0.15>,<0,0,0.15>,0.9 }
   texture{pigment{color White}
           normal {bumps 0.4 scale 0.007}
           finish {phong 1}}
   scale <1,1,2>
   rotate <0,0,0>
   translate <0,0,0>}
//----------------------------------- end
Example Arch
About the texture of the ground look at the description of this scene.
Click here for the complete scene description for POV-Ray:
"povarc0.txt" or "povarc0.pov"

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