Original Post
Hi, I would like to know how to create patterns randomly in OpenGL. What I mean is that let say I use a square and a triangle, and then mix them up so that it creates a kind of pattern. The pattern generated should be unique. That is, next time a pattern is generated, it should be different from the previous one. Perhaps OpenGL has some specific functions for performing these??... I need to know also how to save each newly generated pattern as a picture file (JPEG, GIF, etc). Thanks for helping.