Renderer_IMAP_tag Struct Reference
[Renderer]


Detailed Description

Image map structure, as used in renderer.

This structure defines an image map in a format that best suits the renderer module. Image maps may also be refered to as texture maps (AKA OpenGL) or the older terminology: A Brush

Definition at line 266 of file RENDER.H.


Data Fields

vector pin
vector xin
vector yin
 Origin and edge vectors of the map (will not be used when vertices have mapping coordinates.).
vector n
vector p
vector x
vector y
 Normal to map plane and map vectors after object tranasformation have been applied.
char filename [256]
 Filename of the surface image/texture map.
char frefl [256]
 Filename of the reflection mao image.
char fbump [256]
 Filename of any bump map.
char ftran [256]
 Filename for any transparecy map.
short map
 type of map - plane cyl sphere etc
short moziac
 mozaic 0 normal 1 mozaic
BOOL bAnimS
BOOL bAnimR
BOOL bAnimB
BOOL bAnimT
 Flag indicates animated map (AVI).
BOOL bLoadedS
BOOL bLoadedR
BOOL bLoadedB
BOOL bLoadedT
 Indicates that the map has been loaded and is OK.
BOOL bTiled
BOOL bShaded
BOOL bDecal
 Map flags.
short pp
short rp
short bp
short tp
 Map percentage - integer (0 - 100).
double bumpx
double bumpy
double angle
 Angle (CLY type maps only) and Bump scales.
double pd
double rd
 Surface and refl 0-1 scale.
short xmax
short ymax
short xmaxrefl
short ymaxrefl
short xmaxbump
short ymaxbump
short xmaxtran
short ymaxtran
 Image dimensions.
unsigned char kt
unsigned char kc [3]
 Key colour - used for Decaling effect.
unsigned char * p24R
unsigned char * p24G
unsigned char * p24B
unsigned char * p24Rrefl
unsigned char * p24Grefl
unsigned char * p24Brefl
unsigned char * p24Rbump
unsigned char * p24Gbump
unsigned char * p24Bbump
unsigned char * p24Rtran
unsigned char * p24Gtran
unsigned char * p24Btran
 Pointers to the map images (per colour).

Field Documentation

Definition at line 267 of file RENDER.H.

Referenced by AssignMappingCoordinatesToVertices(), and GetCommand().

Definition at line 267 of file RENDER.H.

Referenced by AssignMappingCoordinatesToVertices(), and GetCommand().

Origin and edge vectors of the map (will not be used when vertices have mapping coordinates.).

Definition at line 267 of file RENDER.H.

Referenced by AssignMappingCoordinatesToVertices(), and GetCommand().

Definition at line 268 of file RENDER.H.

Referenced by AssignMappingCoordinatesToVertices(), and MapFromProjection().

Definition at line 268 of file RENDER.H.

Referenced by AssignMappingCoordinatesToVertices(), GetCommand(), and MapFromProjection().

Normal to map plane and map vectors after object tranasformation have been applied.

Definition at line 268 of file RENDER.H.

Referenced by AssignMappingCoordinatesToVertices(), BumpByCoordinates(), GetCommand(), and MapFromProjection().

char filename[256]

Filename of the surface image/texture map.

Definition at line 269 of file RENDER.H.

Referenced by CompleteMovieMapLoading(), GetCommand(), and SetupImageMap().

char frefl[256]

Filename of the reflection mao image.

Definition at line 269 of file RENDER.H.

Referenced by CompleteMovieMapLoading(), and SetupImageMap().

char fbump[256]

Filename of any bump map.

Definition at line 269 of file RENDER.H.

Referenced by CompleteMovieMapLoading(), and SetupImageMap().

char ftran[256]

Filename for any transparecy map.

Definition at line 269 of file RENDER.H.

Referenced by CompleteMovieMapLoading(), and SetupImageMap().

short map

type of map - plane cyl sphere etc

Definition at line 273 of file RENDER.H.

Referenced by AssignMappingCoordinatesToVertices(), GetPixelValue(), and MapFromProjection().

short moziac

mozaic 0 normal 1 mozaic

Definition at line 274 of file RENDER.H.

Referenced by BumpByCoordinates(), GetCommand(), MapByCoordinates(), MapFromProjection(), and MapTransByCoordinates().

BOOL bAnimS

Definition at line 275 of file RENDER.H.

Referenced by CompleteMovieMapLoading(), FreeMovieMapImages(), and SetupImageMap().

BOOL bAnimR

Definition at line 275 of file RENDER.H.

Referenced by CompleteMovieMapLoading(), FreeMovieMapImages(), and SetupImageMap().

BOOL bAnimB

Definition at line 275 of file RENDER.H.

Referenced by CompleteMovieMapLoading(), FreeMovieMapImages(), and SetupImageMap().

BOOL bAnimT

Flag indicates animated map (AVI).

Definition at line 275 of file RENDER.H.

Referenced by CompleteMovieMapLoading(), FreeMovieMapImages(), and SetupImageMap().

BOOL bLoadedS

BOOL bLoadedR

BOOL bLoadedB

BOOL bLoadedT

Indicates that the map has been loaded and is OK.

Definition at line 276 of file RENDER.H.

Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), and SetupImageMap().

BOOL bTiled

Definition at line 278 of file RENDER.H.

Referenced by GetPixelValue().

BOOL bShaded

Definition at line 278 of file RENDER.H.

Referenced by GetPixelValue().

BOOL bDecal

Map flags.

Definition at line 278 of file RENDER.H.

Referenced by GetPixelValue().

short pp

short rp

short bp

short tp

Map percentage - integer (0 - 100).

Definition at line 279 of file RENDER.H.

Referenced by CompleteMovieMapLoading(), FreeMovieMapImages(), GetCommand(), GetPixelValue(), GetRowPixelValue(), and SetupImageMap().

double bumpx

Definition at line 280 of file RENDER.H.

Referenced by BumpByCoordinates().

double bumpy

Definition at line 280 of file RENDER.H.

Referenced by BumpByCoordinates().

double angle

Angle (CLY type maps only) and Bump scales.

Definition at line 280 of file RENDER.H.

Referenced by AssignMappingCoordinatesToVertices(), and MapFromProjection().

double pd

Definition at line 281 of file RENDER.H.

Referenced by GetPixelValue().

double rd

Surface and refl 0-1 scale.

Definition at line 281 of file RENDER.H.

Referenced by GetPixelValue().

short xmax

short ymax

short xmaxrefl

short ymaxrefl

short xmaxbump

short ymaxbump

short xmaxtran

short ymaxtran

unsigned char kt

Definition at line 286 of file RENDER.H.

unsigned char kc[3]

Key colour - used for Decaling effect.

Definition at line 286 of file RENDER.H.

Referenced by MapByCoordinates(), and MapFromProjection().

unsigned char* p24R

unsigned char * p24G

unsigned char * p24B

unsigned char* p24Rrefl

unsigned char * p24Grefl

unsigned char * p24Brefl

unsigned char* p24Rbump

unsigned char * p24Gbump

unsigned char * p24Bbump

unsigned char* p24Rtran

unsigned char * p24Gtran

unsigned char * p24Btran

Pointers to the map images (per colour).

Definition at line 290 of file RENDER.H.

Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), MapTransByCoordinates(), and SetupImageMap().


The documentation for this struct was generated from the following file:

Generated on Sun Apr 27 14:20:19 2014 for OpenFX by  doxygen 1.5.6