Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csRadPoly Class Reference

A radiosity polygon, containing lightmap patches, the lumels. More...

#include <radiosty.h>

Inheritance diagram for csRadPoly:

csRadElement csObject iObject iBase List of all members.

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 ()

Detailed Description

A radiosity polygon, containing lightmap patches, the lumels.

Radiosity rendering specific info is kept here.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000