Advertisement

Lesson 09 wording

Started by April 07, 2006 05:25 PM
3 comments, last by nefthy 18 years, 10 months ago
First of all, thank you. I really enjoy the NeHe Tutorial on OpenGL so far. I'm currently at Lesson 09 but I find the example with the spinning room slightly confussing: "The first thing we do is spin the scene on the x axis. If we spin 90 degrees..." Aren't we rotating the scene on the y-axis to move -x "into the screen"? In the following paragraph of the lesson it continues: "because we've rotated on the y plane" My question is this, what is the difference between spinning the scene on the x axis and rotating on the y plane. If there is no difference how does glRotatef(tilt,1.0f,0.0f,0.0f) achieve a rotation on the y plane when the 1.0 coordinate is the x-parameter? Nicolai de Haan Copenhagen, Denmark
It's a bit hard to understand i know.
And there is probobly other ways of doing this, but this one is pretty good though, im shure you could do without the tilt rotation if you just fiddle a little with the coordinates.
Advertisement
So, now i am registered, I did the last 'anonymus' post (thought I though could enter a name, but...
NeHe does no longer administer the site.
Andrew Russell is now in charge of nehe.gamedave.net so you might want to contact him with the issue.

This topic is closed to new replies.

Advertisement