Advertisement

Camera

Started by June 10, 2002 09:29 PM
1 comment, last by godkane 22 years, 8 months ago
When drawing a scene, and you want to move around in it, do you have to draw the scene relative to you, or can you just move the camera around opengl''s set grid? -godkane
there is no camera, you cannot move it. The only way to make it seem as though the viewpoint is moving is to move the world around you. gluLookAt might help, but it only simulates camera movement by translating the world
Advertisement
Look at it this way. What is the camera? Your screen. You can''t move the screen around, so you can''t move the camera around.
gluLookAt is nice because it makes it seem like you really are moving a camera around. But really all it''s doing is translating and rotating as well.

------------
aud.vze.com - The Audacious Engine <-- It''s not much, yet. But it''s mine... my own... my preciousssss...
MSN: nmaster42@hotmail.com, AIM: LockePick42, ICQ: 74128155
_______________________________________Pixelante Game Studios - Fowl Language

This topic is closed to new replies.

Advertisement