[ pyopengl-Bugs-3409147 ] Wrong gluLookAt Documentation
SourceForge.net <[email protected]> Wed, 14 Sep 2011 11:21:07 +0200
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net