Main Page | Class Hierarchy | Class List | File List | Class Members

LightCache Class Reference

#include <lightcache.h>

List of all members.

Public Member Functions

 LightCache (const Scene *s)
void setType (int size)
LightListlookup (const Vector3 &location, CLR err, FLT &precision, FLT variance_keep_factor)

Static Public Member Functions

int sampleCounts ()


Detailed Description

Light Cache for Media calculation
Author:
Micha Riser


Member Function Documentation

LightList * LightCache::lookup const Vector3 location,
CLR  err,
FLT &  precision,
FLT  variance_keep_factor
 

Looks up a point given by location and returns the list of lights there.

Parameters:
location lookup point
err returns approx. maximum error in lookup
precision space tolerance for lookup

void LightCache::setType int  size  ) 
 

Set cache interpolation type and cache size.


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 12:16:06 2005 for raytracer.kdevelop by doxygen 1.3.8