Sign in to follow this  
DickieChen

lightmap GENERATION CODE

Recommended Posts

DickieChen    100
Hello everyone,
I'm learning lightmap..and I have already read this article which was suggested:
http://www.flipcode.com/archives/Light_Mapping_Theory_and_Implementation.shtml
also this:
http://www.flipcode.com/archives/Lightmaps_Static_Shadowmaps.shtml
There's many links broken,in addition to this,I found it helpless because there's no real code..I even don't know where to start,how to generate lightmap..
I also found that there's little tutorials about lightmap..which is useful
Could anyone tell me how to generate lightmap?or some links..I just need the souce code..thanks..

Share this post


Link to post
Share on other sites
jpventoso    178
I used the first link you posted to build my lightmap generator. But I did it in Pascal, if you think you could use my Pascal code I can paste it for you.
Regards,

Share this post


Link to post
Share on other sites
phresnel    953
Quote:
I found it helpless because there's no real code

So there are four possible, not exclusive problems:

0) You are not good enough at programming (yet)
1) You don't understand the articles (yet) or have not tried to hard enough
2) The articles are bad
3) You have not googled hard enough

Which option(s) would fit you the most?


edit: side note: Bumping topics after just 1.5 hours is discouraged in the general concensus of this site

[Edited by - phresnel on December 3, 2010 5:39:30 AM]

Share this post


Link to post
Share on other sites
DickieChen    100
Quote:
Original post by phresnel
edit: side note: Bumping topics after just 1.5 hours is discouraged in the general concensus of this site


sorry.I don't know that.

Quote:
Original post by phresnel
So there are four possible, not exclusive problems:

0) You are not good enough at programming (yet)
1) You don't understand the articles (yet) or have not tried to hard enough
2) The articles are bad
3) You have not googled hard enough

Which option(s) would fit you the most?


Thank you.I read the article again,the only thing that I didn't know is how to Calculating / retrieving light map texture co-ordinates,because the links at the bottom was broken.
http://www.flipcode.com/cgi-bin/msg.cgi?showThread=06June2000-LightmapStorage&forum=askmid&id=-1
So my program couldn't run..

Quote:
Original post by jpventosoI used the first link you posted to build my lightmap generator. But I did it in Pascal, if you think you could use my Pascal code I can paste it for you.
Regards,

Yes,anyway,just tell me how to calculate light map texture co-ordinates(I searched GOOGLE,and I found 3DSMAX,OPENGL,V-RAY and even some 3DEffect editor),thanks a lot.

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