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

Castle 4: further expansions overview Fence

Roof

Construction of a Roof by Intensiv Use of "macro"

First Step:

A flat box and a bundle of cylinders:

The roofing tiles are simulated by a parallel cylinders placed by a while loop, textured with stripes.
Sample roof part1 600x450
roof part I
Description of this scene
for POV-Ray. Click here:
".txt" file or ".pov" file

Second Step:

Cutting off diagonally

The part of the roof after being rotated and translated to its final position is cut off by two diagonal planes to its final shape.
Sample roof part1 600x450
roof part II
Description of this scene
for POV-Ray. Click here:
".txt" file or ".pov" file

Last Step:

Placing the 4 quarters of the roof

After this all borders between these parts are covered by cylinders, which simulate the tileing of the ridge.
Sample roof part1 600x450
roof part III
Description of this scene
for POV-Ray. Click here:
".txt" file or ".pov" file

Castle 4: further expansions overview Fence

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