[visionegg] Re: error: OpenGL.ctypes
- From: Andrew Straw <astraw@xxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Mon, 16 Feb 2009 14:54:58 -0800
Hi Iliya,
I don't have any radial gratings implemented, and I the general 1D
grating approach used by the VE wouldn't extend easily to do that. This
might be the time to incorporate pixel shaders into the VE -- one would
upload a GLSL micro-program to the GPU to render the radial grating to a
texture, which is then placed where you want it a la the usual VE
SinGrating stuff. If you're interested in working in that direction, I'm
happy to give any feedback and hopefully merge your work in if you're
amenable to that. The first thing I'd do would be to investigate
something like this GLSL Mandelbrot renderer to see if it could be adapted:
http://github.com/stefanv/scikits.gpu/blob/d57a676e16ed576a255a1a4cae64d8c019f0e8fb/examples/zoo.py
-Andrew
ilia ivanov wrote:
> Its really working great, and I was able to set up an experiment in
> hours. I`m planning an fMRI experiment on color perception in V1. To
> that end I will be presenting plaid color gratings (unipolar color
> modulation). I was looking in the demos to find radial sinusoidal
> gratings which would be optimal for my experiments but couldn`t find.
> Are you planing something in this line in the future, or could you
> suggest me how to implement that. I`m familiar with OpenGL and C/C++ but
> new to Python. I turned to Python because of the number of open
> libraries wich really save time to develope my stimuli: for example I
> will be using the **PyMVPA*
> <http://frontiersin.org/neuroinformatics/paper/10.3389/neuro.11/003.2009/>
> *to analyse my fMRI data.
>
> Best,
> Iliya
>
> --- On *Sun, 2/15/09, Andrew Straw /<astraw@xxxxxxxxxxx>/* wrote:
>
> From: Andrew Straw <astraw@xxxxxxxxxxx>
> Subject: [visionegg] Re: error: OpenGL.ctypes
> To: visionegg@xxxxxxxxxxxxx
> Date: Sunday, February 15, 2009, 10:37 PM
>
> ilia ivanov wrote:
> > Hello Andrew,
> >
> > That makes sense. Thank you very much for your help. Now I have
> > downloaded the demos and I`m able to run them. Yes, it was written that
> > I have to download the demos separately, but somehow this detail escape
> > my attention... Sorry.
> >
>
> Great, I'm glad they're working for you. No worries on the emails--I
> realize the Python distribution methods are suboptimal for the newcomer.
> If the VE was just an app I could ship as an .exe, but, as it's really a
> Python library, it's best to distribute it as a normal Python library.
> That said,
> I think Python really shows its scalability when building
> sophisticated applications that use a lot of such libraries, and there
> it's important to follow the Python standards for libraries. For
> example, I am really impressed with many of the articles on Python-based
> applications and libraries in recently in Frontiers in Neuroinformatics:
> http://frontiersin.org/neuroinformatics/
>
> -Andrew
> --
> Andrew D. Straw, Ph.D.
> California Institute of Technology
> http://www.its.caltech.edu/~astraw/
> ======================================
> The Vision Egg mailing list
> Archives: http://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: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
Other related posts: