class LightCache
|
Light Cache for Media calculation
More... |
|
|
Public Types
Public Methods
Public Members
Private Types
Private Methods
Private Members
Light Cache for Media calculation
| enum interpolationtype {EXACT, NEAREST, TRILINEAR_BEST, TRILINEAR}
| interpolationtype |
Type of interpolation:
EXACT: no interpolation
NEAREST: nearest point aligned on grid
TRILINEAR_BEST: trilinear interpolation but do not take
additional samples
TRILINEAR: full trilinear interpolation with sampling of all
necessary samples
| interpolationtype itype
| itype |
LightCache (const Scene* s)
| LightCache |
[private]
[private]
void setType (interpolationtype type, int size)
| setType |
Set cache interpolation type and cache size.
Looks up a point given by location and returns the list of lights
there. Lookup is done according to the cache's interpolation type.
Parameters:
| location | lookup point
|
| err | returns approx. maximum error in lookup
|
| precision | space tolerance for lookup
|
[private]
MapEntry holds one element of the cache.
[private]
Holds the data in a hash data structure.
| static const int sondsize
| sondsize |
[private]
[private]
[private]
[private]
- Author: Micha Riser
- Generated: micha@laptop on Thu Oct 24 20:25:24 2002, using kdoc 2.0a53.