Steilen
08-01-2001, 05:03 AM
Hi All !!!
I'm developping an interface app with some openGL graphics in it : in fact, I am drawing points (the coordinates of which come from another dialogbox) on the window...
Unfortunately the coordinate system in which those points are set is not known to me... So I've placed a gluLookAt() call with arguments not really accurate.(so that sometimes my points are not on the screen!!)
What I would like to know is if it is possible to find some automated transformations in order to zoom fit my points to the window (so as to see them all)...
Thanks for all hints or answers!!
I'm developping an interface app with some openGL graphics in it : in fact, I am drawing points (the coordinates of which come from another dialogbox) on the window...
Unfortunately the coordinate system in which those points are set is not known to me... So I've placed a gluLookAt() call with arguments not really accurate.(so that sometimes my points are not on the screen!!)
What I would like to know is if it is possible to find some automated transformations in order to zoom fit my points to the window (so as to see them all)...
Thanks for all hints or answers!!