Main Page Modules Alphabetical List Data Structures Data Fields
RtLtMapLightingSession Struct Reference
[RtLtMap]
Collaboration diagram for RtLtMapLightingSession:
Detailed Description
The RtLtMapLightingSession structure holds information to be passed to RtLtMapIlluminate. It is used to parameterize the lighting process.
The RtLtMapLightingSession structure encapsulates a set of objects and keeps track of the proportion of samples, within that set, that have already been lit by calls to RtLtMapIlluminate. Each call performs lighting for one 'slice' of the whole 'session'. If the camera member is non-NULL, it is important that the camera is not moved between lighting slices.
The RtLtMapLightingSession is also passed to RtLtMapLightMapsCreate, RtLtMapLightMapsClear, RtLtMapLightMapsDestroy and RtLtMapAreaLightGroupCreate, though not all of the session structure's member will be used in each of these cases.
- See also:
-
RtLtMapIlluminate , RtLtMapLightMapsCreate , RtLtMapLightMapsClear , RtLtMapLightMapsDestroy , RtLtMapAreaLightGroupCreate
Field Documentation
|
|
An optional array of RpAtomic pointers, specifying which atomics to light. If this is NULL then all atomics in the world (or those inside the optional camera's frustum) will be lit. |
|
|
An optional pointer to a camera. The camera's frustum may be used to cull objects and/or triangles from the set of those to be processed. |
|
|
The length of the atomicList array. If this is set to '-1' then none of the atomics in the world will be lit. |
|
|
This specifies how many objects should be processed for the current slice. If it is set to zero, then all objects will be processed. |
|
|
The length of the sectorList array. If this is set to '-1' then none of the sectors in the world will be lit. |
| rpLtMapSampleMap* sampleMap
|
|
|
|
An optional array of RpWorldSector pointers, specifying which sectors in the world to light. If this is NULL, then all sectors in the world (or those inside the optional camera's frustum) will be lit. |
|
|
Lighting for the current slice should begin with this object. It is the user's responsibility to increment this value after each slice to process the next slice of objects. |
|
|
This specifies the supersampling value for this current lighting session. |
|
|
This specifies how many objects needs to be processed for the current session. Internal use only. |
|
|
This specifies how many lightmap samples will be lit in total for the world specified (this is filled in by RtLtMapIlluminate, not the calling function). |
|
|
This world is that in which collisions are performed during illumination (for the purposes of lighting visibility determination) |
© 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:46 2004.
Send Feedback