How I use 2D pictures with mask in OGL with GLUT???

Alexandre Ribeiro de Sá

I assume you found your other problem in GLUT?

Anyhow, there are several ways you can do this, as always. Not sure, specifically on GLUT, I don’t use it anymore, I do it all the hard way now (but I have more control over it). First off you can merge your mask together with your image, making your mask your alpha layer. you can then use the image in memory as either a texture (hardware accelerated), or as a drawpixels, both through basic OpenGL.

I’m so newbie to this (LOL)… I have much work to do, you know were I can find a sample to this???

Alexandre Ribeiro de sá