Re: [Celestia-developers] Proposed travel patch
Real-time 3D visualization of space
Status: Beta
Brought to you by:
cjlaurel
From: Christophe T. <ch...@te...> - 2003-04-25 16:02:01
|
On Monday 21 April 2003 19:05, Chris Laurel wrote: > There are three phases: orientation = initial, interpolating orientation, > and orientation = final. The amount of time spent in each phase should be > selectable. Actually, just specifying the length of the initial and final > phases is enough, as the length of the interpolating phase is just > 1 - (initial + final) This new patch makes it configurable, you specify the start and end of the interpolating phase (in the 0-1 range). I've left the default to 0.25, 0.75 for now but that can be easily changed, and it's 0, 1 when centering. It's now using sin² instead of sin in the interpolating phase for increased smoothness :-) I've also added it to the observer:goto command as optional 3rd and 4th arguments. > At a later point, I want to add different methods for interpolating > position as well. A 'great circle' mode would be particularly useful when > travelling between objects in low Earth orbit for example. Right now, > zooming from Hubble to ISS will more likely than not involve zooming > through the Earth's mantle :) Generaly we should have basic collision detection, at least for spherical objects. -- Christophe |