POV-Ray : Documentation : 2.4.1.2 Box
  POV-Ray 3.6 Documentation Online View  
2.4.1.1 Blob   2.4.1.3 Cone

2.4.1.2 Box

A simple box can be defined by listing two corners of the box using the following syntax for a box statement:

BOX:
    box
    {
        <Corner_1>, <Corner_2>
        [OBJECT_MODIFIERS...]
    }

The geometry of a box.

Where <Corner_1> and <Corner_2> are vectors defining the x, y, z coordinates of the opposite corners of the box.

Note: that all boxes are defined with their faces parallel to the coordinate axes. They may later be rotated to any orientation using the rotate keyword.

Boxes are calculated efficiently and make good bounding shapes (if manually bounding seems to be necessary).

2.4.1.1 Blob   2.4.1.3 Cone


Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.