Feel free to post or send any shaders.&nbsp; I made a simple &#39;bleach bypass&#39; one yesterday. ;)<br><br><div><span class="gmail_quote">On 7/12/07, <b class="gmail_sendername">vade</b> &lt;<a href="mailto:doktorp@mac.com">
doktorp@mac.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">
This is great news. Im super busy trying to finish up some things for another project, but come mid august I should have time to port the shaders im working on to PD, and now that Hans is back in NYC I can get him to help ;)
<div><br></div><div>Thanks Chris for taking the time to look into this. I havent had a chance to ask the C74 guys anything, but at this point I guess I dont need to.</div><div><br></div><div>Much appreciated!</div><div><br>
</div><div><br></div><div><div><span class="e" id="q_113bd9206214d2a9_1"><br><div><div>On Jul 12, 2007, at 11:01 PM, Hans-Christoph Steiner wrote:</div><br><blockquote type="cite"><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px;">Come tomorrow, you&#39;ll have a list of builds from the build farm...</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">.hc</div><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px;">On Jul 12, 2007, at 3:35 PM, chris clepper wrote:</div><div style="margin: 0px; min-height: 14px;"><br></div> <blockquote type="cite"><div style="margin: 0px;">Great!<span>&nbsp; </span>Which platform and hardware are you testing on?
<span>&nbsp; </span>I should have</div><div style="margin: 0px;">mentioned that I&#39;ve only tested on OSX/Nvidia here.</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">On 7/12/07, cyrille henry &lt;
<a href="mailto:cyrille.henry@la-kitchen.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cyrille.henry@la-kitchen.fr</a>&gt; wrote:</div> <blockquote type="cite"><div style="margin: 0px;">it works here.
</div><div style="margin: 0px;">thanks a lot.</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">cyrille</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">
chris clepper a écrit :</div> <blockquote type="cite"><div style="margin: 0px;">CVS is updated.<span>&nbsp; </span>Hopefully this won&#39;t break anyone&#39;s compiles.</div><div style="margin: 0px; min-height: 14px;"><br></div>
<div style="margin: 0px;">The attached files are a test patch and the shaders.<span>&nbsp; </span>I will be <span>&nbsp;</span></div><div style="margin: 0px;">out of</div><div style="margin: 0px;">town for a few days and not able to work on this again until next
</div><div style="margin: 0px;">week.</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">On 7/12/07, chris clepper &lt;<a href="mailto:cgclepper@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
cgclepper@gmail.com</a>&gt; wrote:</div> <blockquote type="cite"><div style="margin: 0px;">I have multitexturing working with GLSL.<span>&nbsp; </span>While I upload the <span>&nbsp;</span></div><div style="margin: 0px;">changes</div>
<div style="margin: 0px;">to CVS I can explain how it works.</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">GLSL shaders cannot directly talk to hardware like ARB ones <span>&nbsp;</span></div>
<div style="margin: 0px;">can.<span>&nbsp; </span>The</div><div style="margin: 0px;">application side code has to tell the shader which hardware texture</div><div style="margin: 0px;">unit to use.<span>&nbsp; </span>Obviously when I compile GEM there is no way in 
<span>&nbsp;</span></div><div style="margin: 0px;">hell to</div><div style="margin: 0px;">know what the shader variables are going to be named, so another</div><div style="margin: 0px;">method to tell the shader which unit to use needs to be in place.
</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">One solution is to hardcode the names of the sampler variables, but</div><div style="margin: 0px;">that is kind of a hack.<span>&nbsp; </span>
The one I put in place uses a message <span>&nbsp;</span></div><div style="margin: 0px;">to the</div><div style="margin: 0px;">glsl_program object with the name of the sampler and the texture <span>&nbsp;</span></div><div style="margin: 0px;">
unit</div><div style="margin: 0px;">to use.</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">How to use:</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">
1) create gemwin and turn on rendering</div><div style="margin: 0px;">2) load shader</div><div style="margin: 0px;">3) send a [mySamplerName $1( message to glsl_program</div><div style="margin: 0px;">4) load two movies or images
</div><div style="margin: 0px;">5) set one of the pix_texture units to upload to the same <span>&nbsp;</span></div><div style="margin: 0px;">texture unit</div><div style="margin: 0px;">you told the shader to use with a [texunit $1( message
</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">This change should be in CVS soon.<span>&nbsp; </span>I will post an example patch <span>&nbsp;</span></div><div style="margin: 0px;">in a</div><div style="margin: 0px;">
bit.</div> </blockquote><div style="margin: 0px; min-height: 14px;"><br></div> <blockquote type="cite"><div style="margin: 0px; min-height: 14px;"><br></div> </blockquote></blockquote><div style="margin: 0px; min-height: 14px;">
<br></div> </blockquote><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">_______________________________________________</div><div style="margin: 0px;"><a href="mailto:PD-list@iem.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
PD-list@iem.at</a> mailing list</div><div style="margin: 0px;">UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.puredata.info
</a>/<span>&nbsp;</span></div><div style="margin: 0px;">listinfo/pd-list</div> </blockquote><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px;">------------------------------------------------------------------------<span>&nbsp;</span></div><div style="margin: 0px;">----</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">
Using ReBirth is like trying to play an 808 with a long stick.<span>&nbsp; &nbsp; </span>-<span>&nbsp;</span></div><div style="margin: 0px;">David Zicarelli</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">_______________________________________________</div><div style="margin: 0px;"><a href="mailto:PD-list@iem.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
PD-list@iem.at</a> mailing list</div><div style="margin: 0px;">UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.puredata.info/listinfo/pd-list</a></div> </blockquote></div><br></span></div><div> <span class="q"><span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div style="margin: 0px;"><font color="#b51c1c" size="2"><span style="font-size: 10px; color: rgb(181, 28, 28);"><b style="color: rgb(181, 28, 28); font-size: 10px; font-weight: bold;"><span style="color: rgb(181, 28, 28); font-size: 10px; font-weight: bold;">
v a d e //</span></b></span></font></div><div style="margin: 0px; min-height: 12px; font-size: 10px;"><font color="#7f7f7f"><br style="color: rgb(127, 127, 127); font-size: 10px;"></font></div><div style="margin: 0px;"><font color="#7f7f7f" size="2">
<span style="font-size: 10px; color: rgb(127, 127, 127);"><b style="color: rgb(127, 127, 127); font-size: 10px; font-weight: bold;"><span style="color: rgb(127, 127, 127); font-size: 10px; font-weight: bold;"><a href="http://www.vade.info" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
www.vade.info</a></span></b></span></font></div><div style="margin: 0px;"><font color="#7f7f7f" size="2"><span style="font-size: 10px; color: rgb(127, 127, 127);"><b style="color: rgb(127, 127, 127); font-size: 10px; font-weight: bold;">
<span style="color: rgb(127, 127, 127); font-size: 10px; font-weight: bold;"><a href="http://abstrakt.vade.info" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">abstrakt.vade.info</a></span></b></span>
</font></div><div style="margin: 0px;"><br></div><br></span> </span></div><br></div></div><br>_______________________________________________<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:PD-list@iem.at">
PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list
</a><br><br></blockquote></div><br>