[Fluxus] texture to pixels
Dave Griffiths
dave at pawfal.org
Wed Sep 24 02:41:19 PDT 2008
> i'm trying to upload a texture image to a pixels primitive, but had no
> luck so far. although pixels->texture exists, texture->pixels does not,
> and i don't know if it's possible to read the pixels of a texture. is
> this possible?
nope - but you can load a png as a pixels primitive:
(define my-pixels (load-primitive "mypicture.png"))
> while playing with this, i tried to save a pixels primitive, which
> resulted in a segfault.
>
> (with-primitive (build-pixels 10 10)
> (save-primitive "pix.obj"))
oops. trying to save an image as an obj file... I'll look into it.
sorry for my lack of presence here lately, things are busy - I should have
more time next week.
cheers,
dave
More information about the Fluxus
mailing list