Photon Engine 2.0.0-beta
A physically based renderer.
|
Defines basic shapes.
More...Defines basic shapes.
Basic geometry utilities.
A standalone data container.
If there is a ball in the scene, we can create a spherical geometry to represent its shape; if there is a piece of paper on the table, we can use a rectanguler geometry to model it. Geometries are the barebone of a scene: materials, lights, physical motions… are all built on top of geometries. They are basically the heart of a virtual world.
Many of the geometric primitives in this directory are designed to be easy-to-use and with low overhead with respect to initialization and memory footprint. The geometries are represented in their most "convenient" space, i.e., the coordinate system that helps to meet the aforementioned requirements (detailed information is provided in each geometry's own documentation).
The interfaces provided by the geometry classes, however, should be always considered to be within Cartesian space (unless specifically stated otherwise).