[fluxus] video textures

dave dave at pawfal.org
Sat Mar 3 18:50:17 PST 2007


http://www.pawfal.org/fluxus/files/fluxus-video-texture-0.1.tar.gz

A video texture module for fluxus.

Building:

Requires libtheora and libvorbis, fluxus 0.12
To build type 'scons'

Commands:

(load-video-texture "movie.ogg")
Returns a texture id you can pass to (texture) or (multitexture)

(update-video-texture texture-id)
Increments the video by one frame

(clear-video-textures)
Deletes all texture data

Known issues:
* Some memory leaks when restarting script
* Glitchy looping
* Only tested on two movies
* No random frame access 
* High res movies will be *slow* 

Example script:

(load-extension "fluxus-video-texture.so")
(require fluxus-video-texture)

(clear)
(clear-video-textures)

(define vt (load-video-texture "movie.ogg"))

(push)
(texture vt)
(build-cube)
(pop)

(define (update)
    (update-video-texture vt))
(every-frame (update))





More information about the Fluxus mailing list