Advertisement

it want load textures :(

Started by December 16, 2001 10:34 PM
0 comments, last by hello_there 22 years, 9 months ago
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?
____________________________________________________________How could hell be worse?
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

This topic is closed to new replies.

Advertisement