Paint with OpenGl-Help!!

i have a project to do that needs to create a paint application using OpenGL and i have no idea how to do it. it needs to generate circles, square, elipse,triangle, dashed line, dotted line, line thickening and color filtering. can someone please help me with the coding…it needs to be like a paint application but this does not need to be as complex as that. thanx a lot.

You could drive OpenGL with 2d functions. Then you could draw lines in the frame buffer of OpenGL. Circle could be more complicated as you have to approximate it with many lines. You could use brushes by using textures etc.

Kilam.

Adobe Photoshop uses a 3D accelrator as well. I guess it manages it the way that it parts the picture into single quads and always updates them, if they changed.

BlackJack