b0n541.net - POV-Ray Macros

Valid XHTML 1.0 Strict CSS ist valide!

Crafted with jEdit

Arch Macros (arch.inc)

There are two macros in the include file that build an arch over a given distance.

Usage:

Include the arch macro include file in your scene file with

#include "arch.inc"

For an arch made with standard bricks call the macro Arch within your scene with the following parameters

Arch (span, inner arch height, outer arch height, brick height, minimal inner splice, front pattern, mortar depth, brick texture, mortar texture)

span: distance between the points the arch is laying over

inner arch height: inner height over points where the arch is laying over

outer arch height: outer height over points where the arch is laying over

brick height: is needed to calculate the number of layers

minimal inner splice: minimal splice between the bricks on the inner side of the arch

front pattern:

  1. only one brick is seen on the front
  2. alternating one or two half bricks are seen on the front
  3. alternating two three-quater bricks or three half bricks are seen on the front
  4. one brick and a half brick are seen on the front in an alternating order

mortar depth: how much the brick stands out of the mortar

brick texture: texture definition for the bricks

mortar texture: texture definition for the mortar

For an arch with wedge shaped stones call the macro WedgeBrickArch with the following parameters

WedgeBrickArch (span, inner arch height, outer arch height, number of layers, min inner splice, arch depth, brick texture)

span: distance between the points the arch is laying over

inner arch height: inner height over points where the arch is laying over

outer arch height: outer height over points where the arch is laying over

number of layers: is needed to calculate the size of the bricks

minimal inner splice: minimal splice between the bricks on the inner side of the arch

arch depth: depth of the arch

brick texture: texture definition for the bricks

See the file arch.pov how the macros are used to make the examples on the right.

Download macro (~4 KB)

Example 1
Example 2
Example 3
Example 4
Example 5

Example 6
Example 7
Example 8
Example 9

Example 10