Jump to content
  • Advertisement
Sign in to follow this  
maverick20

OpenGL glut documentation and pseudoclouds in OpenGL

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

Hi!!! well first of all, where can i find GLUT documentation with all the commands, and second, i have been given a case study to complete in which i just have to make a pseudorandom clouds of dots. The dots could be generated with random() function of C++ but i have to make my own RNG(Random Number Generator) for generating the dots. Any idea on how can i make my own RNG??? Thnx... and ya,, any good and easy book on openGL???

Share this post


Link to post
Share on other sites
Advertisement
Try www.opengl.org under GLUT.
To generate completely random numbers, use the system timer to make your own generator, or use random_s() if you're using MSVC2005 wich does that for you.

Alternatively, pick the current time, make some wierd calc, and put it on a randseed(). Then generate the numbers you want and change the seed as you wish.

Share this post


Link to post
Share on other sites
What I know about random numbers, is that they are generated useing PI and time. I am not sure how to do it at the moment, but it has to do with just walking along PI and get the decimal out of it for that moment.

Greetings, Mic

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!