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). |
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().
Definition at line 268 of file RENDER.H.
Referenced by AssignMappingCoordinatesToVertices(), BumpByCoordinates(), 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 |
Definition at line 276 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), and SetupImageMap().
BOOL bLoadedR |
Definition at line 276 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), and SetupImageMap().
BOOL bLoadedB |
Definition at line 276 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), and SetupImageMap().
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 |
BOOL bShaded |
BOOL bDecal |
short pp |
Definition at line 279 of file RENDER.H.
Referenced by CompleteMovieMapLoading(), FreeMovieMapImages(), GetCommand(), GetPixelValue(), MapByCoordinates(), MapEnvironment(), MapEnvironmentInDirection(), MapFromProjection(), and SetupImageMap().
short rp |
Definition at line 279 of file RENDER.H.
Referenced by CompleteMovieMapLoading(), FreeMovieMapImages(), GetCommand(), GetPixelValue(), MapMirror(), and SetupImageMap().
short bp |
Definition at line 279 of file RENDER.H.
Referenced by BumpByCoordinates(), CompleteMovieMapLoading(), FreeMovieMapImages(), GetCommand(), GetPixelValue(), and SetupImageMap().
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 |
double bumpy |
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 |
double rd |
short xmax |
Definition at line 282 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), LoadSingleRenderImageMap(), MapByCoordinates(), MapEnvironment(), MapEnvironmentInDirection(), MapFromProjection(), and SetupImageMap().
short ymax |
Definition at line 282 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), LoadSingleRenderImageMap(), MapByCoordinates(), MapEnvironment(), MapEnvironmentInDirection(), MapFromProjection(), and SetupImageMap().
short xmaxrefl |
Definition at line 282 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), LoadSingleRenderImageMap(), MapMirror(), and SetupImageMap().
short ymaxrefl |
Definition at line 282 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), LoadSingleRenderImageMap(), MapMirror(), and SetupImageMap().
short xmaxbump |
Definition at line 282 of file RENDER.H.
Referenced by BumpByCoordinates(), CheckSingleRenderImageMap(), CompleteMovieMapLoading(), LoadSingleRenderImageMap(), and SetupImageMap().
short ymaxbump |
Definition at line 282 of file RENDER.H.
Referenced by BumpByCoordinates(), CheckSingleRenderImageMap(), CompleteMovieMapLoading(), LoadSingleRenderImageMap(), and SetupImageMap().
short xmaxtran |
Definition at line 282 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), LoadSingleRenderImageMap(), MapTransByCoordinates(), and SetupImageMap().
short ymaxtran |
Image dimensions.
Definition at line 282 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), LoadSingleRenderImageMap(), MapTransByCoordinates(), and SetupImageMap().
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 |
Definition at line 287 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), MapByCoordinates(), MapEnvironment(), MapEnvironmentInDirection(), MapFromProjection(), and SetupImageMap().
unsigned char * p24G |
Definition at line 287 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), MapByCoordinates(), MapEnvironment(), MapEnvironmentInDirection(), MapFromProjection(), and SetupImageMap().
unsigned char * p24B |
Definition at line 287 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), MapByCoordinates(), MapEnvironment(), MapEnvironmentInDirection(), MapFromProjection(), and SetupImageMap().
unsigned char* p24Rrefl |
Definition at line 288 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), MapMirror(), and SetupImageMap().
unsigned char * p24Grefl |
Definition at line 288 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), MapMirror(), and SetupImageMap().
unsigned char * p24Brefl |
Definition at line 288 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), MapMirror(), and SetupImageMap().
unsigned char* p24Rbump |
Definition at line 289 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), and SetupImageMap().
unsigned char * p24Gbump |
Definition at line 289 of file RENDER.H.
Referenced by BumpByCoordinates(), CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), and SetupImageMap().
unsigned char * p24Bbump |
Definition at line 289 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), and SetupImageMap().
unsigned char* p24Rtran |
Definition at line 290 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), MapTransByCoordinates(), and SetupImageMap().
unsigned char * p24Gtran |
Definition at line 290 of file RENDER.H.
Referenced by CheckSingleRenderImageMap(), CompleteMovieMapLoading(), FreeMovieMapImages(), LoadSingleRenderImageMap(), MapTransByCoordinates(), and SetupImageMap().
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().