PDA

View Full Version : Playback your reference in Maya


JasonOsipa
04-19-2004, 11:03 PM
I know this is not an app specific forum...
...but there's no dedicated "animation" forum I could find just for Maya, and this is more a tool for animators than Mel-folk. :)

Here's a tool for playing back reference footage INSIDE of Maya.

First, you have to export the movie to an image sequence (I can only read in image sequences). QT Pro, Premiere, etc all provide this option as an export. Export the new pics to an otherwise empty directory*.

Get Maya going, then run the script by typing "joMakeMovie", in the script editor.
IF you haven't already, run the rename* option (so that maya will understand the images as a sequence**), then hit "create". It makes a poly plane with the image sequence on it. There's an offset attribute on the object itself to slide the timing around if you want.

This is sloppy, so you mel-a-magicians out there, if you want to tweak it, make it smarter, you go right ahead, but please re-post here, if you do, I want a bigger better version, too!

This is SO much better than having a player open; it keeps your anim in sync. -J.

PS-parent to a cam for a "window" effect. Yay.

www.jasonosipa.com/Downloads/Mel/joMakeMovie.mel

*The rename function renames the ENTIRE contents of whatever directory you point it at. Make sure there are no contents, not even subdirectories except for your image sequence.

**The format Maya needs is "name"."number"."extension. If your numbers are already between dots, then you need not rename.

fallencat
04-20-2004, 04:55 AM
it sound good to me.. I will give it a try.. thx for the sharing ! ;)

h3kno
10-23-2004, 05:25 PM
hey i tried it with your mel script and several other ways after searching for them on cgtalk, but all i get is a blank plane. When i scrub my timeline, nothing comes out. I pressed '6' for texture view, but still nothing..am i doing something wrong? I need help. thanks =)

JasonOsipa
10-23-2004, 09:57 PM
There are two things to check; first that the frame numbering is maya compliant (This is a finicky maya issue). Try the frame renumbering option in my script to fix that.

The second thing is to make sure that when you scrub, your frame range lines up with incoming frames. If you have say reference from frame 1-100, you won't see anything backwards from that ( < 0 ) or anything more ( > 100)

Hope that helps! -J.

ralphpoon
10-24-2004, 09:17 AM
thanks for sharing

i like your book !

CGTalk Moderation
01-18-2006, 01:00 AM
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.