maya to unity uv problems

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  02 February 2013
maya to unity uv problems

Hi i'm new to unity but not to maya, i have recently watched and read LOTS of tutorials on importing maya files and what not but they were no help

now what i'm concerned about is lightmapping

i created a simple test scene in maya and uv mapped it saved the .mb file and fbx in the asset folder, i made my light and baked the scene and the lightmaps that were baked out were not uv'd like the ones that i created in maya. i don't know if unity created these uv on it's own or what. and what i need to do is take the lightmaps created in unity and apply them back to my object in maya

i read that unity does not assign textures on it's own but nothing has ever said anything about an objects uv map.
when meshes have been imported into unity does the uv map made in maya automatically assign to it? if not how do i assign it to a certain object? and is it possible to view the current uv map in use?

this is the uv map i made in maya of a simple cube

but when i baked it in unity it came out like this

and i hate that it bakes to .exr becuase photoshop won't let me save it to .jpeg,bmp, or png instead only a tif file that comes out really dark when assigned in maya

every uv map that i made in maya came out completely different in unity

i could really use some help and advice please
  02 February 2013
In my experience with unity, the uvs are the same when the lightmap is baked, but unity repositions them in the lightmap texture to save room for other lightmapped object to fit on the same texture.

you might try limiting the dimensions of your lightmap to whatever dimensions you're using in maya. Not sure if this will create a usable texture, but it's worth a shot. A quick google search revealed that you can only do this via script.
  02 February 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 07:55 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.