Sign in to follow this  
s3mt3x

Creating Ligh Maps - Please help :)

Recommended Posts

s3mt3x    118
Hi Guys, I'm trying to get my head around the actual process of creating lightmaps for my scene. I'm struggling with actually creating them (not rendering them). So for example, say I have a single triangle in my scene and a point light at a given distance. How do I get the 3D positions at a specified UV position on the triangle? I am assuming I need to project the UV's back onto the surface of the triangle - but how??? Any help would be really appreciated, Kind Regards, Chris Evans

Share this post


Link to post
Share on other sites
zedzeek    528
youre best seacrhing on the internet for creating lightmaps info, its quite detailed + quite time consuming. youve gotta decide also what lighitng method to use eg radiosity, sinple raytraced etc

Quote:
How do I get the 3D positions at a specified UV position on the triangle?

use barycentric coordinates

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this