You are not logged in.
#76 12-04-2011 12:12 am
- Horganovski
- Rockstar

- From: Dublin, Ireland
- Registered: 02-22-2008
- Posts: 540
- Karmojo: 79
Re: New XSheet timing tool
Up to today I've just been testing out DPT on very simple scenes, where I'd animate a cube for a few frames and then use DPT to retime it. I'm trying it on full character rigs though and it won't seem to work for me, at least on the 1st two rigs I've tried ('Heavy' and Moom).
Here's a screencapture to show what happens, I get pretty much the same thing with the Moom rig. Notice how the current frame field above the timeslider in the main ui gets a huge number added in - 4261412.86 for some reason. What's weird is that in a completely different scene, with a different rig (Moom) the exact same number gets put in there too.
http://www.graphite9.com/WIP/DPT_sc/DPT_sc.html
Here's the error message I get in the script log -
Code:
# Traceback (most recent call last): # File "c:/MyData/Programming/My_3D/MayaScripts/GER/GER_2012/scripts\rb_DPT.py", line 1429, in doGetPosesFromMaya # File "c:/MyData/Programming/My_3D/MayaScripts/GER/GER_2012/scripts\rb_DPT.py", line 1984, in setData # IndexError: list index out of range
Hope that's enough info to help find the bug, let me know if not.
Cheers,
Brian
Last edited by Horganovski (12-04-2011 12:17 am)
Offline
#77 12-04-2011 3:47 pm
- cgjedi

- From: Canada
- Registered: 11-16-2011
- Posts: 175
Re: New XSheet timing tool
I found the problem. DPT assumes you don't have keyframes below frame 1; ie. on Frame 0. I'll take a look at it and fix it. But for now you can just make sure your keyframes start on frame 1.
"Whatever is worth doing at all, is worth doing well."
Lord Chesterfield, 1747
"you will find that many of the truths we cling to depend greatly on our own point of view"
Obi-Wan
Offline
#78 12-04-2011 7:40 pm
- Horganovski
- Rockstar

- From: Dublin, Ireland
- Registered: 02-22-2008
- Posts: 540
- Karmojo: 79
Re: New XSheet timing tool
Thanks, I'll have to check into the rig but one possibility is that there are set driven keys that might confuse DPT too?
I didn't set keys at frame zero but there are probably some inside the rig as SDKs.
Cheers,
Brian
Last edited by Horganovski (12-04-2011 7:49 pm)
Offline
#79 12-04-2011 8:07 pm
- cgjedi

- From: Canada
- Registered: 11-16-2011
- Posts: 175
Re: New XSheet timing tool
I released an update which checks for frames below Frame 0. It also adds a hotkey for the space bar to start/stop playback.
Let me know if this solves the problem.
Last edited by cgjedi (12-04-2011 8:07 pm)
"Whatever is worth doing at all, is worth doing well."
Lord Chesterfield, 1747
"you will find that many of the truths we cling to depend greatly on our own point of view"
Obi-Wan
Offline
#80 12-04-2011 8:23 pm
- Horganovski
- Rockstar

- From: Dublin, Ireland
- Registered: 02-22-2008
- Posts: 540
- Karmojo: 79
Re: New XSheet timing tool
Hmmm, just installed that version, but when I run it, it goes through the playblast process and then just locks up Maya, I have to force quit to get out of it. I tried it on both the Heavy rig and Moom and got the same result.
Possibly it might help if I sent one of the files I'm working on - here's one with the Heavy rig that was only a little practice doodle really and doesn't have too many frames so might be a good one to test, this locks up Maya as mentioned above. (to clarify - I'm just selecting all controllers by dragging a rectangle around the character and then pressing the Get Poses button).
http://www.graphite9.com/WIP/HEAVY_Skipcycle_28.zip
Hope that helps,
Cheers,
Brian
Offline
#81 12-05-2011 3:28 am
- cgjedi

- From: Canada
- Registered: 11-16-2011
- Posts: 175
Re: New XSheet timing tool
Brian,
Thanks for the file; that was very helpful. I released another update that should fix the issue.
"Whatever is worth doing at all, is worth doing well."
Lord Chesterfield, 1747
"you will find that many of the truths we cling to depend greatly on our own point of view"
Obi-Wan
Offline
#82 12-05-2011 4:52 am
- Horganovski
- Rockstar

- From: Dublin, Ireland
- Registered: 02-22-2008
- Posts: 540
- Karmojo: 79
Re: New XSheet timing tool
You're welcome, glad that helped. The lockup is fixed now for me (tried in on my Moom scene too) and I can grab the poses and edit them ok, but I notice when I send retimed poses back to Maya the results are broken. Try using DPT on the file I posted, select every frame and put them on 3s and send back to Maya and you should see what I mean. I got similar results with the Moom rig too. At a guess I'd say some of the animation is getting mapped back to the wrong controllers, or maybe the values are being changed somehow.
- edit - actually I don't even need to do any retiming to break it, just select all the Heavy controllers, press Get Poses and then Send Timing and you should see what I mean.
One more guess would be that maybe it's selecting Set Driven Keys too as well as regular animation keys which is confusing things?
BTW the new Space hotkey for play/stop is really nice ![]()
Cheers,
Brian
Last edited by Horganovski (12-05-2011 6:25 am)
Offline
#83 12-05-2011 7:13 am
- cgjedi

- From: Canada
- Registered: 11-16-2011
- Posts: 175
Re: New XSheet timing tool
Try it again with the latest update.
"Whatever is worth doing at all, is worth doing well."
Lord Chesterfield, 1747
"you will find that many of the truths we cling to depend greatly on our own point of view"
Obi-Wan
Offline
#84 12-05-2011 7:17 pm
- Horganovski
- Rockstar

- From: Dublin, Ireland
- Registered: 02-22-2008
- Posts: 540
- Karmojo: 79
Re: New XSheet timing tool
Thanks, it works now with my Heavy scene, but it still breaks things in a Moom scene I have here. Could I possibly email you that scene file maybe? (Don't want to post a link to it publicly as it's potentially a piece for my reel).
One other thing I notice is that it seems to pause for a while now when you press 'Get Poses' before it starts playblasting them.
Cheers,
Brian
Last edited by Horganovski (12-05-2011 7:21 pm)
Offline
#85 12-06-2011 5:42 am
- cgjedi

- From: Canada
- Registered: 11-16-2011
- Posts: 175
Re: New XSheet timing tool
Ok, there's another update to try. I'm just laughing at myself; I didn't make sure to sort the keys in sequential order when storing the info. This only showed up when some controllers had keys where others had none.
Back to trying to add sound support - this one is tricky.
Last edited by cgjedi (12-06-2011 5:45 am)
"Whatever is worth doing at all, is worth doing well."
Lord Chesterfield, 1747
"you will find that many of the truths we cling to depend greatly on our own point of view"
Obi-Wan
Offline
#86 12-06-2011 9:06 am
- Horganovski
- Rockstar

- From: Dublin, Ireland
- Registered: 02-22-2008
- Posts: 540
- Karmojo: 79
Re: New XSheet timing tool
Sweet! I've tried it on several different rigs here and it's working fine on all of them now.
Good luck with getting sound working, that will be a pretty major feature which would be awesome for timing lip sync etc if you can do it.
Cheers,
Brian
Offline
#87 12-10-2011 11:49 pm
- cgjedi

- From: Canada
- Registered: 11-16-2011
- Posts: 175
Re: New XSheet timing tool
I want to get an idea of who the users of DPT are? I'm adding audio but I've found that I will have to write it differently for Maya2012 and Maya2011 (basically PyQt has newer audio capability for Maya2012).
So are there a lot Maya2011 users?
"Whatever is worth doing at all, is worth doing well."
Lord Chesterfield, 1747
"you will find that many of the truths we cling to depend greatly on our own point of view"
Obi-Wan
Offline
#88 12-11-2011 12:15 am
#89 12-11-2011 12:19 am
Offline
#90 12-11-2011 12:27 am
Re: New XSheet timing tool
2012 x64 Win7 and OS X.7
Offline
#91 12-12-2011 7:39 am
- cgjedi

- From: Canada
- Registered: 11-16-2011
- Posts: 175
Re: New XSheet timing tool
3 people? Really? That's it? It's a good thing I'm doing this for my own enjoyment ![]()
"Whatever is worth doing at all, is worth doing well."
Lord Chesterfield, 1747
"you will find that many of the truths we cling to depend greatly on our own point of view"
Obi-Wan
Offline
#92 12-12-2011 7:43 am
Re: New XSheet timing tool
Maybe create a fresh poll. I guess only the people who are reading the whole thread will have seen your post.
Offline
#93 12-15-2011 10:54 pm
- padraig post
- Helper
- Registered: 10-25-2007
- Posts: 45
- Karmojo: 19

Re: New XSheet timing tool
2011 (but moving to 2012 soon) x64 windows xp
cheers!
Offline
#94 12-23-2011 4:33 am
- cgjedi

- From: Canada
- Registered: 11-16-2011
- Posts: 175
Re: New XSheet timing tool
An update. I'm still working on adding audio to the tool. It's proving to be a challenge - and that's good. I currently can play a non-compressed .wav file - and that's an accomplishment. I'm just about to add frame by frame audio scrubbing. Then I need to add display of the audio waveform in the XSheet.
Has anyone been using the tool for anything? Would love to hear what you think.
"Whatever is worth doing at all, is worth doing well."
Lord Chesterfield, 1747
"you will find that many of the truths we cling to depend greatly on our own point of view"
Obi-Wan
Offline
#95 12-23-2011 4:49 am
- Horganovski
- Rockstar

- From: Dublin, Ireland
- Registered: 02-22-2008
- Posts: 540
- Karmojo: 79
Re: New XSheet timing tool
Heh heh, life would be very dull without challenges, good to hear you're winning yours. Uncompressed wavs is perfect IMO, I don't think you should try and support every audio format out there. I use Wavelab Elements by Steinberg for converting audio files and there are open source apps like Audicity that will do the same job.
Scrubbing will be awesome for lipsync.
Unfortunately I've not gotten to use DPT much yet as I'm working on a client job in C4D at the moment. I'm starting iAnimate on the 9th of January though and that will be in Maya so I'll definitely give it a proper spin then.
Cheers,
Brian
Offline
#96 12-23-2011 12:20 pm
Re: New XSheet timing tool
I must admit, I have not been using it recently, as the 64 bit version of maya doesnt support quicktime for playblast (which I prefer). So I spend most of my time in the 32 bit version.
Plus prior to your plugin, I had everything setup in the 32bit like hotkeys, plugins etc.
For the less intensive scene, at the blocking stage, I can just do playback feedback in the viewport.
Last edited by Ohjin (12-23-2011 12:22 pm)
Offline
#97 01-02-2012 4:20 pm
Re: New XSheet timing tool
Heya, I know your busy with audio functions, but I'm currently using it and have come up with some requests. Again these only depend on if other people would find them useful.
1. Having the scrubbing bar, the right hand side highlighted image column and the main display image all linked and connected to one another.
Currently when you press the left and right arrow keys; the highlighted image column , the scrubbing bar and main viewport all update to correspond to each other. *Tick*
But if you move the scrubbing bar, the main image updates but the highlighted image column does not update. If you then press an arrow key, the scrubbing bar slider snaps to where the highlighted image is/was.
If you press play, the main image updates but the scrubbing bar and highlighted image don't update.
Having the highlighted image moving constantly might get annoying so it may be best to have the highlighted image not update, until the stop button is pressed, then the highlighted image updates to the corresponding 'main image view' image. - Does that make sense?
2.The insert key add frames in before the selected image frame.
Currently if I click a 'Image' frame and press the insert key, the new frame is added before the currently selected 'Image' frame.
Personally I click on the 'image' frame I want to hold for longer/shorter. So would like the time to be added/deleted to the currently selected 'image' frame.
3.This is a really small request. When I maximize the whole window, so I can see as much of the highlighted column as possible, It would be great if the 'main view image' was centralized.
As I say, See if other people agree. But I think these changes would make for a smoother and more organized work flow.
And again. Thanks for this plugin, it makes life a lot easier. ![]()
Last edited by Ohjin (01-02-2012 4:29 pm)
Offline
#98 01-02-2012 5:17 pm
- cgjedi

- From: Canada
- Registered: 11-16-2011
- Posts: 175
Re: New XSheet timing tool
Thanks for the suggestions!! I will certainly look into them but here's my reasons for how they are currently functioning.
1. I specifically did not hook up the scrubbing function and the XSheet display together so that they are synced. When you are playing with the timing in the XSheet and are focused on a certain section of frames, you want to scrub the timing to test it. If they were synced together then the place where you've been working in the XSheet would also scrub and scroll out of view. You would then have to make sure you put it back in the same frame in order to continue.
2. What does it mean to "insert" time? It's semantics. You want a frame to be treated as the very last item and inserting frames after that. I chose to consider a frame as the start of a group and inserting frames before that. It could go either way. "And the survey says..." (btw, you can move the current frame between key images and have it function like you want)
Ohjin wrote:
Heya, I know your busy with audio functions, but I'm currently using it and have come up with some requests. Again these only depend on if other people would find them useful.
1. Having the scrubbing bar, the right hand side highlighted image column and the main display image all linked and connected to one another.
Currently when you press the left and right arrow keys; the highlighted image column , the scrubbing bar and main viewport all update to correspond to each other. *Tick*
But if you move the scrubbing bar, the main image updates but the highlighted image column does not update. If you then press an arrow key, the scrubbing bar slider snaps to where the highlighted image is/was.
If you press play, the main image updates but the scrubbing bar and highlighted image don't update.
Having the highlighted image moving constantly might get annoying so it may be best to have the highlighted image not update, until the stop button is pressed, then the highlighted image updates to the corresponding 'main image view' image. - Does that make sense?
2.The insert key add frames in before the selected image frame.
Currently if I click a 'Image' frame and press the insert key, the new frame is added before the currently selected 'Image' frame.
Personally I click on the 'image' frame I want to hold for longer/shorter. So would like the time to be added/deleted to the currently selected 'image' frame.
3.This is a really small request. When I maximize the whole window, so I can see as much of the highlighted column as possible, It would be great if the 'main view image' was centralized.
As I say, See if other people agree. But I think these changes would make for a smoother and more organized work flow.
And again. Thanks for this plugin, it makes life a lot easier.
"Whatever is worth doing at all, is worth doing well."
Lord Chesterfield, 1747
"you will find that many of the truths we cling to depend greatly on our own point of view"
Obi-Wan
Offline
#99 01-02-2012 5:23 pm
Re: New XSheet timing tool
Okay, how about a frame counter that can tell you which frames your scrubbing through?
Also I forgot to say. So the insert key adds a frame before the selected frame. but when you press delete. it deletes the selected frame and not the frame that was just added before the selected frame.
Sorry if my terminology is carp.
Last edited by Ohjin (01-02-2012 5:26 pm)
Offline
#100 01-02-2012 5:32 pm
- cgjedi

- From: Canada
- Registered: 11-16-2011
- Posts: 175
Re: New XSheet timing tool
I've already put a frame counter in the next version.
Ya, you're right the insert and delete are not exact opposite functions. I'll have to think about that.
"Whatever is worth doing at all, is worth doing well."
Lord Chesterfield, 1747
"you will find that many of the truths we cling to depend greatly on our own point of view"
Obi-Wan
Offline






