Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

GLUT - unforced scene redisplay

Posted on 2004-10-10
3
Medium Priority
?
733 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 150 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

660 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