Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actual__SKYe

Posted 25 January 2013 - 08:05 PM

Are you perhaps incrementing the camera position on key presses?
Remember that you are incrementing the camera by that value every frame, so it could be that your camera moves so fast that the objects appear to disappear instantly.

If so, try using very small values for the translation function and see if it works.

EDIT: Also like Geometrian said, your matrix stuff is overly complicated. And you should keep your lookAt up vector at (0.0, 1.0, 0.0).


#2__SKYe

Posted 25 January 2013 - 08:04 PM

Are you perhaps incrementing the camera position on key presses?
Remember that you are incrementing the camera by that value every frame, so it could be that your camera moves so fast that the objects appear to disappear instantly.

If so, try using very small values for the translation function and see if it works.

EDIT: Also like Geometrian said, matrix stuff is overly complicated. And you should keep your lookAt up vector at (0.0, 1.0, 0.0).

#1__SKYe

Posted 25 January 2013 - 08:03 PM

Are you perhaps incrementing the camera position on key presses?

Remember that you are incrementing the camera by that value every frame, so it could be that your camera moves so fast that the objects appear to disappear instantly.

 

If so, try using very small values for the translation function and see if it works.


PARTNERS