Peak with non zero curvature

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

Peak with non zero curvature

Post by Genete »

Usually I use the Peak (P) feature to make a sharp corner when two lines are connected. Perhaps if you are and experienced drawer in Moho/AS you have noticed that this thecnique gives a straight line to the end of the two connecting lines due to the curvature of the peak point is zero.

See the peak point in this leaf. The three lines that end in the peak are straigt lines,

Image

If you want to give more curvature to the leaf you should add more intermediate points. Anyway the final peak have trhee straight lines for the reason I have explained before.

But if you want you can have TWO (or more) curvatures in the same point you can do it just adding an extra line from every line that is connecting to the peak. In this way the curvature us controlled by the position of an extra point. See the example.

Image Image Image

The last leaf have three curvatures in the peak point what is impossible to do in the classical way.
You can bound those point to the bone that control the peak point if the figure is bone controlled to maintain the shape properly when animated.

Hope it make sense for the new users or experienced if you did not realized about this yet.
Regards
Genete
User avatar
p6r
Posts: 318
Joined: Fri Aug 20, 2004 5:16 pm
Location: France
Contact:

Post by p6r »

Very good tip !
It will be very helpful for my actual project...

Thanks Genete

6R
User avatar
Touched
Posts: 504
Joined: Mon Dec 11, 2006 7:33 am
Location: Sunny California
Contact:

Post by Touched »

Another excellent tip!
User avatar
DK
Posts: 2896
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Post by DK »

very practicle tip. Thanks Genete. I've often wondered about how to get around this problem and you just solved it for me. Thanks!

D.K
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

With this tip you can convert a circle into a square withuot problems. Only putting the extra points in the correct places and the curvature for the points with the correct values...

http://amanoalzada.iespana.es/Mohostuff ... pline.anme
Image
Cheers!
Genete
User avatar
PatrickS
Posts: 56
Joined: Wed Feb 28, 2007 9:05 pm
Contact:

Post by PatrickS »

Pretty clever Genete!
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

An another interesting thing with this has to do with a single vector path with a stroke.

I use it for variable width strokes all the time. Extend the vector of the stroke by one point but hide the stroke on that last bit. Then set the stroke width to 0 for the NEXT to last point.

This smooths it out nicely in the same way as a pointy tip of a shape. Now you can have a really nice smooth pointy stroke tip by moving that "invisible" point at the end.

Image

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

Post by Víctor Paredes »

thanks genete, useful tip.
Post Reply