I am having trouble resizing the graphic in the window when I adjust the window size. I tried alot of the other example but none worked for mine. Here is some of my code…
void display(void)
{
drawManometer(); //function that calls graphics
glFlush ();
Originally posted by newguy:
[b]I am having trouble resizing the graphic in the window when I adjust the window size. I tried alot of the other example but none worked for mine. Here is some of my code…
void display(void)
{
drawManometer(); //function that calls graphics
glFlush ();
thanks but it did not work. In my drawManometer(); I am calling data from a file to display in GL. But when I resize the window the graphics don’t fit in they get clipped. Is it because I am reading data from a file?
I think part of your problem is that you are using ortho mode, try changing to perspective view.
Originally posted by newguy: thanks but it did not work. In my drawManometer(); I am calling data from a file to display in GL. But when I resize the window the graphics don’t fit in they get clipped. Is it because I am reading data from a file?