| | 22 | """ |
|---|
| | 23 | PyOpenGL is a wonderful extension to python, allowing nearly direct interfacing with OpenGL in a cross-platform way. |
|---|
| | 24 | However, myself and others have encountered a few quirks with VertexArrays and Numeric support, leading to copies (gasp!) |
|---|
| | 25 | of large memory blocks. As you can imagine (or may have experienced) this behavior rapidly degrades performance of |
|---|
| | 26 | python applications using large vertex arrays. Many have tried to correct the problem in the library, myself included, |
|---|
| | 27 | yet it remains unsolved. For me, it was far to difficult to try and patch the existing system in such a way as to insure |
|---|
| | 28 | existing code would function, while expunging the data copying code. |
|---|
| | 29 | |
|---|
| | 30 | So, the approach taken with NumericVertexArray is to reduce the complexity. Therefore, Numeric extensions are *required*, |
|---|
| | 31 | arrays are assumed to be contigious, and data is *never* copied. The philiosophy is that if a copy is required, an exception |
|---|
| | 32 | should be raised instead. Hopefully, this extension will assist you in your pursuits. And if not, use the source and make |
|---|
| | 33 | something new; or send me a patch. ;) |
|---|
| | 34 | |
|---|
| | 35 | Enjoy! |
|---|
| | 36 | """ |
|---|
| | 37 | |
|---|
| | 45 | |
|---|
| | 46 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| | 47 | #~ Constants / Variables / Etc. |
|---|
| | 48 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| | 49 | |
|---|
| | 50 | __version__ = '0.1.1' |
|---|
| | 51 | __license__ = 'BSD-style (See LICENSE)' |
|---|
| | 52 | __platforms__ ='Windows', |
|---|
| | 53 | __author__ = 'Shane Holloway' |
|---|
| | 54 | __author_email__ = 'shane.holloway@runeblade.com' |
|---|
| | 55 | __url__ = 'http://www.runeblade.com/' |
|---|
| | 56 | __keywords__ = ['OpenGL', 'PyOpenGL', 'Vertex Array', 'Numeric'] |
|---|