   texturing problem (with TGA files)
  So I'm using the .NET TGA loader source code found at the bottom of NeHe's TGA tutorial and I'm getting a weird image when displaying my own texture.I'm only using it for testing purposes and the only thing I changed is replacing the compressed file with a brick texture. I uploaded it here: the texture I'm usingThe image's width and height are both power of 2 and it's a 32-bit image with RLE compression.This is what I got when I ran the program provided by NeHe: Weird result (the one on the right)What's causing the problem here? I'm assuming it has something to do with the texture image (and not with the source code). If anyone can possibly test the image out with their own TGA loader to verify if its whether the image or the program that's the issue, it would be greatly appreciated.Thanks in advance.[Edited by - 16bit_port on June 15, 2009 3:10:27 PM]
  Never mind. Figured it out. The parameters in glTexImage2D were for 24-bit TGAs.   