Crankshaft mechanism

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Crankshaft mechanism

Post by Genete »

Here is a cranckshaft mechanism done with bones.

http://media.putfile.com/Biela
Image
and the file.
http://amanoalzada.iespana.es/Mohostuff/biela.anme

Please watch the animation. Did you see some vibration in the shaded circle?
It is done with gradient and it is not supoussed to vibrate The circle is rotated and the gradient not. But it vibrates...
Does anybody know why???? Is this a bug???
Please render the file yourself, compare and let me know, please.

Thankyou
Genete
User avatar
slowtiger
Posts: 6081
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

I found that I cannot trust any pattern fill or gradient in a shape which moves. Everything inside the shape seems to behave unpredictably.

Why do you have to rotate the circle anyway? Your design wouldn't show any difference.
Workarounds for a nonmoving gradient:
- create a circle and let it rotate. Use the circle as mask for an underlying shape with a fixed gradient.
- don't rotate the circle. The bone setup is enough to move everything else correctly.

If the gradient needs to rotate with the wheel:
- put the circle on its own layer and user layer binding.
- render it once and import it as PNG. Layer bind it. This way everything inside the circle moves absolutely under your control.
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

I need to rotate the circle because I plan to draw holes inseide the weel. Like a real one from an old locomotive.
Tankyou for the tips, specially for the mask one. I was thinking on use png layer bind to make the weel rotate.

Best
Genete
User avatar
Mikdog
Posts: 1901
Joined: Tue Jul 05, 2005 3:51 pm
Location: South Africa
Contact:

Post by Mikdog »

Sweet!
User avatar
Víctor Paredes
Site Admin
Posts: 5664
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

very useful. thanks genete
Christopher90
Posts: 13
Joined: Sat Oct 27, 2007 10:26 am

Re: Crankshaft mechanism

Post by Christopher90 »

Genete wrote:Here is a cranckshaft mechanism done with bones.

http://media.putfile.com/Biela
Image
and the file.
http://amanoalzada.iespana.es/Mohostuff/biela.anme

Please watch the animation. Did you see some vibration in the shaded circle?
It is done with gradient and it is not supoussed to vibrate The circle is rotated and the gradient not. But it vibrates...
Does anybody know why???? Is this a bug???
Please render the file yourself, compare and let me know, please.

Thankyou
Genete
You have done a good job.
Post Reply