Jump to content
  • Advertisement

Archived

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

Esap1

Nehe Texture Example to work.

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

I cant get the Texture Example off the Nehe site to work. I tried using 128x128x32, and a 256x256x32 texture, and named them texture.tga, and the Quad is still white. Please help, Im getting fustrated with OpenGL.

Share this post


Link to post
Share on other sites
Advertisement
Will someone please give me a texture that Nehes Texture Example will load. Ive downloaded a bunch of tga, and not ONE works. What the heck is the matter. Inside the function the imageData variable is still NULL after the function(at the end). Please tell me whats wrong.

Share this post


Link to post
Share on other sites
Well, in his Texture Example theres a file called tga.c, and a function called LoadTGA, and it says it loads texture.tga. Are you sure?

Share this post


Link to post
Share on other sites
Well as far as I can tell he loads a bitmap as well. If I were you I''d try that, what kind of error is it giving you and where?

Share this post


Link to post
Share on other sites
I was not looking at the offical Nehe Site, Im sorry for the confusion, I got it to work

Share this post


Link to post
Share on other sites

  • 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!