root / PyOpenGL-Demo / NeHe / lesson48 / PythonLesson48_Readme.txt @ 2
Historique | Voir | Annoter | Télécharger (1,08 ko)
| 1 |
Python Specific notes: |
|---|---|
| 2 |
- ArcBall.h's function Matrix3fMulMatrix3f (A, B) uses an unusual |
| 3 |
convention where A' = B * A. The A matrix is changed in place. |
| 4 |
The python function creates a new matrix and operates as A' = A * B. |
| 5 |
- ArcBall's math and data structures have largely been implemented |
| 6 |
using the Numerical python package. Numerical provides fast, high |
| 7 |
quality, matrix operations and it allows for code that expresses |
| 8 |
the math more succinctly. |
| 9 |
- Initialize () doesn't need to generate texture coordinates for |
| 10 |
the sphere quadric because we don't apply an texture maps in this tutorial. |
| 11 |
- Python's modulus operator is defined to act differently for negative numbers |
| 12 |
|
| 13 |
|
| 14 |
------------------------------------------------------------------ |
| 15 |
Specific links for downloads of Python and components (Windows). |
| 16 |
As of July, 2004 |
| 17 |
|
| 18 |
Python 2.3 - http://www.python.org/ftp/python/2.3.4/Python-2.3.4.exe |
| 19 |
PyOpenGL 2.0.1 - http://sourceforge.net/project/showfiles.php?group_id=5988&package_id=6035&release_id=193380 |
| 20 |
Numerical Python v 22 - http://prdownloads.sourceforge.net/numpy/Numeric-22.0.win32-py2.2.exe?download |