TGA loading trouble, possible bug
First of all, thanks for this great site, it really helped me get up to speed with openGL.
I have trouble, however, with the tga loading code. On my pc it works fine, but I''ve heard from friends that it doesn''t load compressed tga''s on their machine. I run win2k and they run windows XP. Is this a common problem?
The code fail with error message: TGA be type 2 or 10. Are the header sizes different in xp?
Have fun,
Wybren van Keulen
Funny Farm
quote:
Original post by wavk
First of all, thanks for this great site, it really helped me get up to speed with openGL.
I have trouble, however, with the tga loading code. On my pc it works fine, but I''ve heard from friends that it doesn''t load compressed tga''s on their machine. I run win2k and they run windows XP. Is this a common problem?
The code fail with error message: TGA be type 2 or 10. Are the header sizes different in xp?
Have fun,
Wybren van Keulen
Funny Farm
An obvious question first up : are you both trying to load the same image? Have you tranferred by disc, cd, other media, email or network the image that you load onto you mates machine?
Make sure his image is RGB or RGBA, and not GreyScale or with a specific colour palette.
HTH
Cheers,Jeroen
It's an image rendered by 3dVirtuaLight, an external renderer. It's an RGB Compressed image and it loads perfectly on my system. It's a render that I load after the rendering has been done. Same version, same settings. My friends all tried loading the tga in an image viewer and there's nothing wrong with it.
So to make clear. The image doesn't initially exist. My program makes a scene discription file, calls virtualight to render, then loads the resulting tga file.
Have fun,
Wybren van Keulen
Funny Farm
[edited by - wavk on February 6, 2003 8:14:15 AM]
So to make clear. The image doesn't initially exist. My program makes a scene discription file, calls virtualight to render, then loads the resulting tga file.
Have fun,
Wybren van Keulen
Funny Farm
[edited by - wavk on February 6, 2003 8:14:15 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement