Jump to content

spline curve


jerome
 Share

Recommended Posts

Hi,

 

Does anyone want to implement a spline curve or did anyone start to do it ?

 

A spline curve is a curve passing thru given points.

 

Say, I have got 4 vectors, the spline will be a 3 degree polynomial continuous curve starting at the first vector, passing at the second vector, then at the third one, then stopping at the fourth one.

 

It's different than bezier curve, wherein the curve doesn't pass thru the control points : it's just curved by the control points.

 

Something like this could be convinient :

 

spline([array of vector3], nb_of_points_wanted) returning an [array of nb_of_points vector3] representing the curve path.

 

 

 

If noone started it, I could give a try ...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...