lundi 30 mars 2015

OpenGl viewport zooming


I'm a bit new in opengl so please bear with me. I have a viewport window like this


http://ift.tt/1GFZsoQ


I have implemented a zoom in and zoom out using the arrow keys now the problem is it zooms in and out with the whole image. Can anyone put me in the right direction as to how i can make the gui on the sides stay in place while making my viewport the white background zoom in and out.


Any tips or suggestions on how i would accomplish this would be greatly appreciated!




Aucun commentaire:

Enregistrer un commentaire