Jump to content
  • Advertisement


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


texture mapping

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

hello guys - I''m new with opengl and I have a problem with texture mapping and I hope you can help me. when I take a original bmp picture - it''s work fine. but when I take jpeg picture, convert it to bmp(by easy graphic converter) and then try to texture - the program stop working in this stage (when i open the file) : if ((fp = fopen(filename, "rb")) == NULL) the new picture is in 128*128 so it''s soposed to work fine. so what can be the problam. thanks alot, and have a great day.

Share this post

Link to post
Share on other sites
Are you sure that your code works great with a regular bitmap file?
if it does, your converter is probably screwed up.
try using paint for windows XP or Some form of photoshop


It took me long enough, but now I am finally 16. Yay! Sorta funny, but I am probably the only person on earth who wrote a 3D driving game prior to actually driving .

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!