Cory Riddell wrote:
> 
> When the handler detects an x,y, or z keypress, it figures out the
> current camera position and the desired camera positions. It then
> calculates a path between the two and breaks it up into a number of
> discrete steps. These intermediate positions are stored in a vector. On
> each FRAME event, I pop_back() a position and set the camera to it. The
> result is a pretty slick effect where the camera glides from the current
> location to the desired 'home' position.

The animation is a nice idea.
I have users that are better suspicious of computers and they often 'get lost' 
in a 3D scene so anything that makes it more obvious what is happening is a 
good idea.
Do you have a code fragment demonstrating this?

Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12566#12566





_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to