-
how to implement automatically resizeable GLwindow??
Hello,
iam working on java and opengl.for this i need an automatically resizeable openGL window in a java split pane.
i donot know how to do it??
plz help me.
any code would be highly useful..
vamsee
-
Re: how to implement automatically resizeable GLwindow??
Hi !
It depends a little on what OpenGL layer you use with jave (gl4java,jogl...)
Anyway, you just setup a window event listener that handles the window resize event, when you get it you do the same thing as you would in any other OpenGL application, the most common thing to do is to call glViewport().
Mikael
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules