How come mine does'n't rotate, i did everything exactly the same, same header files and the same code too... It was spot on till the previous tutorial, and just added this new method update() and made the change in main() and it doesn't work... :( :( :(
Congratulations, this is excellent! Now, I'd really love to watch a tutorial from you explaining in more depth the matrix transformations, the difference between GL_PROJECTION and GL_MODELVIEW, that stuff that normally is explained too abstractly to get a quick grasp at... Would you consider doing it?
I really really hate the stupid glBegin() .. glEnd() crapy cally thingy whatever .. please don't lead new guys down the wrong road. Vertex Buffer Objects .. is the way to go everyone .. just remember this after the first few aha moments with OpenGL
Thankyou so much dude im taking a class on openGL and your video helped so much!
nightbird804 6 months ago
Shouldn't that rotation be in radians?
Martyj2009 11 months ago
@Martyj2009 naw, gl does rotations in degrees
k4ur0 10 months ago
How come mine does'n't rotate, i did everything exactly the same, same header files and the same code too... It was spot on till the previous tutorial, and just added this new method update() and made the change in main() and it doesn't work... :( :( :(
marcusandguitar 1 year ago
Thanks for these tutorials! These are the best and most beginner-friendly I found so far! Great explanation :]
haampie 1 year ago
Very good tutorials! No fancy extras, plain code, clear and still detailed. The guy knows what he does and why :)
occ4m 2 years ago 10
Thank you! Very clear explanations. I like your website, too.
ADeadRock 2 years ago 3
"WHAT HAVE WE CREATED ! ? ! " LOL :D It's seems I'm not the only cube with senso O' humor :)
Zookhaarh 3 years ago 4
Congratulations, this is excellent! Now, I'd really love to watch a tutorial from you explaining in more depth the matrix transformations, the difference between GL_PROJECTION and GL_MODELVIEW, that stuff that normally is explained too abstractly to get a quick grasp at... Would you consider doing it?
waldyrious 3 years ago
No offense man, really great tutorial but
...
I really really hate the stupid glBegin() .. glEnd() crapy cally thingy whatever .. please don't lead new guys down the wrong road. Vertex Buffer Objects .. is the way to go everyone .. just remember this after the first few aha moments with OpenGL
alright peace everyone :)
mrsepek 4 years ago
why dont you just use modulo(%) instead of "if" and "-"? ^^
TeronGer 4 years ago
You can only do modulo with two integers, not with two floats.
mittrekkie 4 years ago 2
Very clear explanation. Thank you.
zapwow 4 years ago