#include <radiosty.h>
Inheritance diagram for csRadPoly:
Public Methods | |
csRadPoly (csPolygon3D *original, csSector *sector) | |
~csRadPoly () | |
const csVector3& | GetNormal (int x, int y) const |
get normal vector for polygon. | |
csPolygon3D* | GetPolygon3D () const |
get original csPolgyon3D for this radpoly. | |
void | CalcLumel2World (csVector3 &res, int x, int y) |
Get world coordinates for a lumel -- slow method. | |
virtual void | Lumel2World (csVector3 &res, int x, int y) |
Get world coordinates for a lumel. | |
csSector* | GetSector () const |
return the sector of this element. | |
virtual void | GetCoverageMatrix (csFrustumView *lview, csCoverageMatrix *shadow_matrix) |
Populates the shadow coverage Matrix for this element. | |
SCF_DECLARE_IBASE_EXT (csRadElement) | |
Protected Methods | |
virtual iMaterialWrapper* | GetMaterialWrapper () |
return the material handle for this polygon. | |
virtual csColor | GetFlatColor () const |
return the flat color for the polygons texture. | |
virtual void | Setup () |
Radiosity rendering specific info is kept here.