#### Archived

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

# A lot of questions...

This topic is 6254 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

• ### Game Developer Survey

We are looking for qualified game developers to participate in a 10-minute online survey. Qualified participants will be offered a \$15 incentive for your time and insights. Click here to start!

• 14
• 30
• 9
• 16
• 12