I just started opengl coding and bought myself a book to get some practise (opengl superbible 3th edition).
This book contains some great examples and explanations but i’m stuck somewhere (prolly something stupid)
I’m drawing some dots moving up and down, next 2 horizontal lines to split the screen intro 3 parts and then I wanted to try to show a rotating textured cube in between the middle lines. I tried some code from NEHE but it still does not work. My window gets black after the lines scene.
they offer lots of demos in sdl and glut. might be easier than foolin with all the windows crud. glut is fantastically simple to use, and perfect for demos and learning things in opengl – its a grab for sure.