This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
JPanel & JScrollPane problem
JScrollPane in JInternalframe and JPanel in JScrollPane
Setting a scroll pane's scroll bar to the top after button click?
ViewPort resizing in JScrollPane embedded in JPanel is creating problem....
Can't make JTableHeader reorderingAllowed