PDA

View Full Version : Mask



alex_r
08-21-2002, 12:21 AM
How I use 2D pictures with mask in OGL with GLUT???

Thx
Alexandre Ribeiro de Sá

Jeffry J Brickley
08-22-2002, 11:59 AM
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.

alex_r
08-22-2002, 10:09 PM
WOW!!!
I'm so newbie to this (LOL)... I have much work to do, you know were I can find a sample to this???

Thanks
Alexandre Ribeiro de sá