Reply – Re: How to Zoom in and Zoom Out using JOGL?
Your Name
Subject
Message
or Cancel
In Reply To
Re: How to Zoom in and Zoom Out using JOGL?
— by gouessej gouessej
Why do you mean by "i need to extends to AWT"? You just need to implement the interface MouseWheelListener and to add it into your GLCanvas by calling this method.

A simple solution consists in modifying the field of view in your projection matrix, look at glFrustum or gluPerpective if you use the perspective projection or glOrtho if you use the parallel projection.
Julien Gouesse | Personal blog | Website