PDA

View Full Version : About zoom window



KurtCob
03-08-2001, 01:18 AM
Hello guys,
I'm developing an application, and I'm trying to implement zoom window (rectangle), but I'm having problems, I draw a circle, and I perform the zoom window using glOrtho, but when the system perform the zoom, my circle come distorced, like an elipse.
Can someone help me ?

Thank you for the moment
Best regards

Kurt

zed
03-08-2001, 02:03 AM
setup viewpoint
glScale(ZOOM,ZOOM,ZOOM)
1 == the same size larger than 1 scales bigger

KurtCob
03-08-2001, 04:16 AM
Hello Zed,

How I will give the factor to use glScale ?

Thank you for the moment
Best regards
Kurt