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

cube overview 4 arches

Arch

The Construction of an Arch (for doors or bridges).

Objects:    "box", "cylinder".
Methods: "difference"
View from frontside (View in the z direction)
View from right (View against the 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 {ambient 0.15 diffuse 0.85 phong 1}}
   scale <1,1,2> 
   rotate <0,0,0> 
   translate <0,0,0>}
//------------------------------------------- end ----
Sample Arch
About the texture of the ground look at the description of this scene.
Click here for the complete scene description for POV-Ray:
".txt" file or ".pov" file


cube overview 4 arches

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