Difference between revisions of "HowTo:Use the plane object"

From POV-Wiki
Jump to navigation Jump to search
(New page: ==The Plane== In POV a plane is considered to have a volume, any point that is "under" the plane is inside, and any point that is "above" the plane is outside. This becomes important when ...)
(No difference)

Revision as of 02:38, 26 December 2007

The Plane

In POV a plane is considered to have a volume, any point that is "under" the plane is inside, and any point that is "above" the plane is outside. This becomes important when you use a plane in CSG. A plane is defined in POV by a direction vector, and a float distance. The direction vector indicates the "up" direction, and the distance is how far in that direction from the origin the surface begins.

#include "colors.inc"
plane {y,-1
   pigment {checker White Tan}
}