Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


How to make a screen saver from GLUT?

This topic is 6454 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello All I am being reading the red Book for a Quite long time and i liked some examples in it and i want to turn them into a Screen Saver how can i do that .. Thanx in advance

Share this post

Link to post
Share on other sites
sorry i dont think its posible ive gonna add a screensaver part to my opengl appwizard but thats not at least for another week.
though u could try it by yourself screen savers aint that difficult. hhhmmmm might even do that before i do the win32 part


Share this post

Link to post
Share on other sites
A screensaver is activated with different cmdline parameters by windows according to which function is needed at present time. A screensaver is an exe file renamed to scr.

I''m sorry but I can''t remember the parameters, but they are used to:
Activate screensaver (/s??)
Activate configuration (/c??)
Activate password configuration (/a??)
probably more?? - msdn has documentation about making a screensaver.

The question has been answered numerous times, just do a search on the board with the keyword "Screensaver"

btw. this only works with widows... :=)

Søren Olesen

Share this post

Link to post
Share on other sites
I built a skeleton application a long time ago to answer the multitude of requests for this: it''s available at


or download the zip at:


just replace the teapot drawing code with your choice of nice effect.

have fun, play nice and share with your friends,

//-- Modelling and animation in every dimension --//

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!