Hello to you reader!
I wanted to ask you how textures are initialized. I mean, if i have the code for reading all the info included in an image file (.png,.jpg,*.pcx,etc.), how can i use it for building an OpenGL texture.
Is there a standard way of doing things before reading the image file, and after that, for building a texture?
Something like Display Lists.
In DL first you have to gen the list, then to compile it and after that you draw things normally. When you finish you glEnd… the list. Is there a similar way for building textures in OpenGL. Is there a standard initialization code, after you put all the image info somewhere (i don’t know where) and then you end the texture?
Thanks.
Forgive my terrible English.
HellRaiZer