Jump to content
  • Advertisement
Sign in to follow this  
pheonix2468

how do you..

This topic is 4837 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

create a flashing background in glut?? I am useng the freeglut devpack in devc++ and wondered how i would make the background flash like acid (on nehe's homepage)?? help would be appreciated as i have wanted to know this since i started programming. -=pheonix2468=-

Share this post


Link to post
Share on other sites
Advertisement
Draw a poly the size of the screen and just change the color black white yellow,
doing it this way you can take a texture and wrap it to the poly.

you will need to look into timers or it will run at crazy speeds.

Share this post


Link to post
Share on other sites
You could set the clear color and call glClear(GL_COLOR_BIT);

you probarbly already call glClear, so this should work well.

Or if you want a more advanced background (lika a gradient) you could draw a full screen quad.

[simultanious post :D]

Share this post


Link to post
Share on other sites
Thanks guys. Ive not done much in the way of timers and this is just a small project to get me back into the swing of things, cause i havn't done cpp + ogl since the start of the summer. so could you please direct me in the way of a timers tut???

[Edited by - pheonix2468 on August 23, 2005 1:47:13 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!