Re: [Algorithms] Smooth movement of camera along a path
Brought to you by:
vexxed72
From: Mark W. <mwi...@cy...> - 2000-08-01 16:01:37
|
Will and Jamie, Thanks for the help. This was exactly what I needed. The info was right in front of me in one of my books. I just didn't realize what it was called. -Mark > Catmull-Rom splines interpolate all control points, so they would be worth > checking out. Look at: > > http://graphics.cs.ucdavis.edu/CAGDNotes/Catmull-Rom-Spline/ Catmull-Rom-Spline.html > > The standard graphics textbooks have better expositions than this web page > if you have access to them. > > Will > > ---- > Will Portnoy > Easiest spline to use for this is Catmull Rom, which if I remember > correctly allows you to keyframe the way you want to. > > For a Java link, try > > http://www.media.mit.edu/~rich/research/java/docs/acg.stuttg art.rich.spline.CatmullRomSplineLoop3D.html > > I've no idea how good it is, I was only searching to remind myself of > the name :) > > Jamie > > > Mark Wilczynski wrote: > > > I'm trying to write a fly-by sequence (similar to the Unreal > > intro) for my 3d engine. Can anyone tell me how to smoothly > > move the camera along a set of predefined 3d points? > > Ideally, I would like a system where I manually move the > > camera around the environment and record keyframes at > > certain positions/orientations. Then I would like the > > system to automatically move the camera along a path > > interpolated from these keyframes. I'm guessing I need some > > sort of spline or other curve to do the job? > > > > -Mark > > |