Hi,
I want to export light maps from maya to airplay.
1. I have created two UV Sets.
2. Connected the material color (file texture 1) to the color slot.
3. Other light Map (file texture 2) to the ambient color texture.
4. Through the UV Linker I connected the first file texture to the UV Set1 and the file texture two to the UV Set2.
so did all that is in the documentation but still i am not getting the result perhaps you could explain the whole procedure in detail.
Thanks in advance.












Hi,
Does the second UV set have any uv's in it? When I tested this out, I found that if there are no uv's in a set it ignores it.
Also Light mapping only works in hardware, you need to change the viewer to Hardware Only mode (menu: Viewer/Hardware Only) to see the result.
Other things to check:
Does the MTL file output have a line "texture1" with the correct texture?
Does the GEO file have a second section "CUVs" with the line "setID 1"?
Do the index tuples in the polygons (i.e. {1,2,5,3,-1}) have a 4th parameter that is not -1?
PHilip
hi thanks for the reply
yes your fourth point:
Do the index tuples in the polygons (i.e. {1,2,5,3,-1}) have a 4th parameter that is not -1?
yes, it is equal to -1 in all the enteries of the tuples what does that mean and how to correct it.
thanks.
Hi,
I suggest you post a geo file here.
All I can think of is that your second UV set does not have any uv's in it, when you create them in maya, initially they have no UV's, you then need to switch to the new uvset and apply a mapping to it.
Philip