[visionegg] Re: Error on FC7 and glColorf. SOLVED

  • From: Mark van Rossum <mvanross@xxxxxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Mon, 16 Apr 2007 19:51:21 +0100

On Monday 16 Apr 2007 19:43:21 Andrew Straw wrote:
> Hi Mark,
>
> I haven't had the chance yet to try VE with PyOpenGL 3. I suspect some
> aspect of the upgrade from PyOpenGL 2 to 3 is the issue. In the
> meantime, is it possible for you to downgrade to PyOpenGL 2?

Already fixed:

in line 424 of VisionEgg/Gratings.py use
gl.glColor4f(p.color1[0],p.color1[1],p.color1[2],p.max_alpha)

I know not enough of Python to know whether this is an implementation but of 
python, or a new syntax.


-- 
Mark van Rossum, Lecturer, ANC Rm D7, 5 Forrest Hill, U. of Edinburgh, 
Edinburgh EH1 2QL 
phone: +44-131-6511211 +44-131-5538885 (home)+44-7722049644(m)
http://homepages.inf.ed.ac.uk/mvanross
======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: