Solved

GLUT - unforced scene redisplay

Posted on 2004-10-10
3
731 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
candy crush 4 440
Are there Any RTS mpg sheets out there? 1 177
Is an Indie RTS practical? 7 147
Java - are methods called from within a Thread threaded? 2 76
Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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