RE: [Algorithms] Lightmap Terrain
Brought to you by:
vexxed72
From: <sro...@te...> - 2000-08-25 14:58:36
|
Now my light is static (sun dont move) but i will modify that for use dynamic soon like you re-calculate only the visible chunk when and only when the sun change about 5 degree You dont really need to calculate that on each frame and each degree, that could be a solution and store the lightmap on lightmap array to track your data anytime. so just put the color(lightmap) on the vertex when rendering for static object this could be added into the lightmap easyly i think :) Corrosif -----Original Message----- From: gda...@li... [mailto:gda...@li...]On Behalf Of Leigh McRae Sent: Friday, August 25, 2000 9:29 AM To: gda...@li... Subject: Re: [Algorithms] Lightmap Terrain I have seen people reply with many good ideas on this lightmap thing so I am guessing that many people are going with lightmaps for terrain. I am wondering if these people have a fixed position for the main light source such as a sun. I am currently using vertex lighting as it was very quick to get going and it looks good even with a LOD algorithm. Are lightmaps being generated as the sun moves? Do the lightmaps light static objects also? I was also worried of loosing a multi-texture to lighting when I could use it for noise or something else. What about DOT3, does anyone have an idea how fast it would be? Leigh ----- Original Message ----- From: <sro...@te...> To: <gda...@li...> Sent: Thursday, August 24, 2000 3:54 PM Subject: [Algorithms] Lightmap Terrain > Hi! > > I trying to find how to generate a lightmap/illumination/shadow on a > terrain. > Do you know some good tutorial/code/links talking about that? > > I want something to generate a lightmap on a (1025x1025 terrain). A good > generation > if possible like compute the the light from a point. I want generate the > lightmap > just before the use of the terrain and i dont want something that i need to > pre-calculate and put the result on a file or something like. > > Thanks, > Corrosif > > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > http://lists.sourceforge.net/mailman/listinfo/gdalgorithms-list > _______________________________________________ GDAlgorithms-list mailing list GDA...@li... http://lists.sourceforge.net/mailman/listinfo/gdalgorithms-list |