Drag[en]gine Game Engine  1.0
deBillboard.h File Reference

Classes

class  deBillboard
 Billboard Resource. Billboards are rectangular objects that are different from components in that they are flat and oriented relative to the camera. Billboards can be locked in which case they are oriented along an axis or free in which case they are oriented around their position. Furthermore billboards are either spherical in which case they are oriented relative to the camera position or planar in which case they are oriented relative to the camera near plane. The image of the billboard is either a skin or a dynamic skin and has a 2 dimensional size as well as a 2 dimensional offset relative to the position and orientation axis. The y component of the size and offset moves along the orientation axis and therefore is aligned along the up direction in the camera view. The x component moves perpendicular to the orientation axis relative to the camera view and therefore is aligned along the right direction in the camera view. By default billboards are axis oriented with a world-up axis and are spherical. More...