I’m new to OpenGL and want to use it to create a small 2-dimensional application. I chose OpenGL because performance counts and will use the JOGL bindings for realization.
For the beginning, I’d need some advice or “keyterms” how-to realize the following things, what I should start with or read first. So here’s an abstract list of what I want to do:
-Drawing 2d-shapes in different colors
-Animating them separately
-Intersection: when two or more of the shapes intersect from the Top-view, i want the intersected area to be painted in any color assigned to it.
-Texturing: I want to texture the background and the objects to be mixed-with the texture, as if painted on a canvas.
Now I wonder how:
-can I handle different 2d-shapes separately (animating, creating) and later display them together?
-how can I realize this intersection-thing (blending?)
I’d be very glad about some suggestions!
Thank you very much in advance!