Camera movement?

I have created a nice camera class… and there I can add some points to it and the camera will move from point to point interpolating soft and smooth… but it doesn’t work as I want to… I want a beizer curve so it will be smoth when it swing around an object as it is now it will go strait to the next point and that will make the camera zoom in and out a little on the way to the next point looks strange

Hi !

I think it would be easier to create a spline curve interpolated through the existing points.

Mikael

Originally posted by mikael_aronsson:
[b]Hi !

I think it would be easier to create a spline curve interpolated through the existing points.

Mikael[/b]

ahh… yeah… spline thats the word I was looking for thanks! do you know any tutorials or anything about them ?

Hi !

If I rember correct, http://www.gamasutra.com/ has a few tutorials on this.

Maybe one of these might help you a bit:
http://www.doc.ic.ac.uk/~dfg/AndysSplineTutorial/
http://www.tinaja.com/cubic01.asp
http://www.cs.technion.ac.il/~irit/

IRIT is a set of libraries with everything you could ever wish in spline geometry, evben though it’s not completley “free”, it comes with source code you can peek at.

Mikael