Solved

GLUT - unforced scene redisplay

Posted on 2004-10-10
3
730 Views
Last Modified: 2013-12-06
I'm trying to learn  OpneGl - Glut. Even if I roll over Minimize button of the window the scene will be redisplayed. Where is the problem? thx
0
Comment
Question by:pd21150
  • 3
3 Comments
 
LVL 2

Accepted Solution

by:
davidnsc1 earned 50 total points
ID: 12272748
You need to put glutPostRedisplay(); somewhere--either in a glut timer or idle function.  This will tell GLUT to call your Display function at the next possible chance.
0
 
LVL 2

Expert Comment

by:davidnsc1
ID: 12272754
Oh wait, sorry, I'm brain-dead.  That wasn't your question.  Give me a minute and I'll try to answer it properly.  Sorry!
0
 
LVL 2

Expert Comment

by:davidnsc1
ID: 12272759
Could you explain your problem further?  When you pause your mouse over the minimize button, the tooltip appears, and then glut triggers the display function?  Do you not want that to happen, or am I not quite getting your problem?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question