How to make a snake creeping

Have you come up with a good Moho trick? Need help solving an animation problem? Come on in.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

How to make a snake creeping

Postby Víctor Paredes » Tue Apr 21, 2009 6:56 pm

Ok, it's just a re-use of Mike Clifton's technique which is somewhere here in the forum.
A friend ask me how to make a snake creeping but without using bones conventionally, it was too hard and slow to animate, because snakes follow an invisible path.

Here is my answer, you must to create several horizontal bones. then in frame one rotate them to create the path. The snake layer (a vector layer inside the bone layer) must be moved from one extreme of the bone chain to the other. The body has to have several points to move smoothly.

Image

Here is a little .anme example
http://www.mediafire.com/?zmzmw1umjln

PD: I'm thinking about head deformation and have some ideas, but I have to test them.
PD2: The idea came when I saw the water glass of elbramstol, see the thread here.
Last edited by Víctor Paredes on Sun Dec 20, 2009 8:55 pm, edited 2 times in total.
User avatar
Víctor Paredes
 
Posts: 4803
Joined: Wed Jan 26, 2005 12:18 am
Location: Ireland

Postby heyvern » Tue Apr 21, 2009 8:40 pm

I can't wait to see what you come up with about the head distortion. I've been sitting here... for about 10 minutes... just staring at the screen and thinking about how to keep the head from distorting and STILL follow the bone "path".

... I drooled all over my keyboard and still can't think of anything. ;)

.....

OH! I think I got it!. Ha! It just popped into my head and is very simple. You are much smarter than me with this stuff. I will wait and see if you come up with the same idea. ;)

p.s. I couldn't keep the head "smoothly" connected to the body though. Kind of tricky.

-vern
User avatar
heyvern
 
Posts: 6964
Joined: Fri Sep 02, 2005 4:49 am

Postby Víctor Paredes » Tue Apr 21, 2009 9:12 pm

I think we get the same conclusion:
Inside the bone layer, make a group or bone layer and put the head inside, then move the group layer just like the body, from one extreme to the other (I use crashcore copy and paste generic layer for all the stuff like this). but, just like you, I can't get a smooth union between neck and head. Maybe if with a script we could make some head points get the distortion of the parent bone layer it would be possible.
User avatar
Víctor Paredes
 
Posts: 4803
Joined: Wed Jan 26, 2005 12:18 am
Location: Ireland

Postby realsnake » Tue Apr 21, 2009 9:29 pm

Very nice trick :D I tried to make a Snake in Anime style, only took 2 minutes

http://www.mediafire.com/download.php?n1naqnqjh3y

http://img531.imageshack.us/my.php?imag ... 736bm1.flv
Visit: My blog
User avatar
realsnake
 
Posts: 274
Joined: Fri Oct 05, 2007 8:03 pm
Location: timing&

Postby slowtiger » Tue Apr 21, 2009 9:55 pm

I just needed several minutes to get my mouth closed again. How does that work? I just built it myself, and it works perfectly, but I can't explain why it works!

Great stuff. Really great stuff. Thx for sharing.
User avatar
slowtiger
 
Posts: 5193
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany

Postby synthsin75 » Tue Apr 21, 2009 10:20 pm

http://www.lostmarble.com/forum/viewtopic.php?t=1443

Here's the thread where LM explains the magic. Great inventive uses for the technique, both Selgin and Enbramtsol. :wink:


selgin wrote:I think we get the same conclusion:
Inside the bone layer, make a group or bone layer and put the head inside, then move the group layer just like the body, from one extreme to the other (I use crashcore copy and paste generic layer for all the stuff like this). but, just like you, I can't get a smooth union between neck and head.


I got the head to stay attached. Just had to move the group layer's (with the head in it) origin underneath the head. Apparently since this is a layer warping effect, the origin makes a difference.
Here's the file.

:wink:
User avatar
synthsin75
 
Posts: 6320
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma

boney question

Postby toonertime » Tue Apr 21, 2009 11:37 pm

a novice question:

How does one make all parent bones, and stop the
parent-child automation that occurs when making
bones?
User avatar
toonertime
 
Posts: 595
Joined: Tue Feb 27, 2007 8:34 am
Location: ST. LOUIS

Re: boney question

Postby Víctor Paredes » Tue Apr 21, 2009 11:49 pm

toonertime wrote:How does one make all parent bones, and stop the
parent-child automation that occurs when making
bones?

Press Enter after adding each bone. If there is no bone selected when you add a bone, the new bone won't be child of anyone.
Another option: I'm not sure if this can be done with default LM tools, but using the add bone tool, if you hold Alt and click anywhere, the selected bone will be deselected.
User avatar
Víctor Paredes
 
Posts: 4803
Joined: Wed Jan 26, 2005 12:18 am
Location: Ireland

Postby synthsin75 » Wed Apr 22, 2009 12:04 am

That's odd. I just noticed something about that file I posted. In the vector layer of the snake's body, only the vector points get warped by the bone field. The layer translation is still a straight line between the two keyframe points. The group layer with the head however, which I copied the layer translation value from the body vector layer, has a curved path between the keyframes that follows the bone field.

That's what causes the head to come away from the body.

Very odd that the group layers path is warped just as the points are on a vector layer. :? :wink:
User avatar
synthsin75
 
Posts: 6320
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma

Postby Víctor Paredes » Wed Apr 22, 2009 12:13 am

synthsin75 wrote:I got the head to stay attached. Just had to move the group layer's (with the head in it) origin underneath the head. Apparently since this is a layer warping effect, the origin makes a difference.

Synth, I did exactly what you did, but probably I couldn't explain it well :oops:
What I mean with smoothness between head and neck is that, as the points of head and the rest of the body aren't inside the same layer, they are cutted in some moments.
Image

In the vector layer of the snake's body, only the vector points get warped by the bone field. The layer translation is still a straight line between the two keyframe points. The group layer with the head however, which I copied the layer translation value from the body vector layer, has a curved path between the keyframes that follows the bone field.

I suppose it's what Mike says about the different way in which vector behaves.
User avatar
Víctor Paredes
 
Posts: 4803
Joined: Wed Jan 26, 2005 12:18 am
Location: Ireland

Postby synthsin75 » Wed Apr 22, 2009 12:26 am

Oops, I didn't notice that. Here's a fix for that. http://www.mediafire.com/?mmyz3jm5mie

:wink:
User avatar
synthsin75
 
Posts: 6320
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma

Postby Víctor Paredes » Wed Apr 22, 2009 12:33 am

synthsin75 wrote:Oops, I didn't notice that. Here's a fix for that. http://www.mediafire.com/?mmyz3jm5mie

hehe, it's a very clever solution. But I suppose it will be limited for complex characters. For example, if the snake would have some shading (not the effect, but in the drawing) it will be difficult to wedge the head with the rest of the body. I think we could release some joint points of the head group layer to be controlled by the parent bones, just like the rest of the body, if there would be a way to do that this problem (and several around the forum) would be solved.
User avatar
Víctor Paredes
 
Posts: 4803
Joined: Wed Jan 26, 2005 12:18 am
Location: Ireland

Postby synthsin75 » Wed Apr 22, 2009 1:17 am

http://www.mediafire.com/?oocyyxmykzy

Well here's a solution for this case, but you're right about more complex characters. :wink:
User avatar
synthsin75
 
Posts: 6320
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma

Postby TheChewanater » Wed Apr 22, 2009 1:43 am

I tried to apply a similar technique for a rippling effect that could probably be achieved in a much easier but less fun way.

Download
ImageImage
User avatar
TheChewanater
 
Posts: 134
Joined: Fri Feb 27, 2009 1:25 am

Postby realsnake » Wed Apr 22, 2009 1:58 am

is there any advance rig. IK tutorial available on forum?
Visit: My blog
User avatar
realsnake
 
Posts: 274
Joined: Fri Oct 05, 2007 8:03 pm
Location: timing&

Next

Return to Tips & Techniques

Who is online

Users browsing this forum: No registered users and 1 guest

cron