In file include/igraph3d.h:

struct G3DPolygonDP

Structure containing all info needed by DrawPolygon (DP)

int alpha
AlphaValue of the polygon
float flat_color_r
Use this color for drawing (if txt_handle == NULL) instead of a texture.
G3DFogInfo fog_info[100]
Extra optional fog information.
float inv_aspect
Invert aspect ratio that was used to perspective project the vertices (1/fov)
G3DPolyNormal normal
The plane equation in camera space of this polygon. @@@ BAD NAME
int num
Current number of vertices.
G3DTexturePlane plane
Transformation matrices for the texture. @@@ BAD NAME
IPolygonTexture* poly_texture[4]
Handle to lighted textures (texture+lightmap) (for all mipmap levels)
ITextureHandle* txt_handle
The texture handle as returned by ITextureManager.
bool use_fog
Use fog info?
bool uses_mipmaps
true, if it is ok, to use mipmaps
G3DVertex vertices[100]
Vertices that form the polygon.
float z_value
z value (in camera space) of vertex[0]

Documentation

Structure containing all info needed by DrawPolygon (DP)
int num
Current number of vertices.

G3DVertex vertices[100]
Vertices that form the polygon.

G3DFogInfo fog_info[100]
Extra optional fog information.

bool use_fog
Use fog info?

float inv_aspect
Invert aspect ratio that was used to perspective project the vertices (1/fov)

ITextureHandle* txt_handle
The texture handle as returned by ITextureManager.

G3DTexturePlane plane
Transformation matrices for the texture. @@@ BAD NAME

G3DPolyNormal normal
The plane equation in camera space of this polygon. @@@ BAD NAME

float flat_color_r
Use this color for drawing (if txt_handle == NULL) instead of a texture.

IPolygonTexture* poly_texture[4]
Handle to lighted textures (texture+lightmap) (for all mipmap levels)

int alpha
AlphaValue of the polygon. Ranges from 0 to 100. 0 means opaque, 100 is comletely transparent.

bool uses_mipmaps
true, if it is ok, to use mipmaps

float z_value
z value (in camera space) of vertex[0]

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de