Git Product home page Git Product logo

visionegg's Introduction

Welcome to the Vision Egg!

INSTALLATION

To install from source, type this from a command line (as root, if
necessary) from the Vision Egg base directory:

python setup.py install

However, the above assumes all of the prerequisites are working.  For
blow-by-blow accounts of how I got the prerequisites for the Vision
Egg installed on all the supported platforms, check out the website at
http://www.visionegg.org/

RUN THE CONFIGURATION CHECK (BEFORE AND/OR AFTER INSTALLATION)

Check for pre-requisites on your system by running check-config.py.
This can be run before or after installation of the Vision Egg, and
also displays useful information about the Vision Egg, if already
installed.

DEMOS, DOCUMENTATION, ETC.

The demos are no longer installed, but they are included with the
source code and the demo packages.

See the README-DEMOS.txt file in those packages.

The documentation start page is doc/index.html

LICENSE

The Vision Egg is Copyright (c) 2001-2008 by the Vision Egg
Authors. It is distributed under the terms of the GNU LGPL (Lesser
General Public License.) See LICENSE.txt for more information.  This
software is provided "as is" without any warranty of any kind, either
expressed or implied.

CREDITS (SOURCE CODE INCLUDED WITH THE VISION EGG DISTRIBUTION)

See http://visionegg.org/Miscellaneous/CreditsAndThanks for more.

MAILING LIST

Sign up for the mailing list at
http://visionegg.org/Miscellaneous

visionegg's People

Contributors

astraw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

visionegg's Issues

Broken import statements make VisionEgg/Textures.py unusable.

The following lines in VisionEgg/Textures.py break the module.

# These modules are part of PIL and get loaded as needed by Image.
# They are listed here so that Gordon McMillan's Installer properly
# locates them.  You will not hurt anything other than your ability to
# make executables using Intaller if you remove these lines.
import _imaging
import ImageFile, ImageFileIO, BmpImagePlugin, JpegImagePlugin, PngImagePlugin

Trying to import Textures fails.

In [1]: from VisionEgg import Text
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-f6e5f71d5fce> in <module>()
----> 1 from VisionEgg import Text

/usr/lib/python2.7/dist-packages/VisionEgg/Text.py in <module>()
     24
     25 import VisionEgg.Core
---> 26 import VisionEgg.Textures
     27 import VisionEgg.ParameterTypes as ve_types
     28

/usr/lib/python2.7/dist-packages/VisionEgg/Textures.py in <module>()
     39 # locates them.  You will not hurt anything other than your ability to
     40 # make executables using Intaller if you remove these lines.
---> 41 import _imaging
     42 import ImageFile, ImageFileIO, BmpImagePlugin, JpegImagePlugin, PngImagePlugin
     43

ImportError: No module named _imaging

I have python-imaging and PIL installed.

numpy.oldnumeric no longer exists

Project attempts to import the oldnumeric module from numpy, but numpy has dropped that module. So users either have to use old version of numpy, or not use visionegg.

no Windows binary release for Python 2.6

There is no VE binary available for download for Python 2.6 on Windows.

This is because PyOpenGL 3.0.0 has bug on Windows. Specifically, multitexturing is broken, as reported (SourceForge bug 2817196). This is evident when trying to use the Gabor stimuli, which will fail and an exception will be raised. The workaround is to continue using PyOpenGL 2.x, which unfortunately not available for Python 2.6.

Installing in newer Macs

Hello!

I am having a real hard time installing in my Mac, Bigsur 11.6.4.
I am trying to set up a conda environment with older version of python, but even installing the recommended versions of pygame, PIL, etc.. has been a bit challenging.
Could you please help me?
Thank you so much.
Best,
Guilherme

VisionEgg randomly freezes on startup in Ubuntu 14.04.2

On my desktop running 14.04, when I run the following script:

https://github.com/florisvb/flydra_trigger/blob/master/nodes/simple_grating_test.py

A window opens, and more often than not, simply shows a transparent window frame. Occasionally, however, it does work and the stimulus (a moving sine grating) does play. The print out to the screen is identical whether or not the stimulus gets played:

$ python ./simple_grating_test.py
2015-05-29 11:29:18,342 (11822) INFO: Script ./simple_grating_test.py started Vision Egg 1.2.1+git with process id 11822.
2015-05-29 11:29:18,617 (11822) INFO: Requesting window 1280 x 720 24 bpp (8 8 8 0 RGBA).
2015-05-29 11:29:18,870 (11822) INFO: OpenGL 4.4.0 NVIDIA 331.113, GeForce GT 740/PCIe/SSE2, NVIDIA Corporation (PyOpenGL 3.0.2)
2015-05-29 11:29:18,870 (11822) INFO: Video system reports 32 bpp (8 8 8 0 RGBA).

I have not experienced this problem running the same script on ubuntu 12.04 (but on a different computer).

Any suggestions?

Python 2.6.3 build_ext bug breaks building the VE

When trying to build the VE with Python 2.6.3, we get the following traceback. This is known to the Python developers as Python bug 7064. This was fixed in Python r75256 and should hopefully be released as Python 2.6.4 in a couple of weeks.

running build_ext
Traceback (most recent call last):
  File "setup.py", line 309, in <module>
    main()
  File "setup.py", line 297, in main
    **extras_kws
  File "/home/astraw/PY263/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/home/astraw/PY263/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/home/astraw/PY263/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/home/astraw/PY263/lib/python2.6/distutils/command/build.py", line 134, in run
    self.run_command(cmd_name)
  File "/home/astraw/PY263/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/home/astraw/PY263/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "build/bdist.linux-x86_64/egg/setuptools/command/build_ext.py", line 46, in run
  File "/home/astraw/PY263/lib/python2.6/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/astraw/PY263/lib/python2.6/distutils/command/build_ext.py", line 449, in build_extensions
    self.build_extension(ext)
  File "setup.py", line 247, in build_extension
    build_ext.build_extension(self, ext)
  File "build/bdist.linux-x86_64/egg/setuptools/command/build_ext.py", line 175, in build_extension
  File "/home/astraw/PY263/lib/python2.6/distutils/command/build_ext.py", line 460, in build_extension
    ext_path = self.get_ext_fullpath(ext.name)
  File "/home/astraw/PY263/lib/python2.6/distutils/command/build_ext.py", line 633, in get_ext_fullpath
    filename = self.get_ext_filename(modpath[-1])
  File "build/bdist.linux-x86_64/egg/setuptools/command/build_ext.py", line 85, in get_ext_filename
KeyError: '_posix_maxpriority'

FixationCross breaks OpenGL state

Drawing the FixationCross stimulus causes problems when drawing other stimuli types. In particular, the other stimuli fail to be drawn.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.