Advertisement

Lumel world coordinates

Started by May 27, 2001 09:14 AM
-1 comments, last by BLZBub 23 years, 8 months ago
Hi there! I''m trying to calculate the centre of a lumel for lighting calculations but I''m struggling to do the maths to calculate the position in world space. I have a polygon with n vertices (normally 3, 4 or 5) and a rectangluar lightmap. The lightmap texture coordinates are abitrary (always between 0 and 1). I have the X,Y coords of the lumel on the light map. Hope you guys can help.

This topic is closed to new replies.

Advertisement