[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.gef3d] Re: interpolated animation

Hi Miles,

On 2009-06-17 05:14:46 +0200, Miles Parker <milesparker@xxxxxxxxx> said:
There doesn't seem to be anyway to get the current camera target.. (Where the camera is looking..) When I try to animate the camera, it is really jerky, and I'd like to do a kind of pan movement but to do that I htink I need to know where the camera is currently pointed..?

Upps.. yes, you are right. Hehe.. you were right ;-) See revision 162: "added getter for view direction and up vector" :-D If have added two methods to ICamera.


If you want to know the figure to which the camera is looking at, you will have to ask the picker (ColorPicker, see also PickingUpdateManager) and use the (2D) center of the canvas as parameters.

Cheers

Jens