Game Development Community

dev|Pro Game Development Curriculum

UV animation in Maya

by Mike Paixao · 09/11/2007 (9:40 am) · 23 comments

first thing you need is the new plugin I compiled, it works with the dtsUtility no problem

here be the link:

simpletofind.ca/mike/maya2dtsExporter.mll

(this one is for Maya8.5, but I can easily build it against an older version of maya if I get enough requests)


and for Maya 7.0: simpletofind.ca/mike/maya2dtsExporterMaya7.0.rar


How to animate UV's in Maya:

A few before notes:

My Maya exporter Menu is slightly different then the dtsUtil, it will work with dtsUtil, just dont go asking me
"how did you manage to export withought bounds? or why is it different?

the answers are simple, I wrote my own tool from the ground up that is more efficient, with this tool I
export an entire world all at once, and not piece by piece ( and builds datablocks with proper rotation and
scale information )

I will release the tool as soon as I convert it from Mel script to a .mll
(company wants to keep the source hidden, go figure :P )

www.simpletofind.ca/mike/UVtut/UVtut1.jpg


1: delete your history before you start animating UV's



2: select a single UV in the UV texture editor*** and then use "merge Uv's." (your UV map should not
change whatsoever, but it will add a history node to your object)
(also noted, better then max, you can have your custom placed UV's move, and not just a projection gizmo :D...
although I gave up on the max one long ago and I could be wrong... )


*** has to be the UV editor, or it will change your UV map



www.simpletofind.ca/mike/UVtut/UVtut2.jpg


3: select all your UV's that will be animated, then in the channel box you should see under Inputs "polyMergeUV1" .


www.simpletofind.ca/mike/UVtut/UVtut3.jpg


4: move your UV's, not much, but enough for it to add a "polyTweakUV1".


www.simpletofind.ca/mike/UVtut/UVtut4.jpg


5: you can now set keys on the UV's.



6: on your sequence node there is an attribute called "enable TVert", set it to on, and it will export your
new UV animation.



hit export!!

(once again, for fun I went and added a status bar when my exporter is exporting :P that way when you
do your 100+ model exports you know it hasnt froze Maya)

www.simpletofind.ca/mike/UVtut/UVtut5.jpg

About the author

Recent Blogs

Page «Previous 1 2
#1
09/07/2007 (8:13 am)
Forgive me, Ive never set keys on UVs before. Do you just select them in the UV editor and hit "s"? Or is it done in the place2Dtexture?
#2
09/07/2007 (8:20 am)
after you have the polyTweakUV Input in the list, you select the UV's just hit "s" if you get an error "selected objects have no keyable attributes" or something similar you havnt added the history node properly
#3
09/07/2007 (12:39 pm)
Thanks, I got it. This would be great for water and other liquid surfaces because you can actually keyframe each UV individually.
#4
09/11/2007 (1:58 am)
Awesome resource, Thanks you. Mike.
Could you build .mll for Maya 7.0 Plz?
Finally, Your DTS Exporter tool looks great :D
#5
09/12/2007 (11:56 pm)
Quote:Could you build .mll for Maya 7.0 Plz?

double plz!
#6
09/13/2007 (7:06 am)
ok, built for Maya 7.0... although I havnt touched 7.0 in a while... not even sure if it will even work :D (j/k) in theory it will work the same as 8.5 :P


simpletofind.ca/mike/maya2dtsExporterMaya7.0.rar
#7
10/03/2007 (7:14 am)
where do I get that new DTS Utility that you have there I have one that looks totally different
#8
10/03/2007 (10:15 am)
sadly that version is an in-house tool that they want to keep in house,
but as soon as I convert it to a plugin, I will be able to share it

lol, either that or GG pays me to make one for them on my spare time :P
#9
10/03/2007 (11:35 am)
that sux if you make a plugin out of it then we have to harrass you ever time a new version is needed.

I think I will just give it a shot myself.
#10
10/03/2007 (1:45 pm)
eheh, not have to harrass me, I have a working prototype mel2c++ program I wrote today, its able to convert simple mel script to C++ automatically, so its a simple build :P
#11
11/13/2007 (9:49 pm)
hey Mike have you exported the tool to .mll format???
;)
#12
11/14/2007 (12:10 pm)
getting further, it can now convert bigger, more complex scripts... but slight limitation in VS2k7... go figure... doesnt like my 65k columns :P

but ya... soon enough I will get working properly
#13
11/16/2007 (7:16 am)
cool looking forward to it. you gonna do Maya 2008? I upgraded a couple days ago and never want to go back.
#14
02/22/2008 (10:18 pm)
hey, hello i'am trying to install the 8.5 plug in but i can't because maya doesn't recognize the file mll as a plug in i am trying in a mac, can someone tell me what is happening?
#15
02/24/2008 (8:21 am)
currently ive only done Maya API for the windows platform, I have rarely used a mac at the office :P
#16
03/03/2008 (2:31 am)
Thanks you. Mike.
Could you build .mll for Maya 8.0 Plz?
Finally, Your DTS Exporter tool looks great :D
#17
05/06/2008 (5:42 pm)
Hi, Mike.

I've tried using the Maya 2008 exporter from http://tdn.garagegames.com/wiki/DTS/Maya/Downloading_and_Installing_the_Exporter, but it crashes every time I attempt to export.

Do you plan on having a version compatible with Maya 2008?
#18
05/07/2008 (8:23 am)
ok, so ive been busy... but I squeezed in a bit of time for the 2008 plugin, should work! (ill do 8.5 once i find some more time)

simpletofind.ca/mike/maya2dtsExporter2008.mll

edit: or i might have done it and not noticed...

simpletofind.ca/mike/maya2dtsExporter8.5.mll
#19
07/13/2008 (7:24 pm)
Hey Mike,
Would it be possible to make a Maya 2008 Patch for the Mac? Or, barring that, would it be possible to get the .mll source code so that I can attempt to convert it to .bundle format?
#20
11/23/2008 (4:33 pm)
how can I load this into maya?
Page «Previous 1 2