Public Methods |
| csRadiosity (csEngine *current_engine, iProgressMeter *meter) |
| create all radiosity data.
|
| ~csRadiosity () |
| get rid of radiosity data.
|
void | DoRadiosity () |
| Does the whole radiosity thing. This is the one to call.
|
bool | DoRadiosityStep (int steps) |
| Do the radiosity a few steps at a time. More...
|
csPolygon3D* | GetNextPolygon () |
| For step-by-step radiosity: return next polygon to process.
|
void | ToggleShowDeltaMaps () |
| For debugging: temporarily show all delta maps. More...
|
void | RestoreStaticMaps () |
| Restore the static maps after doing ToggleShowDeltaMaps(). More...
|
csRadElement* | FetchNext () |
| get next best poly to shoot, or NULL if we should stop.
|
void | StartFrustum () |
| Start a sector frustum to shoot from the source. callback is used.
|
void | ProcessDest (csRadElement *dest, csFrustumView *lview) |
| found a destination polygon, test and process it.
|
void | ShootRadiosityToElement (csRadElement *dest) |
| Shoot light from one polygon to another.
|
void | PrepareShootSource (csRadElement *src) |
| Prepare to shoot from source poly.
|
bool | PrepareShootDest (csRadElement *dest, csFrustumView *lview) |
| Prepare to shoot from source to dest, if false skip dest.
|
void | PrepareShootSourceLumel (int sx, int sy, int suv) |
| Prepare to shoot from a lumel.
|
void | ShootPatch (int rx, int ry, int ruv) |
| Shoot it, dest lumel given.
|
void | ApplyDeltaAndAmbient () |
| Apply all deltamaps if stopped early, and add ambient light.
|
void | RemoveAmbient () |
| Remove old ambient, for now.
|
Static Public Attributes |
bool | do_static_specular |
| Configuration information. More...
|
float | static_specular_amount |
| amount of specular to add 0..1 is a sane setting.
|
int | static_specular_tightness |
| Bigger value gives smaller highlight. More...
|
float | colour_bleed |
| Multiplier for amount of texture colour used. More...
|
float | stop_priority |
| when priority gets below this value calculation will stop. More...
|
float | stop_improvement |
| The improvement factor in priority when calculation can stop. More...
|
int | stop_iterations |
| max number of iterations, after that amount of polygons processed stop.
|
int | source_patch_size |
| light will be shot from n by n lumels.
|