Archived

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

hello_there

it want load textures :(

Recommended Posts

ok i want load texture in my programme using open gl. i copied nehe tutorial for loading texture but i didn''t work in my programme. can somone please tell me a the shortest way to load a bmp and convert it to a texture?

Share this post


Link to post
Share on other sites
Well to load textures it have to have an initialized OpenGL window and remember if U destroy the window and then re-create it again (in order to switch between fullscreen and windowed mode) your textures will be lost, so you''ll have to reload ''em again.

I think that NeHe''s code is pretty simple, if you still have problems, you can post your texture-loading-function.

good luck

Share this post


Link to post
Share on other sites