Welcome to the Animation Forum
Forum Moderators: nemirc
Animation F.A.Q (Updated: 2007 Feb 22 3:12 pm)
Characters, motion graphics, props, particles... everything that moves!
Enjoy , create and share :)
Remember to check the FAQ for useful information and resources.
Animation learning and resources:
11 Second Club: Monthly character animation competition.
Animation Mentor: Online school. Learn from the animation masters.
Rigging 101: Maya rigs and rigging tutorials.
AnimWatch: Showcasting the best of independent animation.
FlashKit: The best place to learn Flash.
Armaverse: Stop-motion armatures for animation.
60+ great Character Animator's sites: Get inspired.
Checkout the Renderosity MarketPlace - Your source for digital art content!
Subject: In an animation, moving a whole frame, from within Python
I want to make a length of animation run at half the speed. So I would do this:-
If the animation is n frames long, make it 2*n frames long.
for A in poser.Scene().Actors():
. for j = n (-1) 1 :-
. . for P = each parameter dial in turn of actor A :-
. . . B = all the frame information (value, whether it is a keyframe, spline settings) for frame j of parameter dial P of actor A
. . . delete frame j of parameter dial P of actor A, if it is a keyframe
. . . delete frame 2*j of parameter dial P of actor A, if it is already a keyframe
. . . set frame 2*j of parameter dial P of actor A to the value and keyframe settings of B, if B is a keyframe
Please, has this been done before?