Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    455
  • comments
    639
  • views
    424576

GTL Part 5 : TGA and more

Sign in to follow this  
_the_phantom_

124 views

So, after a bit of hunting about basic TGA support is in... kinda.

It supports uncompressed/RLE'd data however the compressed/RLE stuff doesnt want to work atm. I've spend the best part of the day fighting with it and I cant see why it isnt working, something must be insane in my decoding but atm I cant see it for the life of me. Hopefully a break/sleep will help..

I've also fixed a minor bug in the PNG loader (if the buffer isnt a multiple of the image row lenght things might have gone wonky) and I've recoded the JPG loader to work in much the same way.

I've also fixed a minor bug in the file name id'ing code which sets up the correct filter for the stream [grin]

So, things are progressing nicely, I might knock RLE TGA's on the head for tonight and get a basic DDS loader working.

What I really need todo is find a library which definately decodes RLE TGA's correctly, so I can compare and contrast the code.
Sign in to follow this  


1 Comment


Recommended Comments

Have a look at the Irrlicht image code, it's clean and it works - should be a decent base for what you want to do.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!