Computer Graphics - LUGG

Computer Science | Faculty of Engineering, LTH

Denna sida på svenska This page in English

PyFX - An effect framework in Python

PyFX is a Python framework which makes it really easy to use graphics effects based on Cg shaders.


Here is an example of PyFX in use. The file implements the effect of distance based attenuation according to Beer's law. It can be used in an application like this:
   e = Effect('Beer')
   while e.hasMorePasses():
Which will generate the picture to the left.
There is also an experimental GPU-based image processing library built on top of PyFX is available here.

Latest news!

  • 2004-06-14 PyFX version 0.2.0 is released! See the download section.
    This release includes render-to-texture support and image processing extensions as an integral part of the framework. Download and enjoy!
  • 2004-06-09 PyFX was presented at EuroPython 2004. Slides are here!