Jump to content
  • Advertisement
Sign in to follow this  
JoshuaWaring

Texture loading problem, using lwjgl and slick util to import

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

The textures appear all weird and any reference to glColor## are basically ignored and it appears black
I'm creating a game of pong smile.png textures are the exact same resolution used in the game.

capturefdv.png

[background=transparent]<img class="UMSRatingIcon" id="ums_img_tooltip" />[/background][background=transparent]
<img class="UMSRatingIcon" id="ums_img_tooltip" />[/background] Edited by Joshhua5

Share this post


Link to post
Share on other sites
Advertisement
Writing your own image file reader is not that difficult to do. The TGA file format is really trivial to read and the PNG file format isn't too bad either if you use the free library. http://www.marek-knows.com/downloads.php5?vmk=opengl2p1

The screenshot you posted kind of looks to me that your stride is off. What format are you textures saved in?

Share this post


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

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!