Contents User Forum Source Index APIs by Task APIs by Level Data


G3D::Texture::PreProcess Class Reference

#include <Texture.h>

List of all members.

Public Member Functions

 PreProcess ()

Static Public Member Functions

static const PreProcessdefaults ()
static const PreProcessnormalMap ()
static const PreProcessquake ()

Public Attributes

float brighten
bool computeNormalMap
bool normalMapLowPassBump
bool normalMapScaleHeightByNz
float normalMapWhiteHeightInPixels
float scaleFactor


Constructor & Destructor Documentation

G3D::Texture::PreProcess::PreProcess (  )  [inline]


Member Function Documentation

static const PreProcess& G3D::Texture::PreProcess::defaults (  )  [inline, static]

static const PreProcess& G3D::Texture::PreProcess::normalMap (  )  [inline, static]

static const PreProcess& G3D::Texture::PreProcess::quake (  )  [inline, static]


Member Data Documentation

Amount to brighten colors by (e.g., useful for Quake textures, which are dark).

Brightening happens first of all preprocessing.

If true, treat the input as a monochrome bump map and compute a normal map from it where the RGB channels are XYZ and the A channel is the input bump height.

If computeNormalMap is true, then this blurs the elevation before computing normals.

Amount to resize images by before loading onto the graphics card to save memory; typically a negative power of 2 (e.g., 1.0, 0.5, 0.25).

Scaling happens last of all preprocessing.


The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:48 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo