Bugs item #3409147, was opened at 2011-09-14 11:21
Message generated for change (Tracker Item Submitted) made by dvdhrm
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3409147&group_id=5988
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: doc
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Herrmann (dvdhrm)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: Wrong gluLookAt Documentation
Initial Comment:
The documentation of the algorithm behind gluLookAt is partly wrong. See:
http://pyopengl.sourceforge.net/documentation/manual/gluLookAt.3G.html
"s" needs to be normalized because it is used for rotation, not translation. Also other gluLookAt implementations do this. For instance see:
http://www.opengl.org/wiki/GluLookAt_code
And also if "s" is normalized, there is no need to normalize UP anymore.
So "s" is computed this way:
tmp = f x UP
s = tmp || tmp ||
and UP' can be removed.
Cheers
David
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3409147&group_id=5988
|