mschwab1225
asked on
glNewList glCallList in opengl
I have to write a program. I'm using Microsoft visual c++. When you resize the window everything clears. I was told that if you used glNewList and glCallList, you could redraw the window. I did it but I cannot get it to work.
can u be more specific ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
glNewList() and glCallList() just create and execute display lists. They have nothing at all to do with redrawing the scene (except for the fact that they may actually contain some of the drawing operations).
When the window is resized you will want to redimension the viewing frustrum accordingly to keep things in perspective. The you will want to swap the buffers and keep going.
When the window is resized you will want to redimension the viewing frustrum accordingly to keep things in perspective. The you will want to swap the buffers and keep going.
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. Unless there is objection or further activity, I will suggest to accept "cd.smith" comment(s) as an answer.
If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points.
The link to the Community Support area is: https://www.experts-exchange.com/commspt
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points.
The link to the Community Support area is: https://www.experts-exchange.com/commspt
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
Force-accepted by
Netminder
CS Moderator
Netminder
CS Moderator