[Fluxus] accum buffer example?

gabor papp gabor.lists at mndl.hu
Wed Nov 25 10:04:05 PST 2009


>  I think I am down the wrong path.  I think what I want to do is blend.
>  Let's switch my request up for an example on that, please :)
> 
hi Dave,

the example uses splat.png, which a quite new addition to the fluxus 
git. if you have an older version, you can download it from here:
http://git.savannah.gnu.org/cgit/fluxus.git/plain/modules/material/textures/splat.png

-------

(clear)

(hint-ignore-depth)

(texture (load-texture "splat.png"))

(blend-mode 'src-alpha 'one)

(define p (build-particles 512))

(with-primitive p
     (pdata-map!
         (lambda (p)
             (rndvec))
         "p")
     (pdata-map!
         (lambda (c)
             (vector 1 1 1 .2))
         "c"))

---------

hope it helps,
gabor




More information about the Fluxus mailing list