Help on Interpolation splines in 3D...

OT: anything goes!

Moderator: Edi

Post Reply
User avatar
Dahak
Emperor's Hand
Posts: 7292
Joined: 2002-10-29 12:08pm
Location: Admiralty House, Landing, Manticore
Contact:

Help on Interpolation splines in 3D...

Post by Dahak »

I know, this might be a bit far fetched, but it doesn't hurt to ask :)

For a project, I have to interpolate through N points (x, y, z) in 3D, where the ensuing curve has to go through all points.
Now I have some algorithms for splines in 2D, but I am stuck how to do it in 3D.

If there is someone out there who has a clue, please let me know :D
Image
Great Dolphin Conspiracy - Chatter box
"Implications: we have been intercepted deliberately by a means unknown, for a purpose unknown, and transferred to a place unknown by a form of intelligence unknown. Apart from the unknown, everything is obvious." ZORAC
GALE Force Euro Wimp
Human dignity shall be inviolable. To respect and protect it shall be the duty of all state authority.
Image
User avatar
Colonel Olrik
The Spaminator
Posts: 6121
Joined: 2002-08-26 06:54pm
Location: Munich, Germany

Re: Help on Interpolation splines in 3D...

Post by Colonel Olrik »

Dahak wrote:I know, this might be a bit far fetched, but it doesn't hurt to ask :)

For a project, I have to interpolate through N points (x, y, z) in 3D, where the ensuing curve has to go through all points.
Now I have some algorithms for splines in 2D, but I am stuck how to do it in 3D.

If there is someone out there who has a clue, please let me know :D
Do you have access to Matlab?

Function interp3(...,'spline')

If you don't have it, then you sure as hell should. A must for a math/science student.
User avatar
Dahak
Emperor's Hand
Posts: 7292
Joined: 2002-10-29 12:08pm
Location: Admiralty House, Landing, Manticore
Contact:

Re: Help on Interpolation splines in 3D...

Post by Dahak »

Colonel Olrik wrote:
Dahak wrote:I know, this might be a bit far fetched, but it doesn't hurt to ask :)

For a project, I have to interpolate through N points (x, y, z) in 3D, where the ensuing curve has to go through all points.
Now I have some algorithms for splines in 2D, but I am stuck how to do it in 3D.

If there is someone out there who has a clue, please let me know :D
Do you have access to Matlab?

Function interp3(...,'spline')

If you don't have it, then you sure as hell should. A must for a math/science student.
Unfortunately, I have to program it in the Horror That Is C++...
Image
Great Dolphin Conspiracy - Chatter box
"Implications: we have been intercepted deliberately by a means unknown, for a purpose unknown, and transferred to a place unknown by a form of intelligence unknown. Apart from the unknown, everything is obvious." ZORAC
GALE Force Euro Wimp
Human dignity shall be inviolable. To respect and protect it shall be the duty of all state authority.
Image
Post Reply