Quote:
I don't get it This isnt texture baking, and yes when you use it you cant use tiling textures in those models. THOUGH, its possible in some way with a plugin of milkshape and it already is able to use with A6: click here to jump to the thread whereas I mentioned how to apply tiled texture on models
Yea, I understand it's not texture baking as it's applied to level geometery. Texture baking takes the models uv map and flattens it while applying lighting, you can keep this new texture as one(and have a huge quality loss) or have the original and baked in 2 seperate mapping channels. What I meant above is that you can simply lightmap models by just painting on their basic UV map, which is what i'm doing right now. The method in the thread you shown wouldn't work as and alternative(for lightmap on tiling textures) as the uv map is still overlapping...
Quote:
Second set of uv coordinates? You mean that you can load *.asc uv meshes at runtime? This is already doable with vec_for_uv (VECTOR*, ENTITY*, var number); and vec_to_uv (VECTOR*, ENTITY*, var number); You need now to write a fileparser to read out that data from an asc file, it should be easy since it is only an ascii text file with the needed data.
I never looked into these commands as I thought it was just a replacement for the old my.u and my.v commands. Would you be able to have 2 sets of different uv coordinates for a model using this(one for the texture, second a flattened uv map for the lighting)? There would have to be 2 textures using 2 coordinate sets applied to the model at the same time... or, did you mean just swapping only one set of uv coordinates? I think the .mdl format can only have 1 uv map at a time, but perhaps you know of a way to apply the second set of coordinates in a shader?
Thanks in advance for the info, please keep up the great work. 
|