• Advertisement
Sign in to follow this  

textures

This topic is 4834 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

can somebody please tell me the most basic way to load a partially transparent texture in opengl with Dev C++, I can't get anything to work :(

Share this post


Link to post
Share on other sites
Advertisement
hey bob, "I can't get anything to work" includes that NeHe tut, well it works, but then I can't get my own tga pics to work.
It keeps saying must be type 2 or 10 but I don't know what that means

Share this post


Link to post
Share on other sites
Quote:
Original post by clint8565
hey bob, "I can't get anything to work" includes that NeHe tut, well it works, but then I can't get my own tga pics to work.
It keeps saying must be type 2 or 10 but I don't know what that means


Ahh...So, it loads other people's tga files, but not yours? Well...Are you saving them in the correct way? (NeHe's tut needs RLE compression, make sure you aren't using anything else if you are using similar code).

Share this post


Link to post
Share on other sites
I found a free program PhotoFiltre... I can make a certain colour transparent, I can make the colour rgb OR indexed (up to 256 colours & diffuse is an option) that's about it

Share this post


Link to post
Share on other sites
Quote:
Original post by clint8565
I found a free program PhotoFiltre... I can make a certain colour transparent, I can make the colour rgb OR indexed (up to 256 colours & diffuse is an option) that's about it


Try infraview or the gimp. TGAs don't use color transparency, they have alpha channel support for that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement