Library Defaults
This appendix details the various default values found in the RenderWare library. This includes the default values of global library parameters and the default values of RenderWare objects when first created.
|
Default |
Position |
[CREAL(0.0), CREAL(0.0),
CREAL(0.0)] |
Look At |
[CREAL(0.0), CREAL(0.0), CREAL(-1.0)] |
Look Right |
[CREAL(1.0), CREAL(0.0), CREAL(0.0)] |
Look Up |
[CREAL(0.0), CREAL(1.0), CREAL(0.0)] |
Viewport |
Position = [0, 0] Size = [0, 0] |
Viewwindow |
[CREAL(1.0), CREAL(1.0)] |
View Offset |
[CREAL(0.0), CREAL(0.0)] |
Near Clipping |
CREAL(0.05) |
Projection |
rwPERSPECTIVE |
Back Color |
[CREAL(0.0), CREAL(0.0), CREAL(0.0)] (Black) |
Backdrop |
NULL |
Backdrop Offset |
[0, 0] |
Backdrop Viewport |
Position = [0, 0] Size = [0, 0] |
Data |
NULL |
Image |
Device dependent |
|
Default |
Origin |
[CREAL(0.0), CREAL(0.0), CREAL(0.0)] in world coordinates |
Matrix |
Identity |
Joint Matrix |
Identity |
LTM |
Identity |
Owner |
The default scene |
Parent |
NULL |
Root |
The clump itself |
Data |
NULL |
First Child |
NULL |
Next Clump |
NULL |
Number of Vertices |
Defined at creation time |
Number of Polygons |
Defined at creation time |
Number of Children |
0 |
Number of UserDraws |
0 |
Tag |
0 |
Hints |
rwHS |
Axis Alignment |
rwNOAXISALIGNMENT |
State |
rwON |
Bounding Box |
Computed |
Viewport Rectangle |
Computed |
|
Default |
Stream |
stderr on Unix |
Assertion State |
rwON |
Message State |
rwON |
Script State |
rwOFF |
Severity |
rwINFORM |
Trace State |
rwOFF |
|
Default |
rwRENDERDEPTH |
8 or 16. Actual value is device specific |
rwINDEXEDRENDERING |
Non-zero if the current
render depth is 8 |
rwPALETTEBASED |
Non-zero if the output
device is palette based |
rwPALETTE |
Device dependent |
rwPALETTESIZE |
Device dependent |
rwFIRSTPALETTEENTRY |
Device dependent |
rwLASTPALETTEENTRY |
Device dependent |
|
Default |
Status |
E_RW_NOERROR |
Internal Error |
Undefined |
|
Default |
Current Camera |
NULL |
Shape Path |
Value of environment
variable "RWSHAPEPATH" or "" if the
environment variable is not set on DOS, MS Windows and
Unix |
Scenes |
One. The default scene |
Lights |
None |
Clumps |
None |
Cameras |
None |
Textures |
None |
Texture Dictionaries |
One on the Texture Dictionary stack. |
Rasters |
None |
Splines |
None |
UserDraws |
None |
Matrices |
One on the Scratch matrix stack, one on the Current Matrix stack and one on the Joint Matrix stack |
Materials |
One on the Material stack |
Texture Dithering |
rwAUTODITHER |
Texture Gamma |
rwON |
|
Default |
Type |
Defined at creation time |
Brightness |
Defined at creation time |
Color |
Defined at creation time (each of the red, green and blue components of the color are equal to the specified brightness) |
Position |
Defined at creation time for point and conical lights |
Vector |
Defined at creation time
for directional lights. |
Owner |
The default scene (as returned by RwDefaultScene()) |
Cone Angle |
CREAL(30.0) for conical
lights |
State |
rwON |
Data |
NULL |
|
Default |
Ambient |
CREAL(0.0) |
Diffuse |
CREAL(0.0) |
Specular |
CREAL(0.0) |
Light Sampling |
rwFACET |
Geometry Sampling |
rwSOLID |
Color |
[CREAL(0.0), CREAL(0.0),
CREAL(0.0)] |
Opacity |
CREAL(1.0) |
Texture |
NULL |
Texture Modes |
rwLIT |
|
Default |
Elements |
Identity |
|
Default |
Material |
Defined at creation time
by the Current Material |
Vertices |
Defined at creation time |
Center |
Computed |
Normal |
Computed |
Number of Sides |
Defined at creation time |
Owner |
Defined at creation time |
UV |
[CREAL(0.5), CREAL(0.5)] for all vertices |
Tag |
0 |
Data |
NULL |
|
Default |
Width |
Defined at creation time (either explicitly or by source image) |
Height |
Defined at creation time (either explicitly or by source image) |
Depth |
Equal to the current RenderWare render depth |
Stride |
Computed from the width |
Pixel Pointer |
Defined at creation time |
Pixel Values |
Undefined if created
with RwCreateRaster()
|
Data |
NULL |
|
Default |
Number of Clumps |
0 |
Number of Lights |
0 |
Data |
NULL |
|
Default |
Type |
Defined at creation time |
Points |
Defined at creation time |
Number of Points |
Defined at creation time |
Data |
NULL |
|
Default |
rwVERSIONSTRING |
Library dependent |
rwVERSIONMAJOR |
Library dependent |
rwVERSIONMINOR |
Library dependent |
rwVERSIONRELEASE |
Library dependent |
rwFIXEDPOINTLIB |
Non-zero for fixed point
library |
rwDEBUGGINGLIB |
Non-zero for debugging
library |
|
Default |
Name |
Computed for named
textures |
Frame |
0 |
Frame Step |
+1 |
Number of Frames |
Defined at creation time |
Raster |
Defined at creation time |
Mask |
Unmasked |
Dithering |
Defined by the global
dithering mode for a texture read by RwReadTexture() or |
Gamma Correction |
Defined by the global
gamma correction mode for a texture read by RwReadTexture() or |
Data |
NULL |
|
Default |
Textures |
None |
Search Mode |
rwGLOBAL |
|
Default |
Alignment |
Defined at creation time |
Call-back |
Defined at creation time |
Offset |
Defined at creation time |
Size |
Defined at creation time |
Type |
Defined at creation time |
Owner |
NULL |
Data |
NULL |
Vertex Index |
Undefined |
Parent Alignment |
Undefined |
|
Default |
Coordinates |
Defined at creation time |
Texture coordinates |
[CREAL(0.5), CREAL(0.5)] |
Normal |
Computed |
Viewport Position |
Computed |