PDA

View Full Version : Precision with Curves


FunkyBunnies
09-20-2006, 02:57 AM
Hello all,

I'm working on a script for class that involves curves, but I'm a native Max user so I'm having a bit of trouble.

In max, curves are created more like EP Curves, where the 'vertices' are placed directly on the Curves (like Edit Points on EP Curves). In MEL, though, CV and EP curves are more or less the same - the only difference being the declaration of knots.

I need the curve to pass through a specific point, is there a way to accomplish this that I'm completely missing? Would it require me to assign the knots? I don't really know how they work exactly... Any help would be greatly appreciated!

FunkyBunnies
09-21-2006, 11:57 PM
sorry to bump so early, but I'd really like to figure this out, it would help my script quite a bit.

here are some pics so you can visualize it more clearly.

Basically, I want to script the creation of an EP curve but I can't figure out how. Any help would be excellent.

martinw
09-23-2006, 03:19 AM
One way to do it is to create a degree 1 curve with the CVs where you want the EPs on your final curve to be. Then select the degree 1 curve and use the fitBpline command, which will build a smooth degree 3 curve that interpolates the points on the degree 1 curve.

FunkyBunnies
09-24-2006, 12:14 AM
Thanks martinw, this will definitely come in handy.

CGTalk Moderation
09-24-2006, 12:14 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.