Archived

This topic is now archived and is closed to further replies.

IStrikerI

radiosity question

Recommended Posts

Guest Anonymous Poster
The ''area'' in this case is the surface area.

For example, the surface area of a rectangular patch would be ''length * width''

Share this post


Link to post
Share on other sites
You can use the magnitude of the cross product to calculate area as well.
Eg. From my radiosity code

float area = (v1 ^ v2).length();
if ( currPolyCount == 3 )
{
area /= 0.5f;
}

Share this post


Link to post
Share on other sites