..hey guys..I saw lightmaping listed on features page....how to do that guys? Im using 3DSMAX as a modeling tool, but if not related to Max, how to do lightmaping in GLBasic?? Thank you in advance guys..
You would need a lightmap as a 2nd texture and simply set it with X_SETTEXTURE image_id, lightmap_id
However, the texture coordinates of both are the same. I should change this, maybe.
Thank you very much mr. Gernot..may I know please, wich file format for geometry i have to use, in order to properly apply 2nd mapping channel? Thank you in advance ...
It doesn't work, yet. Which programs can create lightmaps, and what file format are they using? I don't know.
..oh..im asking because none of listed supported 3d file formats cant support 2UV map sets...thats why im a bit confused, how to do lightmapping then, if base mesh geometry cant support 2 UV map channels...I can create lightmaps with 3dsmax and export main file as a .X for example..but X file cant support 2 UV map sets, so..how??
gile(s) are good for that, but i doesn´t work with such maps at the moment.
I have no idea. Please see if you find some example in C/C++ and see what file format they use. I'll build an importer then.
look at the bottom third: http://wiki.delphigl.com/index.php/Tutorial_Lektion_7
perhaps it helps.
I know "how" to do it, just not what program to use.
mmmm gile(s) makes lightmaps too.
i know it calculates the lightmap(texture) with virtual lights.
but it´s not my coding/design area at this time.
..Lightmaps creation arent problem..Giles, 3dsmax, Maya..whatever, you can make it with it..what is a problem is file format you can use it with (regarding use of 2nd UVmap channel)..only geometry so far I know that support 2UVmap channels is .B3D (supported by the Giles, 3dsmax, Maya, Lightwave..you name it)..other than that format, I have no idea wich one can support 2 UVmap sets...any chance to get support for this character/level geometry file format?..it will be great to have ability to blend GI maps/similar way as lightmaps/ over geometry and use of real time shadows at same time in GLBasic..very cool and handy...
OK, let's see if we cam make a .b3d import filter.
QuoteIt is not related to the Blitz3D engine's .b3d files - the 'B' here doesn't stand for anything, other than "Ben's 3D Format."
B3D, I was pointing is Blitz3D format...only one I know that can support 2 UVmap sets, and have quality exporters for pretty much every 3D modeling package..it will be great to be able to use it in GLBasic, if some other format with supported 2 UV map sets doesnt exist..practically if supported GLbasic will be straight connected to 3dsmax 7,8,9, Lightwave, Maya, Giles...etc..
..any news here regarding format supported??