I can't seem to find a version of PyOpenGL 2.x for Python 2.5 on Mac OS X.
While there does seem to be the speed issue wtih pyopengl 3.0.0a5, 3.0.0b6 doesn't seem to work at all. It gives back really interesting errors. Want to see one of those?
On Sep 22, 2008, at 3:44 PM, Andrew Straw wrote:
John, As for the speed issue, what video card did your old G5 iMac have? (I can see your MacBook has an Intel GMA X3100.) Also, can you try with PyOpenGL 2? PyOpenGL 3 uses the slower ctypes-based interface, and I'm curious to see if this could be the problem. -Andrew John Christie wrote:Alright... I didn't see that the demos are now within the universal archive instead of a separate download. I installed using easy_install visionegg==1.1.1. Wow, it seems like a lot of dropped frames on my MacBook. I seem to remember far fewer on my old G5 iMac. histogram:Time: 0 2 4 6 8 10 12 14 16 18 20 22 24+(msec) Total: 0 0 0 0 0 0 0 0 0 4 214 17 230 On Sep 22, 2008, at 3:25 PM, Andrew Straw wrote:John Christie <John.Christie@xxxxxx> wrote:This looks like just an error in the demos with new versions of Numeric?? after issuing... python multi_stim.py I get... 2008-09-20 18:44:37,949 (5119) INFO: Script multi_stim.py started Vision Egg 1.1.1 with process id 5119. 2008-09-20 18:44:42,581 (5119) INFO: Requesting window 640 x 480 32 bpp (8 8 8 0 RGBA). 2008-09-20 18:44:42,693 (5119) INFO: OpenGL 1.2 APPLE-1.5.30, Intel GMA X3100 OpenGL Engine, Intel Inc. (PyOpenGL 3.0.0a5)2008-09-20 18:44:42,694 (5119) INFO: Video system reports 32 bpp (8 88 8 RGBA).2008-09-20 18:44:44,076 (5119) CRITICAL: Traceback (most recent calllast): File "multi_stim.py", line 331, in <module> pixels = RandomArray.randint(0,256, (20,20,3)).astype(Numeric.UnsignedInt8) ValueError: Invalid type for array Traceback (most recent call last): File "multi_stim.py", line 331, in <module> pixels = RandomArray.randint(0,256, (20,20,3)).astype(Numeric.UnsignedInt8) This is latest versions of pretty much everything on Mac OS X. (most other demos run great).Hi John,It looks like you aren't using multi_stim.py from the Vision Egg 1.1.1source. The old version (what you're using) uses Numeric's RandomArray and friends. The new version uses numpy. (numpy is the new version ofNumeric.) You can definitely fix this by running the new multi_stim.py.You can probably fix this by installing the old Numeric if you can find it. -Andrew -- Dr. Andrew D. Straw California Institute of Technology http://www.its.caltech.edu/~astraw/ ====================================== The Vision Egg mailing list Archives: //www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html====================================== The Vision Egg mailing list Archives: //www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html-- Dr. Andrew D. Straw California Institute of Technology http://www.its.caltech.edu/~astraw/ ====================================== The Vision Egg mailing list Archives: //www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html
====================================== The Vision Egg mailing list Archives: //www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html