Thanks Cyrille,<div><br></div><div>Ok, will move on the gem-dev.</div><div><br></div><div>M</div><div><br></div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Tue, Jan 3, 2012 at 11:31 AM, cyrille henry <span dir="ltr">&lt;<a href="mailto:ch@chnry.net">ch@chnry.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Le 30/12/2011 12:59, Marco Donnarumma a écrit :<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
ok,<br>
what&#39;s the correct way to update the help-files?<br>
<br>
Just edit them and submit somewhere?<br>
</blockquote></div>
yes.<br>
but please use the gem-dev mailing list for discussion about gem development.<br>
<br>
Cheers<br>
Cyrille<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
cheers,<br>
M<div><div></div><div class="h5"><br>
<br>
<br>
On Tue, Dec 27, 2011 at 11:12 PM, cyrille henry &lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;&gt; wrote:<br>
<br>
<br>
<br>
    Le 27/12/2011 14:44, Marco Donnarumma a écrit :<br>
<br>
        Hi Guido, Cyrille,<br>
<br>
        thanks for bringing the discussion further.<br>
        Actually Guido, I think I read you on the Pd forum few days ago and checked your patches too, nice work.<br>
<br>
        As for the documentation.<br>
        Personally, a great part of my first attempts at working with glsl in Pd were completely mined by the absence of a wrapper object for the glsl compilation; the lack of a [pix_shader] or [a_shad] for instance. It would be useful to have [pix_shader] included in GEM.<br>

        It might sound silly, but as Guido mentioned, getting a shader to work it&#39;s a much of a trial-and-error exercise.<br>
        Thus, in my experience, it took a lot of time to figure out where to look for bugs or problems.<br>
<br>
        I needed to study glsl (obviously) to start understanding; but I believe that users would benefit from the inclusion of some initial, basic information within the glsl help patches. For example, shader with rectangular textures won&#39;t work if you don&#39;t switch the [pix_texture] mode adequately.<br>

        This is not explained anywhere in Pd, and, yes, of course you can getting to it by learning with on-line resources, but it would be far easier to place a [comment] somewhere in the Pd patch. (I don&#39;t think it&#39;s there already, but please tell me if so.).<br>

<br>
    this is what the 1st example do explain.<br>
    at least, i thought it does. maybe it should be a bit more verbose.<br>
<br>
<br>
<br>
<br>
        Shortly, imho the present glsl help are very complex for a noob because:<br>
        _there isn&#39;t an &quot;official&quot; wrapper, so the loading/compilation process is visible and appears quite confusing.<br>
<br>
    wow. this is strange for me. I always do a copy/paste.<br>
    anyway, there is now a _glsl abstraction since i use it for the 14th example.<br>
    other examples can be update to use it.<br>
<br>
<br>
<br>
        _uniforms and how to control them from a Pd patch are not explained anywhere (within Pd)<br>
<br>
    this is used (but not explain) in most example.<br>
    i believed an example is better than text, but it look like i&#39;m wrong.<br>
<br>
<br>
<br>
<br>
        _basic and clear info about getting a new shader to work in Pd are missing<br>
<br>
    you just have to imitate the &quot;basic example&quot;...<br>
<br>
<br>
<br>
        of course, the whole glsl thing is complex and need further study anyway, but it would be awesome to inform the glsl in GEM with the stuff above.<br>
<br>
    feel free to update help and examples.<br>
    i thought it was clear. examples provide the information i wish i had before creating them...<br>
<br>
    cheers<br>
    Cyrille<br>
<br>
<br>
<br>
        M<br>
<br>
<br>
<br>
<br></div></div><div class="im">
        On Tue, Dec 27, 2011 at 2:10 PM, cyrille henry &lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt; &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;&gt;&gt; wrote:<br>

<br>
<br>
<br>
            Le 27/12/2011 13:02, Guido Tamino a écrit :<br>
<br>
                Hello,<br>
<br>
                actually the [pix_shader] abstraction comes from a depth of field simulation I made with glsl/gem a while ago. Download link, documentation and demo video are available at the link below. If anyone wants to try it out, the depth of field patch is pretty self-explainatory and should work just out of the box.<br>

        <a href="http://vimeo.com/30188933" target="_blank">http://vimeo.com/30188933</a><br>
<br>
                Before being swamped with work I was interested in porting Vade shaders and other glsl stuff to PD. I implemented his blur shaders (motion blur, zoom blur and fast blur) and they all seems to work fine but a lot of work has to be done before using them as solid generic effects.<br>
</div>
        <a href="http://guidotamino.it/____download/glslBlur.zip" target="_blank">http://guidotamino.it/____<u></u>download/glslBlur.zip</a> &lt;<a href="http://guidotamino.it/__download/glslBlur.zip" target="_blank">http://guidotamino.it/__<u></u>download/glslBlur.zip</a>&gt; &lt;<a href="http://guidotamino.it/__download/glslBlur.zip" target="_blank">http://guidotamino.it/__<u></u>download/glslBlur.zip</a> &lt;<a href="http://guidotamino.it/download/glslBlur.zip" target="_blank">http://guidotamino.it/<u></u>download/glslBlur.zip</a>&gt;&gt;<div class="im">
<br>
<br>
<br>
                A couple months ago I opened a discussion with Cyrille on the theme but we were both too busy with work to fully dive into the subject.<br>
<br>
            since then, i made a &quot;good&quot; triangle blur shader to work with a modified version of guildo patch.<br>
            i commit everything as a gem example yesterday.<br>
<br>
<br>
                In the meanwhile I played around with the optical flow experiments by the jitter community with nice results, a demo could be seen here:<br>
        <a href="http://vimeo.com/30517302" target="_blank">http://vimeo.com/30517302</a><br>
<br>
            nice.<br>
<br>
<br>
<br>
                I&#39;m definetely interested in developing a set of glsl wrappers to make the whole thing easier for a beginner. I am a beginner myself and I had some tough times trying to figure out things like how to multipass glsl effects or how to feed multiple textures to a shader. This kind of stuff is almost undocumented and needs a lot of trial and error in order to be understood.<br>

<br>
            there are few multipass example in gem.<br>
            I try to make 1 example for each technical possibility.<br>
            nothing is fully documented, but i think everything is documented.<br>
            at least, everything that i&#39;m aware of. (i was also a glsl noob before making gem examples...)<br>
<br>
            do you think that more multipass example are needed?<br>
            or is it just that since it&#39;s complex, it need time to be fully understood?<br>
<br>
            cheer<br>
            Cyrille<br>
<br>
                Best,<br>
                Guido<br>
<br>
                Il giorno 27/dic/2011, alle ore 11.22, philippe boisnard ha scritto:<br>
<br>
                    Hello<br>
<br>
                    We have worked in codelab french forum about that since one month :<br>
                    I give you the first test-lib that I have created :<br>
        &lt;a_shader-tr.zip&gt;<br>
                    [a_cons] is a usefull abstract to create box of variables.<br>
<br>
                    2 exemples with multipass of texture<br></div>
        <a href="http://t-pas-net.com/videos/____test_multi_shad.mov" target="_blank">http://t-pas-net.com/videos/__<u></u>__test_multi_shad.mov</a> &lt;<a href="http://t-pas-net.com/videos/__test_multi_shad.mov" target="_blank">http://t-pas-net.com/videos/_<u></u>_test_multi_shad.mov</a>&gt; &lt;<a href="http://t-pas-net.com/videos/__test_multi_shad.mov" target="_blank">http://t-pas-net.com/videos/_<u></u>_test_multi_shad.mov</a> &lt;<a href="http://t-pas-net.com/videos/test_multi_shad.mov" target="_blank">http://t-pas-net.com/videos/<u></u>test_multi_shad.mov</a>&gt;&gt;<div class="im">
<br>
<br>
        <a href="http://vimeo.com/33974266" target="_blank">http://vimeo.com/33974266</a><br>
<br>
                    Yet, I adapt GLSL. system of particules with pmpd.<br></div>
        <a href="http://t-pas-net.com/videos/____fragGLSLtest5.mov" target="_blank">http://t-pas-net.com/videos/__<u></u>__fragGLSLtest5.mov</a> &lt;<a href="http://t-pas-net.com/videos/__fragGLSLtest5.mov" target="_blank">http://t-pas-net.com/videos/_<u></u>_fragGLSLtest5.mov</a>&gt; &lt;<a href="http://t-pas-net.com/videos/__fragGLSLtest5.mov" target="_blank">http://t-pas-net.com/videos/_<u></u>_fragGLSLtest5.mov</a> &lt;<a href="http://t-pas-net.com/videos/fragGLSLtest5.mov" target="_blank">http://t-pas-net.com/videos/<u></u>fragGLSLtest5.mov</a>&gt;&gt;<br>

        <a href="http://t-pas-net.com/videos/____testGLSL_pmpd.flv" target="_blank">http://t-pas-net.com/videos/__<u></u>__testGLSL_pmpd.flv</a> &lt;<a href="http://t-pas-net.com/videos/__testGLSL_pmpd.flv" target="_blank">http://t-pas-net.com/videos/_<u></u>_testGLSL_pmpd.flv</a>&gt; &lt;<a href="http://t-pas-net.com/videos/__testGLSL_pmpd.flv" target="_blank">http://t-pas-net.com/videos/_<u></u>_testGLSL_pmpd.flv</a> &lt;<a href="http://t-pas-net.com/videos/testGLSL_pmpd.flv" target="_blank">http://t-pas-net.com/videos/<u></u>testGLSL_pmpd.flv</a>&gt;&gt;<div class="im">
<br>
<br>
<br>
                    :-)<br>
<br>
                    p<br>
<br>
                    Le 27 déc. 2011 à 10:36, Marco Donnarumma a écrit :<br>
<br>
                        Hi all,<br>
<br>
                        while studying glsl (after attending Cyrille&#39;s workshop at the PdCon), I&#39;m porting Vade&#39;s collection of shaders [1] to Pd,<br>
                        and I only need to know I&#39;m not reinventing the wheel.<br>
<br>
                        I&#39;m creating a glsl-help-files lib, based on the [pix_shader] wrap by Cyrille; adding ready made patches for diverse shaders and briefly explaining while some work out of the box and some others not.<br>

                        It could be useful to have such documentation in Pd, as the glsl topic is not covered in depth, or at least not enough for a noob in this field as myself.<br>
<br>
                        I recall Marius was doing something similar, but I&#39;m not sure how the project ended up.<br>
<br></div>
                        [1] <a href="http://001.vade.info/?page_id=____20" target="_blank">http://001.vade.info/?page_id=<u></u>____20</a> &lt;<a href="http://001.vade.info/?page_id=__20" target="_blank">http://001.vade.info/?page_<u></u>id=__20</a>&gt; &lt;<a href="http://001.vade.info/?page___id=20" target="_blank">http://001.vade.info/?page___<u></u>id=20</a> &lt;<a href="http://001.vade.info/?page_id=20" target="_blank">http://001.vade.info/?page_<u></u>id=20</a>&gt;&gt;<div class="im">
<br>
<br>
<br>
<br>
                        --<br>
                        Marco Donnarumma<br>
                        Independent New Media and Sonic Arts Practitioner, Performer, Teacher<br>
                        ACE, Sound Design MSc by Research (ongoing)<br>
                        The University of Edinburgh, UK<br>
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
                        Portfolio: <a href="http://marcodonnarumma.com" target="_blank">http://marcodonnarumma.com</a> &lt;<a href="http://marcodonnarumma.com/" target="_blank">http://marcodonnarumma.com/</a>&gt;<br></div>

                        Research: <a href="http://res.marcodonnarumma.com" target="_blank">http://res.marcodonnarumma.com</a> &lt;<a href="http://res.marcodonnarumma." target="_blank">http://res.marcodonnarumma.</a>__<u></u>__com/ &lt;<a href="http://res.marcodonnarumma." target="_blank">http://res.marcodonnarumma.</a>__<u></u>com/ &lt;<a href="http://res.marcodonnarumma.com/" target="_blank">http://res.marcodonnarumma.<u></u>com/</a>&gt;&gt;&gt; | <a href="http://www.thesaddj.com" target="_blank">http://www.thesaddj.com</a> &lt;<a href="http://www.thesaddj.com/" target="_blank">http://www.thesaddj.com/</a>&gt; | <a href="http://www.flxer.net" target="_blank">http://www.flxer.net</a> &lt;<a href="http://www.flxer.net/" target="_blank">http://www.flxer.net/</a>&gt;<br>

                        Director: <a href="http://www." target="_blank">http://www.</a>__<a href="http://liveperformersmee__ting.net" target="_blank">liveperformersmee<u></u>__ting.net</a> &lt;<a href="http://liveperformersmeeting.net" target="_blank">http://liveperformersmeeting.<u></u>net</a>&gt; &lt;<a href="http://www." target="_blank">http://www.</a>__<a href="http://liveperformersmeeting.net" target="_blank">liveperformersme<u></u>eting.net</a> &lt;<a href="http://www.liveperformersmeeting.net" target="_blank">http://www.<u></u>liveperformersmeeting.net</a>&gt;&gt; &lt;<a href="http://www." target="_blank">http://www.</a>__<a href="http://liveperformersme__eting.net/" target="_blank">liveperformersme<u></u>__eting.net/</a> &lt;<a href="http://liveperformersmeeting.net/" target="_blank">http://liveperformersmeeting.<u></u>net/</a>&gt; &lt;<a href="http://www." target="_blank">http://www.</a>__<a href="http://liveperformersmeeting.net/" target="_blank">liveperformersme<u></u>eting.net/</a> &lt;<a href="http://www.liveperformersmeeting.net/" target="_blank">http://www.<u></u>liveperformersmeeting.net/</a>&gt;&gt;&gt;<br>

                        ______________________________<u></u>_____________________<br>
        <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt;&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt;&gt;&gt; mailing list<br>

<br>
                        UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/____listinfo/pd-list" target="_blank">http://lists.puredata.info/___<u></u>_listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a>&gt; &lt;<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>&gt;&gt;<br>

<br>
<br>
                    ______________________________<u></u>_____________________<br>
        <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt;&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt;&gt;&gt; mailing list<br>

<br>
                    UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/____listinfo/pd-list" target="_blank">http://lists.puredata.info/___<u></u>_listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a>&gt; &lt;<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>&gt;&gt;<br>

<br>
<br>
<br>
<br>
                ______________________________<u></u>_____________________<div class="im"><br>
<br>
        <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt;&gt; mailing list<br>
</div>
                UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/____listinfo/pd-list" target="_blank">http://lists.puredata.info/___<u></u>_listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a>&gt; &lt;<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>&gt;&gt;<div class="im">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
        --<br>
        Marco Donnarumma<br>
        Independent New Media and Sonic Arts Practitioner, Performer, Teacher<br>
        ACE, Sound Design MSc by Research (ongoing)<br>
        The University of Edinburgh, UK<br>
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
        Portfolio: <a href="http://marcodonnarumma.com" target="_blank">http://marcodonnarumma.com</a> &lt;<a href="http://marcodonnarumma.com/" target="_blank">http://marcodonnarumma.com/</a>&gt;<br></div><div class="im">

        Research: <a href="http://res.marcodonnarumma.com" target="_blank">http://res.marcodonnarumma.com</a> &lt;<a href="http://res.marcodonnarumma." target="_blank">http://res.marcodonnarumma.</a>__<u></u>com/ &lt;<a href="http://res.marcodonnarumma.com/" target="_blank">http://res.marcodonnarumma.<u></u>com/</a>&gt;&gt; | <a href="http://www.thesaddj.com" target="_blank">http://www.thesaddj.com</a> &lt;<a href="http://www.thesaddj.com/" target="_blank">http://www.thesaddj.com/</a>&gt; | <a href="http://www.flxer.net" target="_blank">http://www.flxer.net</a> &lt;<a href="http://www.flxer.net/" target="_blank">http://www.flxer.net/</a>&gt;<br>

        Director: <a href="http://www." target="_blank">http://www.</a>__<a href="http://liveperformersmeeting.net" target="_blank">liveperformersmee<u></u>ting.net</a> &lt;<a href="http://www.liveperformersmeeting.net" target="_blank">http://www.<u></u>liveperformersmeeting.net</a>&gt; &lt;<a href="http://www." target="_blank">http://www.</a>__<a href="http://liveperformersmeeting.net/" target="_blank">liveperformersme<u></u>eting.net/</a> &lt;<a href="http://www.liveperformersmeeting.net/" target="_blank">http://www.<u></u>liveperformersmeeting.net/</a>&gt;&gt;<br>

<br>
<br>
<br>
<br>
<br></div><div class="im">
--<br>
Marco Donnarumma<br>
Independent New Media and Sonic Arts Practitioner, Performer, Teacher<br>
ACE, Sound Design MSc by Research (ongoing)<br>
The University of Edinburgh, UK<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Portfolio: <a href="http://marcodonnarumma.com" target="_blank">http://marcodonnarumma.com</a> &lt;<a href="http://marcodonnarumma.com/" target="_blank">http://marcodonnarumma.com/</a>&gt;<br>
Research: <a href="http://res.marcodonnarumma.com" target="_blank">http://res.marcodonnarumma.com</a> &lt;<a href="http://res.marcodonnarumma.com/" target="_blank">http://res.marcodonnarumma.<u></u>com/</a>&gt; | <a href="http://www.thesaddj.com" target="_blank">http://www.thesaddj.com</a> &lt;<a href="http://www.thesaddj.com/" target="_blank">http://www.thesaddj.com/</a>&gt; | <a href="http://www.flxer.net" target="_blank">http://www.flxer.net</a> &lt;<a href="http://www.flxer.net/" target="_blank">http://www.flxer.net/</a>&gt;<br>

Director: <a href="http://www.liveperformersmeeting.net" target="_blank">http://www.<u></u>liveperformersmeeting.net</a> &lt;<a href="http://www.liveperformersmeeting.net/" target="_blank">http://www.<u></u>liveperformersmeeting.net/</a>&gt;<br>

</div></blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Marco Donnarumma<br>Independent New Media and Sonic Arts Practitioner, Performer, Teacher<br>ACE, Sound Design MSc by Research (ongoing)<br>The University of Edinburgh, UK<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Portfolio: <a href="http://marcodonnarumma.com/" target="_blank">http://marcodonnarumma.com</a><br>Research: <a href="http://res.marcodonnarumma.com/" target="_blank">http://res.marcodonnarumma.com</a> | <a href="http://www.thesaddj.com/" target="_blank">http://www.thesaddj.com</a> | <a href="http://www.flxer.net/" target="_blank">http://www.flxer.net</a><br>
Director: <a href="http://www.liveperformersmeeting.net/" target="_blank">http://www.liveperformersmeeting.net</a><br>
</div>