Conference article

PyFX - An Active Effect Framwork

Calle Lejdfors
Dept. of Computer Science, Lund University, Sweden

Lennart Ohlsson
Dept. of Computer Science, Lund University, Sweden

Download article

Published in: The Annual SIGRAD Conference. Special Theme - Environmental Visualization

Linköping Electronic Conference Proceedings 13:6, p. 17-24

Show more +

Published: 2004-11-24

ISBN:

ISSN: 1650-3686 (print), 1650-3740 (online)

Abstract

The programmability of modern graphics processing units (GPUs) provide great exibility for creating a wide range of advanced effects for interactive graphics. Developing such effects requires writing not only shader code to be executed by the GPU but also supporting code in the application where the effect is to be used. This support code creates dependencies between effects and the applications that use them; making it harder to evolve applications and to reuse effects. Existing effect frameworks; such as DirectX Effects and CgFX; can only provide partial encapsulation because they consider effects as passive data structures. In this paper we present an effect framework written in an ordinary scripting language where effects are active entities. This makes it possible to completely encapsulate both shaders and support code thereby minimizing the dependencies to the application.

Keywords

No keywords available

References

No references available

Citations in Crossref