Hello. This is my first time posting here. I am currently in a computer graphics college course so I am very new to OpenGL. I have to draw, pixel by pixel, the Mandelbrot Set and implement zooming capability. My program draws the image but I don’t know where to go from here for the zooming portion.
The zoom will receive two mouse clicks as input (upper-left and lower-right corners) and redraw.
Using [b]glutMouseFunc/b I have created a function which reads the coordinates of the mouse clicks. Now I do not know what to do with these numbers in order to zoom.
If there is any more information required to assist please let me know. Any insight will be appreciated.