[gameprogrammer] Re: "scrolling" a camera in 3d

  • From: Jonathan Dearborn <grimfang4@xxxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Tue, 20 Mar 2012 13:01:49 -0400

Do you have the camera 'up' vector?  From that, you can determine relative
directions and integrate a position through time.

Jonny D


On Tue, Mar 20, 2012 at 12:42 PM, <luo_hei@xxxxxxxx> wrote:

> Im implementing a small prototype with Lime to get familiar with the
> engine, the idea is to achieve an isometric like view. currently I added
> camera rotation, but Im lost in the maths required to scroll the camera.
> The problem is that in Ogre I used node orientation which I could multiply
> for a vector, but Lime has no such thing as  orientation. So, Im only have
> the camera coordinates, the look at coordinates, and the camera current
> angle. From that, I need to calculate the new camera and look at
> coordinates that simulates a camera displacement to the right/left/up/down,
> relative to the camera, of course. Can somebody give me a help with this?
>
>
> --
> Roger D. Vargas
> Using Gentoo Linux 2010
> La unica forma de encontrar los limites de lo posible es yendo mas
> alla de ellos, hacia lo imposible
>
> ---------------------
> To unsubscribe go to 
> http://gameprogrammer.com/**mailinglist.html<http://gameprogrammer.com/mailinglist.html>
>
>
>

Other related posts: