PDA

View Full Version : Load textures in my project



biagio
09-24-2001, 04:26 AM
I must change the visualization of the image in real time.
I have put in memory my images in an array of the type: " AUX_RGBImageRec* "
Now I would visualize these images on a surface, ie. a cube.
I had used code like this:
glEnable(GL_TEXTURE_2D);
gluBuild2DMipmaps;
But someone told me that it is not useful because I don't have to generate a series of texture maps of decreasing size.
I would be grateful if you point me some examples.