Tga and photoshop
Hi,
Im using the tga loading code from lesson #33. It does work with the TGA''s that came with the zip. But if i create my own TGA (or convert a TGA from jpg) with photoshop, i see nothing! Nothing except a white screen.
Im using ortho2D mode for my application. Does someone know what is wrong? Or even better: how can I solve this problem?
Thnx
AuC
Make sure your images are power-of-2 in size.
i.e. 512x512, 256x128, etc.
----------------
Amusing quote deleted at request of owner
i.e. 512x512, 256x128, etc.
----------------
Amusing quote deleted at request of owner
I belive there is a problem with the nehe tga loader, I don''t think it can load 32 bit TGA''s.
It may have been fixed in the past 6 months.
It may have been fixed in the past 6 months.
I read a lot about tga files
and I''ve seen nehe tutorial about htem.
It''s great but it can''t load 32 bit images.
Try the tutorial you can find at www.gametutorials.com
It''s better, but it''s not complete.
I menaged to improve it, but it''s too messy to post it, and it would require some extensive explanation.
and I''ve seen nehe tutorial about htem.
It''s great but it can''t load 32 bit images.
Try the tutorial you can find at www.gametutorials.com
It''s better, but it''s not complete.
I menaged to improve it, but it''s too messy to post it, and it would require some extensive explanation.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement