want to export light maps from maya to airplay

Home / Forums / Marmalade Archive / Marmalade Studio Tools / want to export light maps from maya to airplay
3 replies [Last post]
by: tushar
Status: Offline
Joined: 2010-04-19
Points: 1720

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.

by: Philip H
Status: Offline
Joined: 2009-10-26
Points: 5780
Hi, Does the second UV set

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

by: tushar
Status: Offline
Joined: 2010-04-19
Points: 1720
hi thanks for the reply yes

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.

by: Philip H
Status: Offline
Joined: 2009-10-26
Points: 5780
Hi, I suggest you post a

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

Latest Posts

Latest Comments

Top Contributors

  • Chris D : 27,010
  • MonRoyals : 26,970
  • Salman : 26,720
  • Jez Hammond : 20,130
  • pjan : 11,150
  • gjw : 10,350
  • Paolo Oliverio : 9,640
  • Beaker_2 : 8,390
  • Kite : 8,210
  • bluescrn : 7,810