   Volume textures
  Hiya,Straightforward questions:1. What image formats support 3D textures? (.DDS), Any other? I'd hate to include some stupid directX headers. I'm not even sure they're portable.2. Do you know if there is a library for OGL that loads 3D textures? I checked SOIL, but it doesn't load 3D.3. Do you know where I could find sample code on using volume textures in OpenGL. I remember using them in DirectX, and it was a breeze. OpenGL not so much.Thanks   
  1. I don't know. I just use DDS and don't include DirectX headers. I use DevILhttp://www.opengl.org/wiki/Getting_started#External_LinksThere is nothing special about DDS. It stores as uncompressed RGBA. I beleive there is no DXT compression for 3D textures unless if you want to compress each slice.2. DevIL3. There isn't anything special about them. Just load and apply the texture to some triangle.uint textureID;  glGenTextures(1, &textureID);  glBindTexture(GL_TEXTURE_3D, textureID);  glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);  glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);  glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE);  glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);  glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);  glTexParameteri(GL_TEXTURE_3D, GL_GENERATE_MIPMAP, GL_TRUE);  glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA8, 32, 64, 2, 0, GL_BGRA, GL_UNSIGNED_BYTE, pixels);glDeleteTextures(1, &textureID); [Edited by - V-man on May 15, 2009 11:27:43 PM];  Thanks a lot mate, very helpful.   