DDS texture loading
How would I load a dds texture file into an OpenGL 2dtexture or cube map texture? I believe you use the glCompressedTexImage2DARB method and its friends. This PDF seems to contain some promising info that may be helpful to you. Depending on your needs, the DevIL library can take care of feeding OpenGL with a DDS file content. If the DDS contains a compressed texture then use glCompressedTexImage2DARB(), if it contains uncompressed data the usual glTexImage2D procedure applies. Once for each mipmap level if the DDS file contains mipmaps, and once for each cubemap face if its a cubemap. For how