Jump to content
  • Advertisement
Sign in to follow this  
s3mt3x

Creating Ligh Maps - Please help :)

This topic is 4500 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

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!