wood burning stoves*
The moose likes Other JSE/JEE APIs and the fly likes JOGL Help: Adjusting glViewport() in display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JOGL Help: Adjusting glViewport() in display" Watch "JOGL Help: Adjusting glViewport() in display" New topic
Author

JOGL Help: Adjusting glViewport() in display

Stevie Shorey
Ranch Hand

Joined: Dec 10, 2012
Posts: 45

Hi,

How do i adjust the viewport and gluOrtho2D size once i have initiated them in init().
Basically when the user loads a new image, how do i adjust the viewport to this new image's size?
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JOGL Help: Adjusting glViewport() in display