• Advertisement

Archived

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

radiosity question

This topic is 5592 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

to calculate the form factor i need to know the area of the two current patches. what is exactly meant by area ? if i understood it correctly in the tutorials, it must be scalar value.

Share this post


Link to post
Share on other sites
Advertisement
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

  • Advertisement