Advertisement

11.05.2002 at 09:05PM PST, ID: 20391272
[x]
Attachment Details

How can I use gluLookAt ()to specify viewer movement?

Asked by kindy in 3D Game Programming

Tags: glulookat

I am a beginner of openGL, my question is that I am going to create a scene and initially viewer is at (0,0,0) and looks at (0,0,1), suppose Y is vertical axis, I should move viewer parallel to the XZ plane, I don't know how to make viewer move forward, backward, left , right and rotate using gluLookAt(). I am not sure how to compute the arguments used in gluLookAt(), would any one like to give me some help?

Thanks a lotStart Free Trial
[+][-]11.07.2002 at 12:47AM PST, ID: 7418798

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: 3D Game Programming
Tags: glulookat
Sign Up Now!
Solution Provided By: UncleSquirrel
Participating Experts: 3
Solution Grade: A
 
 
[+][-]11.15.2002 at 06:06PM PST, ID: 7456111

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11.20.2002 at 05:36PM PST, ID: 7476164

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.01.2003 at 12:17AM PDT, ID: 9464521

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32