flat assembler
Message board for the users of flat assembler.

Index > Main > Movement in OpenGL

Author
Thread Post new topic Reply to topic
kohlrak



Joined: 21 Jul 2006
Posts: 1421
Location: Uncle Sam's Pad
kohlrak
While reading NeHe's openGL tutorial 10, i noticed that he's moving everything else when the character moves, instead of moving the camra. Now, that's good in small programs, but i can just imagin that it's a big problem in bigger projects (even with macros it might get annoying). I've tried to do some fancy research and it appears that this isn't discussed much. So, i thought i'd post it here and get your thoughts.
Post 23 Jun 2007, 06:25
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat
It's because it's easier to translate the world about you rather than the camera itself. That's actually how the 3D math works.

Here's a site that explains it: http://rel.betterwebber.com/index.php?action=view&forum=Announce

It's under the tutorials.
Post 25 Jun 2007, 18:27
View user's profile Send private message Reply with quote
kohlrak



Joined: 21 Jul 2006
Posts: 1421
Location: Uncle Sam's Pad
kohlrak
Hm.... I never thought about that...
Post 25 Jun 2007, 22:02
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.