Animation: A Closure?

Post your problems and installation issues here!

Animation: A Closure?

Unread postby ricksan » Sat Jul 18, 2009 11:47 am

Derek Siddle shared an animation technique with me that I'd like to pass along.

You may have read elsewhere that I have been struggling trying to smooth out the animations for some steam-locomotive siderods. The most problematic ones for me were the main rods, the ones that connect the piston rods to the main driver wheel. Although the animations worked smoothly in the modeling program, in my case 3ds Max, they would invariably "bump" or "jerk" at a certain point in the simulator.

My piston rods are animated using an "Expression Controller" which calculates the precise position of the piston based on the rotation angle of the driver wheel, and the connecting geometry. Thank you Pythagoras! The piston worked fine, both in Max and in the sim. The main rod, on the other hand, uses a "LookAt" constraint. The rod is attached to the wheel at the rod's pivot point. The rod then always "looks at" the piston, which is moving back and forth as the wheel turns. It's a complex piece of animation involving translation of the rod's pivot point around the wheel, and rotation of the rod to keep it pointed at the piston. it looked great in Max, but unfortunately not so great in the sim.

Derek suggested I try a different approach. The key term that he used was "rotoscope" which is a cinematic technique used in animated cartoons wherein each cel is drawn by tracing over a live-action image, frame by frame. Here's what I did.

For each animated object, I made a copy using Shift-click. The new, cloned copy exists at the exact location of its original, and it preserves the animation and hierarchy attributes of the original. If I play the animation, the original object and its clone move in unison. The only difference is that the clone has a different name, assigned by Max.

Next, I removed all of the animation attributes from the original object and un-linked it from its hierarchy. Now when I play the animation it just sits there.

I selected the now motionless original object and turned on Auto Key. Then, for each frame of the animation sequence, I repositioned the original object to match the location and orientation of its clone. You can do that manually or by using the Align tool. Eventually a complete set of hard-coded keys is created for the original object. At this point the clone object can be deleted. The original object, now fully keyframed, moves just as if it were still "rigged" with an animation controller.

If desired or if needed, the motion can be further refined using the Curve Editor. After all the animations are made over in this fashion, any remaining helpers and dummy objects can be deleted. In my case, I only applied this procedure to a few of the siderods. The other bits and pieces of animation seemed to export cleanly.

That's it. Export the animation then export the entire model, convert it in the Blueprint Editor and have fun!
ricksan
Forum Mod
 
Posts: 311
Joined: Fri Feb 13, 2009 10:55 am
Location: Bandon, OR USA

Re: Animation: A Closure?

Unread postby rgarber » Sat Jul 18, 2009 3:08 pm

Not that I understood hardly a bit of that (pictures are great! *!embar*! ) but not hardly enough credit is given to the boys in Guilford for their own bit of expertise which even goes so far as the motion picture industry. Way to go Derek and thanks Rick for sharing that! !!*ok*!!

Rich G
rgarber
 

Re: Animation: A Closure?

Unread postby AlexEdwin » Sat Jul 18, 2009 8:22 pm

Hi Ricksan

This is extremely helpful, thank you! !!*ok*!!
Copied to my archive of useful Tips.

This post should be stickied.

Cheers mate, *!!wink!!*
Alex
AlexEdwin
 

Re: Animation: A Closure?

Unread postby Hawk » Sat Jul 18, 2009 10:28 pm

AlexEdwin wrote:This post should be stickied.

...and so it shall be. !*salute*!
Hawk
 

Re: Animation: A Closure?

Unread postby Derek » Mon Jul 20, 2009 11:08 am

Hi,

Rick explained it better here than I explained it to him.

Thanks.

Derek
User avatar
Derek
 
Posts: 392
Joined: Fri Feb 13, 2009 1:35 pm

Re: Animation: A Closure?

Unread postby mikeadams2k » Wed Jun 22, 2011 1:30 pm

I realize this is an old thread, and I haven't seen any updates to the subject matter. After doing a tutorial for Blender on animating loco valve gear, I was asked by a friend if it were possible to apply the process to Max. I've been successful and am in the process of doing a tutorial for 3ds Max. Here's a link to a YouTube video of my results.
http://www.youtube.com/watch?v=FX3WJW-nlh4
The only thing I had to key was the rotation of the wheels, using 16 frames(22.5 degrees per frame). Everything else is moved by bones (linked to the wheels) using IK solvers, position and orientation constraints. By using bones and an IK solver to move the connectiing rod and the crosshead, any bump is eliminated. I know none of what I've done is new. I've just not seen it talked about on any of the forums and I've not seen a tutorial on the subject using this method.
mikeadams2k
 
Posts: 194
Joined: Thu Mar 04, 2010 12:26 am
Location: Ocala, FL


Return to Problems and Peculiarities

Who is online

Users browsing this forum: No registered users and 1 guest