Fri, Dec 13, 6:02 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 12 6:08 pm)



Subject: Reverse animation scipt?


fbunse ( ) posted Fri, 02 April 2010 at 5:50 PM · edited Fri, 13 December 2024 at 6:01 AM

Hello all,

I am looking for a script that reverses animations, like taking the whole animation (or parts thereoff) and plays it backwart. Ideally it shouldnt create unesessary keyframes but only reverse the ones that are already there for each actor.

Does anyone know of a script doing this?

Googling around I found all other kinds of scripts to modify animations but no reverser...

Thanks for any helpfull pointer

Frank 


markschum ( ) posted Fri, 02 April 2010 at 6:18 PM

I dont know if ockham did one but his stuff is at www.ockhamsbungalow.com/python


fbunse ( ) posted Fri, 02 April 2010 at 6:20 PM

Thanks for the idea - I already knew his site and he has lots of animation scripts but unfortunately no reverser. 


PhilC ( ) posted Fri, 02 April 2010 at 6:22 PM

This is one of the many tools that come with BVH Helper.
http://www.philc.net/BVH_helper.php


fbunse ( ) posted Fri, 02 April 2010 at 6:34 PM

Thanks Phil.

I already own BVH Helper (great tool btw.) and after your post I even checked the "More" section and found it. I really should have guessed its in that tool set).

But after running it on an animation every frame is keyframed so it seems it doesnt selectively copy/reverse only the keyframes that already existed. Unfortunately this makes further editing of the animation pretty hard.

Is there any trick I am missing or some other tool preserving non-keyframes?


PhilC ( ) posted Sat, 03 April 2010 at 4:17 AM

It has to keyframe every frame or else you'll not get a true reversal.


fbunse ( ) posted Sat, 03 April 2010 at 5:33 AM

Really? I would assume it doesnt make a difference unless youre using "constant selection"!?

That BVH Helper does not preserve non-keyframes seems logical since in a BVH every frame is a keyframe anyway but for working inside poser I prefer having as few keyframes as possible/necessary as it makes it easier to modify the animation.

If there really isnt anything I might try to write my own script. I'm afraid there is no more elegant way than to iterate though every actor and retrieve the keyframes using "NextKeyFrame()", store their data, delete them and paste them in reverse order before going on with the next actor?

The models im typically working with do only have 19 actors and I only need the rotation info. But still a faster/more elegant way would be nicer...

I dont think there is there any way to retrieve the selected keyframes in the editor or animation set? I cant seem to find anything like this in your book or the PoserPython manual.


fbunse ( ) posted Sat, 03 April 2010 at 10:37 AM

I just gave it a quick try with my very limited Poser/Python knowledge and it actually seems to work pretty ok. Its acceptable fast with iterating and the animation looks ok to me even without keyframing every frame.

Well, thats for my very limited figgure and a few animations I have toyed with. I wouldnt swear its an universal solution tho.

The only thing still giving me a hard time are the section modes and the break spine. Ill yet have to figgure out how to retrieve/set them for individual actors. 


wolf359 ( ) posted Sat, 03 April 2010 at 12:56 PM

Thisis why I invested in "animate+"  from DAZ3D
its  nonlinear aniblock system has a simple "reverse and even Mirror animation button.

Cheers



My website

YouTube Channel



fbunse ( ) posted Sat, 03 April 2010 at 4:12 PM

Yes, aniMate+ is pretty nice. But unfortunately there is no Poser version and DAZ Studio doesnt allow keyframe editing. Even with aniMate you get only the keyframes for one actor at once instead of having them all in a table like in Poser. There is no spline section either. Thats why I personally prefer Poser. 

Tho I really wish there were some of the DAZ plugins like aniMate, Pupeteer or Powerpose...


wolf359 ( ) posted Sat, 03 April 2010 at 9:31 PM

Quote - Yes, aniMate+ is pretty nice. But unfortunately there is no Poser version and DAZ Studio
Tho I really wish there were some of the DAZ plugins like aniMate, Pupeteer or Powerpose...

Yes the poser dope( animation pallette) sheet is still quite critical in editing animation
Animate+ has a layer system for handling multiple actors
You can also quickly combine animation data whole or in part from many sources with animate+ in a non linear fashion
Speed up slowdown and Export the Combined new motion  to an animated PZ3 for  use in poser it is a GREAT addition to my workflow that is crucial to me.

OVERVIEW

Cheers



My website

YouTube Channel



Dizzi ( ) posted Sun, 04 April 2010 at 5:19 AM

Quote - Tho I really wish there were some of the DAZ plugins like aniMate, Pupeteer or Powerpose...

I haven't really used DAZ Studio for anything, but I got some posing tools for Poser 8+ in my freestuff.



fbunse ( ) posted Sun, 04 April 2010 at 4:03 PM

@wolf: Still most stuff that aniMate+ adds to DS can be done in Poser and Poser simply suits my workflow better. There might be a few things simpler to do in aniMate but (with some scripting) they can be done in Poser as well. And switching between applications each time doesnt help to simplyfy things either. Still if aniMate+ should ever be released for Poser Ill be the first one to buy it.

@Dizzi: Thanks for providing all those great freebies. I downloaded most of them already long ago and they are great. The availbility of plugins like yours were another reason to convince me using Poser instead of DS (which still is a great program tho).

But the three mentioned ones are pretty powerfull ones. I dont even think the Poser API would allow plugins like them.


wolf359 ( ) posted Sun, 04 April 2010 at 4:40 PM · edited Sun, 04 April 2010 at 4:47 PM

Quote - @wolf: Still most stuff that aniMate+ adds to DS can be done in Poser and Poser simply suits my workflow better. There might be a few things simpler to do in aniMate but (with some scripting) they can be done in Poser as well. And switching between applications each time doesnt help to simplyfy things either.

Hi ,
 whatever works for each user.
I am a person who originates his own keyframe animation since poser4
thus the poser graph editor & Dopesheet are a must.

but is has Not been updated in any signifiigant way since poser4.

Frankly I do use Alot of premade motions and with poser you have no option
to seamlessly
combine pieces or "clips" from Different sources to create longer combined unique sequences.

This is where Animate+ blows away poser.

but for ORIGINATING  your own Original Character animation Daz studio is rather useless IMHO.

the nonlinear motion mixing system for DAZ is quite similar to the nonlinear systems in Autodesk Softimage,& Maya
and what I have in Maxon Cinema4D R11.
and there is no Scripting required for Animate+
 
That's why its a great compliment to poser for me at least.

Cheers



My website

YouTube Channel



Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.