Search:
Forum
General C++ Programming
OpenGL texture not mapping
OpenGL texture not mapping
Dec 29, 2015 at 11:45pm UTC
Angeljruiz
(187)
Decided to finally start learning 3D!
I'm able to draw 4 blue walls around the camera, but I'm unable to get a wood texture mapped onto it. The texture is 1024x1024. My LoadBitmap function seems to work fine, so the problem is probably how I'm setting everything up.
Can't get code insertion to work for some reason so I just posted it to
http://pastebin.com/paiuY9pe
Dec 30, 2015 at 12:28am UTC
TarikNeaj
(2580)
You should use this great tutorial, it has a texture section -
http://learnopengl.com/
Dec 30, 2015 at 12:33am UTC
Ganado
(6810)
Sorry I can't help you Angeljruiz, but I do agree with TarikNeaj, that link teaches modern OpenGL and not the deprecated "immediate mode" OpenGL.
Would suggest
https://www.opengl.org/discussion_boards/forum.php
for better help, btw.
Dec 30, 2015 at 1:50am UTC
Angeljruiz
(187)
Thanks :)
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs