PDA

View Full Version : Drawing repeated images



beakie
09-20-2012, 07:47 PM
I have a series of 3x3 matrices which map a 2d pixel to the screen in a number of places.

I will rotate/mirror/translate the pixels to create a kind of pie chart/symmetrical moving image... (kind of like some music visual programs do?)

How is the best way to implement this with OpenGL pls?



// I am totally new to OpenGL 2D (and only a little less new to OpenGL 3D) //

Thanks!

V-man
09-23-2012, 05:21 AM
GL provides the ability to render points, lines, triangles. If you need to learn the basics of rendering and transforming, you should pick up a book or read one online. The Red Book for GL 1.1 is online. There is also the very ancient Nehe site.
http://nehe.gamedev.net/

If you want to directly avoid the ancient stuff and start using GL3, then look at the links in the Wiki.