Advanced

PyFX: A framework for real-time graphics effects

Lejdfors, Calle LU and Ohlsson, Lennart LU (2005) LU-CS-TR:2005-233.
Abstract
Programming real-time effects for contemporary GPUs requires writing shader programs to run on the GPU as well as code for the render state setup logic performed by the CPU. While the GPU parts are well supported by high level programming languages, the effect frameworks commonly used for the CPU parts are lacking both in functionality and expressive power, which makes them difficult to work with.



In this paper we present an effect framework implemented as an embedded language in Python. We show that this high-level language for effect descriptions provide increased expressivity, without sacrificing declarativity of other frameworks. We show how some additional functional features, image-processing and off-screen render... (More)
Programming real-time effects for contemporary GPUs requires writing shader programs to run on the GPU as well as code for the render state setup logic performed by the CPU. While the GPU parts are well supported by high level programming languages, the effect frameworks commonly used for the CPU parts are lacking both in functionality and expressive power, which makes them difficult to work with.



In this paper we present an effect framework implemented as an embedded language in Python. We show that this high-level language for effect descriptions provide increased expressivity, without sacrificing declarativity of other frameworks. We show how some additional functional features, image-processing and off-screen render targets, cooperate with the effect language giving a rich environment for experimenting with both functional and expressive features of effect programming. (Less)
Please use this url to cite or link to this publication:
author
organization
publishing date
type
Book/Report
publication status
published
subject
volume
LU-CS-TR:2005-233
pages
12 pages
publisher
Lund University
language
English
LU publication?
yes
id
3fb51ea1-df29-4263-b0bf-18d7ad8adc7d (old id 954552)
date added to LUP
2008-01-28 11:47:40
date last changed
2016-04-16 09:45:09
@misc{3fb51ea1-df29-4263-b0bf-18d7ad8adc7d,
  abstract     = {Programming real-time effects for contemporary GPUs requires writing shader programs to run on the GPU as well as code for the render state setup logic performed by the CPU. While the GPU parts are well supported by high level programming languages, the effect frameworks commonly used for the CPU parts are lacking both in functionality and expressive power, which makes them difficult to work with.<br/><br>
<br/><br>
In this paper we present an effect framework implemented as an embedded language in Python. We show that this high-level language for effect descriptions provide increased expressivity, without sacrificing declarativity of other frameworks. We show how some additional functional features, image-processing and off-screen render targets, cooperate with the effect language giving a rich environment for experimenting with both functional and expressive features of effect programming.},
  author       = {Lejdfors, Calle and Ohlsson, Lennart},
  language     = {eng},
  pages        = {12},
  publisher    = {ARRAY(0x9ec8ae0)},
  title        = {PyFX: A framework for real-time graphics effects},
  volume       = {LU-CS-TR:2005-233},
  year         = {2005},
}