[Fluxus] accum buffer example?
Dave Foster
dave.foster at gmail.com
Wed Nov 25 10:08:33 PST 2009
Yes, that's perfect. Thanks. Now I'll fiddle with the blend modes a bit to
see what they do.
dave
On Wed, Nov 25, 2009 at 1:04 PM, gabor papp <gabor.lists at mndl.hu> wrote:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20091125/90896f39/attachment.html>
More information about the Fluxus
mailing list