Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > GLUT Slowdown Possible?

GLUT Slowdown Possible?
Thread Tools
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
Dec 28, 2002, 02:07 AM
 
Hi,
I was wondering if anyone knows how to slow down the refresh rate while using glut. I have things falling, and they fall too fast, and I can't change the amount they fall per redraw. Any ideas?

Thanks,
gabe
     
Junior Member
Join Date: Aug 2002
Location: Northeastern NV, USA
Status: Offline
Reply With Quote
Dec 28, 2002, 03:06 PM
 
Originally posted by Zimwy:
Hi,
I was wondering if anyone knows how to slow down the refresh rate while using glut. I have things falling, and they fall too fast, and I can't change the amount they fall per redraw. Any ideas?

Thanks,
gabe
Yeah... Trade computers with me!

My AGP G4 400 is S-L-O-W with OpenGL. Things are fine with smaller windows, but it all really starts to slow down dramatically the larger the window gets. Yeah, I'm still using the original 16 MB ATI 128-Rage that came stock with the machine. It was a great machine when it first came out, but just seems too sluggish now. In a few months I'll be purchasing a new machine, but I think I'm going to just by a PowerBook. Even the new PB's are dramatically quicker than my AGP 400. As for the AGP 400, it's going to be turned into a pure development and test server...

Sorry I didn't answer your question, but just had to comment!
     
Dedicated MacNNer
Join Date: Apr 2001
Location: Bethesda, MD
Status: Offline
Reply With Quote
Dec 30, 2002, 02:31 PM
 
You could put in a call to "usleep" and put your process to sleep for some amount of time. Or if you want to be clever, you could set up a timer that sends a signal every 60th of a second.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:59 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2