Jump to content

  • Log In with Google      Sign In   
  • Create Account

it want load textures :(


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 hello_there   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 December 2001 - 04:34 PM

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?

Sponsor:

#2 darkdragon666   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 December 2001 - 05:26 PM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS