• Advertisement

Archived

This topic is now archived and is closed to further replies.

Tga and photoshop

This topic is 5154 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
Make sure your images are power-of-2 in size.

i.e. 512x512, 256x128, etc.

----------------
Amusing quote deleted at request of owner

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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.

Share this post


Link to post
Share on other sites
you may want to use this..

http://members.iinet.net.au/~cleathley/openGL/TextureLoader.htm

Share this post


Link to post
Share on other sites

  • Advertisement