#### Archived

This topic is now archived and is closed to further replies.

# A lot of questions...

This topic is 5946 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

##### Share on other sites
Hey... you don''t have to answer to all my questions... even one is good!

Bye Bye
F104/NA

##### Share on other sites
Ok, I can answer one. I had some problems with that 1s as well, but I think I understand it now. To calculate a spline the gamedev tutorial mentions that 4 coordinates (x,y) is needed. Refering to

http://www.tinaja.com/glib/hack62.pdf

I would say that 2 points are essential, the 2 in the middle are "influence" points. These 2 points control the shape of the curvature.

I have played some with these splines and done some simulations in MatLab. Check out the image at

http://www.efd.lth.se/~f98hfr/spline1.gif

The red points are start and end points and the green points are the "influence points", this image is with influence points calculated as just c1=x0+v0 and c2=x1-v1

And take a look at

http://www.efd.lth.se/~f98hfr/spline2.gif

as well, where the "influence" is higher. (c1=x0+3*v0 and c2=x1-3*v1).

Sounds reasonable?

[edited by - Ichabod on August 31, 2002 5:25:08 AM]

##### Share on other sites
Thank you very much Inchabod!

Now I understand better how to play with cubic splines!

Any other suggestion about the other 3 questions?

Bye Bye
F104/NA

1. 1
2. 2
3. 3
Rutin
15
4. 4
khawk
14
5. 5
frob
12

• 9
• 11
• 11
• 23
• 12
• ### Forum Statistics

• Total Topics
633661
• Total Posts
3013221
×

## Important Information

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!