Jump to content
  • Advertisement
Sign in to follow this  
Furtani

OpenGL Texturenproblem

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

Hallo, ich übe mit OpenGL und GLUT grade eine Textur auf ein Objekt (teddy) zu bringen. Handelt sich um eine RGB-Textur ;). Wieso wird der Teddy nur rot und bekommt seine Felltextur nicht ? http://img2.abload.de/img/opengl_practisedsr6.png Quellcode: http://pastebin.com/m2612492f Danke :)

Share this post


Link to post
Share on other sites
Advertisement
Could you ask your question in English too? I've learned some German, buut I can't figure what's your problem, the only thing that I can guess that your object gets drawn in plain red instead of textured. I'll look into your code once again.

EDIT: Not sure it's the best way, but bindig your texture each time before drawing the model should work.

Share this post


Link to post
Share on other sites
Ohh sorry i was very deflectet.
In OpenGL and GLUT i try to assign a texture to an Object (teddy).
It's a RGB-texture ;).
Why does the Teddy have a red Texture in case of the RGB-Texture i have assigned (Fur-like)?

http://img2.abload.de/img/opengl_practisedsr6.png
Sourcecode: http://pastebin.com/m2612492f


@ TheUnnamable
yeah thats my problem, how do i bind it?



Thanks :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!