What is your name? … What is your quest?.. errr … What is your favorite color? …
I mean the real questions are ( Answer right or you will be thrown down the bridge! ) :
1- Imagine that I create a texture object ,define its filters , and define its image with glTexImage2D(…). Now imagine that I want do get rid of this object and I use
glDeleteTexture(GL_TEXTURE_2D,Texname)
Now tell me this… Will the image that I passed with a pointer in glTexImage2D(…) in the last parameter ,be also deleted or I have to delete it?
2- Now imagine that I have a bunch of bmp images representing the animation of character , the image consists of the character in a black background , now I want to know how I render these images without the black background (in DirectX you can specify the color that you dont want to draw,does OpenGL have a function like that?)
3-When I tried to render some time ago textured objects with transparent objects I had some serious color problems because the textures were always being rendered with the color of the last transparent triangle (their colors were being mixed) I solved this problem placing the last comand in the draw function as glColor4f(1,1,1,1);
It worked ok ,But now I wonder , and If I wanted to render transparent textures with opaque ones … what do I have to do?
I dont know that ! !!! Arrrgghhh!!!