<div>I am hoping to learn more about programming by using PD, but it would also be nice to crank out some good looking shaders in a timely manner</div><div><br class="webkit-block-placeholder"></div><br><br><div><span class="gmail_quote">
On 6/25/07, <b class="gmail_sendername">Alexandre Quessy</b> <<a href="mailto:listes@sourcelibre.com">listes@sourcelibre.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
HI Cyrille and others.<br><br>I modified the abstraction to make opening the two files easier. It<br>uses file/parentfolder from the PdMtlAbstractions. (try it !! It<br>answers your question)<br><br>For the C programming and such, I just meant that it is nice if we can
<br>tend to make Pd easier to use for people that are not that much used<br>to advanced programming. A good documentation and a nice structure<br>helps a lot...<br><br>a<br><br>2007/6/23, cyrille henry <<a href="mailto:cyrille.henry@la-kitchen.fr">
cyrille.henry@la-kitchen.fr</a>>:<br>><br>><br>> Alexandre Quessy a écrit :<br>> > Eh Jack !<br>> > Very nice examples, yes. Cyrille, do you think that one should<br>> > understand C programming in order to use Pd? I don't.
<br>> i don't see your point here.<br>> glsl programming is not very diferent from C. So, understanding C is good for learning glsl.<br>> but you don't nead glsl in order to use pd.<br>> you just need glsl if you want to do very heavy pixel processing at 50fps / 1024x768 without using any CPU time by exemple.
<br>><br>><br>> > Of course, its<br>> > low-level orientation makes it perfect for someone to learn lower<br>> > level stuff.<br>> ><br>> > Anyways, I added an abstraction for shaders in the PdMtlAbstractions.
<br>> > See <a href="https://devel.goto10.org/pdmtl">https://devel.goto10.org/pdmtl</a>/browser/trunk/pdmtl/gems<br>><br>> cut / paste the help file is (for me) easier to use, as i usually put the shader in in the same directory as my patch, so i don't nead to provide the full path for the shader. (and the patch could run on other computer without changing all path).
<br>> is there a solution for an abstraction to know the directory of it's parent patch?<br>><br>> cyrille<br>><br>> ><br>> > a<br>> ><br>> ><br>> > 2007/6/19, <a href="mailto:jack@rybn.org">
jack@rybn.org</a> <<a href="mailto:jack@rybn.org">jack@rybn.org</a>>:<br>> >> Yep, very interesting example !<br>> >> You can "boost" Gem with glsl object.<br>> >> Is there workshop in Paris about that Cyrille ?
<br>> >> I think, that it would be interesting to do.<br>> >><br>> >> Jack<br>> >><br>> >> ><br>> >> ><br>> >> > Hans-Christoph Steiner a écrit :<br>
> >> >><br>> >> >> On Jun 17, 2007, at 6:58 AM, cyrille henry wrote:<br>> >> >><br>> >> >>> hello,<br>> >> >>><br>> >> >>>
<br>> >> >>> Kyle Klipowicz a écrit :<br>> >> >>>> Ooop please send any elementary examples of these things.<br>> >> >>><br>> >> >>><br>> >> >>> i post a few very diferents shader and the pd patch to use them
<br>> >> here :<br>> >> >>><br>> >> >>> <a href="http://drpichon.free.fr/gem">http://drpichon.free.fr/gem</a>_glsl_ch_200070617.zip<br>> >> >><br>> >> >> Wow, these are some nice examples, these should be included in the
<br>> >> >> "examples" section of Pd-extended.<br>> >> >><br>> >> ><br>> >> > well, i think i should clean up some code and check licence for the<br>> >> shader
<br>> >> > i did not write.<br>> >> > where should i put them in order to include them in pd-extended?<br>> >> ><br>> >> > cyrille<br>> >> ><br>> >> >> .hc
<br>> >> >><br>> >> >>><br>> >> >>><br>> >> >>>> I got<br>> >> >>>> confused by the Gem docs (they don't explain OpenGL as thoroughly as
<br>> >> >>>> the vanilla Pd-docs explain DSP).<br>> >> >>><br>> >> >>> Gem doc aim is to explain gem specific stuf. but in order to use Gem,<br>> >> >>> you also need a good openGL book.
<br>> >> >>> (you can find lot's of them)<br>> >> >>><br>> >> >>> cyrille<br>> >> >>><br>> >> >>><br>> >> >>>>
<br>> >> >>>> ~Kyle<br>> >> >>>><br>> >> >>>> On 6/17/07, cyrille henry <<a href="mailto:cyrille.henry@la-kitchen.fr">cyrille.henry@la-kitchen.fr</a>> wrote:
<br>> >> >>>>> hello,<br>> >> >>>>><br>> >> >>>>> Alexandre Quessy a écrit :<br>> >> >>>>>> Hi all !<br>> >> >>>>>> The
Toon.vert and Toon.frag shaders don't seem to work quite well<br>> >> >>>>>> here. I only get some kind of darker or lighter grey depending on<br>> >> >>>>>> the<br>
> >> >>>>>> value of the "Phong" variable I set it to have. I am using<br>> >> >>>>>> Pd-extended<br>> >> >>>>>> 0.39-2 test 5 on Ubuntu Linux Intel. Gem is
0.91-cvs compiled<br>> >> on Mar<br>> >> >>>>>> 16 2007. Should I generate something any better ?<br>> >> >>>>> this is exactly what the toon shader is aiming to do.
<br>> >> >>>>> look at it's code to undersant why.<br>> >> >>>>><br>> >> >>>>>><br>> >> >>>>>> Anyone has an other GLSL shader to suggest to try it with ?
<br>> >> >>>>><br>> >> >>>>> yes, google has a lot.<br>> >> >>>>><br>> >> >>>>> i have a few other exemple on my computer, tell me if you're
<br>> >> looking<br>> >> >>>>> for some specific stuf.<br>> >> >>>>><br>> >> >>>>><br>> >> >>>>> cyrille<br>> >> >>>>>
<br>> >> >>>>><br>> >> >>>>>><br>> >> >>>>>> Thanks !!<br>> >> >>>>>><br>> >> >>>>>> a<br>
> >> >>>>>><br>> >> >>>>>> 2007/6/16, chris clepper <<a href="mailto:cgclepper@gmail.com">cgclepper@gmail.com</a>>:<br>> >> >>>>>>> GEM is a bit easier to deal with for shaders since there is no
<br>> >> need<br>> >> >>>>> to do<br>> >> >>>>>>> any specific wrapper. Any ARB_ vertex or fragment shader and any<br>> >> >>>>>>> GLSL
<br>> >> >>>>>>> shader you find on the web can work in GEM without modification.<br>> >> >>>>> In some<br>> >> >>>>>>> cases you might need to change something in the shader text to
<br>> >> deal<br>> >> >>>>> with<br>> >> >>>>>>> rectangle vs 2D textures.<br>> >> >>>>>>><br>> >> >>>>>>>
<br>> >> >>>>>>> On 6/16/07, Cypod <<a href="mailto:cypod25@gmail.com">cypod25@gmail.com</a>> wrote:<br>> >> >>>>>>>><br>> >> >>>>>>>> On the cycling74 webpage there is an interesting article about
<br>> >> >>>>> writing<br>> >> >>>>>>> shaders for jitter:<br>> >> >>>>>>>> <a href="http://cycling74.com/story">http://cycling74.com/story
</a>/2007/5/23/181113/507<br>> >> >>>>>>>><br>> >> >>>>>>>><br>> >> >>>>>>>><br>> >> >>>>>>>>
<br>> >> >>>>>>>> is there a similar function available for GEM? Has anyone had<br>> >> >>>>> experience<br>> >> >>>>>>> with doing this?
<br>> >> >>>>>>>> _______________________________________________<br>> >> >>>>>>>> <a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>> >> >>>>>>>> UNSUBSCRIBE and account-management ->
<br>> >> >>>>>>> <a href="http://lists.puredata.info">http://lists.puredata.info</a>/listinfo/pd-list<br>> >> >>>>>>>><br>> >> >>>>>>>
<br>> >> >>>>>>> _______________________________________________<br>> >> >>>>>>> <a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>> >> >>>>>>> UNSUBSCRIBE and account-management ->
<br>> >> >>>>>>> <a href="http://lists.puredata.info">http://lists.puredata.info</a>/listinfo/pd-list<br>> >> >>>>>>><br>> >> >>>>>>>
<br>> >> >>>>>><br>> >> >>>>>><br>> >> >>>>><br>> >> >>>>> _______________________________________________<br>> >> >>>>>
<a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>> >> >>>>> UNSUBSCRIBE and account-management -><br>> >> >>>>> <a href="http://lists.puredata.info">http://lists.puredata.info
</a>/listinfo/pd-list<br>> >> >>>>><br>> >> >>>><br>> >> >>>><br>> >> >>><br>> >> >>> _______________________________________________
<br>> >> >>> <a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>> >> >>> UNSUBSCRIBE and account-management -><br>> >> >>> <a href="http://lists.puredata.info">
http://lists.puredata.info</a>/listinfo/pd-list<br>> >> >><br>> >> >><br>> >> >><br>> >> >><br>> >> ------------------------------------------------------------
----------------<br>> >><br>> >> >><br>> >> >><br>> >> >> <a href="http://at.or.at/hans/">http://at.or.at/hans/</a><br>> >> >>
<br>> >> >><br>> >> >><br>> >> >><br>> >> ><br>> >> > _______________________________________________<br>> >> > <a href="mailto:PD-list@iem.at">
PD-list@iem.at</a> mailing list<br>> >> > UNSUBSCRIBE and account-management -><br>> >> > <a href="http://lists.puredata.info">http://lists.puredata.info</a>/listinfo/pd-list<br>> >> >
<br>> >><br>> >><br>> ><br>> ><br>><br><br><br>--<br>Alexandre Quessy<br><a href="http://alexandre.quessy.net">http://alexandre.quessy.net</a><br><a href="http://www.puredata.info">http://www.puredata.info
</a>/Members/aalex<br><br>_______________________________________________<br><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info">
http://lists.puredata.info</a>/listinfo/pd-list<br></blockquote></div><br><br clear="all"><br>-- <br>B~<br><a href="http://www.cypod.co.nr">www.cypod.co.nr</a>