Skip to main content
GameDev.net gamedev.net
🔒 Locked

3D curves

Started by matt_j Jan 9, 2008 at 10:17 PM 4 replies 1.4k views
Original Post
matt_j
matt_j
I'm looking for a way to create 3D curves, kind of like bezier curves, but in 3D space. What's a good way to mathematically represent these? P.S. The closest thing I've found in Blender is the "Path" object.
matt_j
matt_j
I'm not trying to create a surface, but rather a path in 3D space. (Take a look at the path object in Blender. I can place control points anywhere I want)
Zakwayda
Zakwayda
Quote:
Original post by matt_j
I'm not trying to create a surface, but rather a path in 3D space. (Take a look at the path object in Blender. I can place control points anywhere I want)
You can use splines (such as Bezier curves) in 3D as well as 2D. Some of the details are a little different (such as computation and handling of coordinate frames), but the basics - evaluating positions and so on - are the same regardless of dimension.
HappyCoder
HappyCoder
It works exactly the same as 2D curves only with a third equation to represent z.

Linky
My current game project Platform RPG
matt_j
matt_j
Yes, thanks! I got it working now!
-Matt

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.