<div dir="ltr"><div><div><div><div>Hi Cyrille,<br><br></div>ok, I now managed to use gemframebuffer in a smaller test patch. For some reason, in my larger patch it crashes everytime I connect it to the pmpd system. Had to use [scaleXYZ 0.5 1 1] to fit the rectangular dimension of the gemwin.<br>

</div><div><br></div>Could you explain a little more how you achieve the motion blur? <br>i.e. what do you mean with &quot;just render 10 primitives for every image...&quot;?<br><br></div>thanks!<br></div>M<br><div><div>
<br>
<br><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br>Marco Donnarumma<br>New Media + Sonic Arts Practitioner, Performer, Teacher, Director.<br>Embodied Audio-Visual Interaction Research Team.<br>

Department of Computing, Goldsmiths University of London<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><br>

Director: <a href="http://www.liveperformersmeeting.net" target="_blank">http://www.liveperformersmeeting.net</a><br></div></div>
<br><br><div class="gmail_quote">On Tue, Nov 5, 2013 at 11:35 AM, Cyrille Henry <span dir="ltr">&lt;<a href="mailto:ch@chnry.net" target="_blank">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">

hello Marco,<br>
<br>
better than snap2tex, you can use rendering in framebuffer. The framebuffer can directly be rendered as a texture, no snapping is needed.<br>
<br>
i did not understand the way you make your motion blur.<br>
I  usually have my model to run at a frequency 5 or 10 time faster than the rendering. then, you can just render 10 primitives for every image...<br>
or make 10 rendering per frame, and average them in the final render.<br>
<br>
cheers<br>
c<br>
<br>
<br>
<br>
<br>
Le 05/11/2013 12:08, Marco Donnarumma a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi all,<br>
<br>
I have a 1900 x 800 gemwin. I render a few geos on a big [sphere] and a pmpd system on top of it.<br>
<br>
I&#39;d need some cpu-friendly motion blur and glow effects on everything rendered in the gemwin.<br>
<br>
My strategy so far has been to split the final rendering into two 800x800 squares. That is:<br>
<br>
I have two [snap2tex] snapping two separate [gemwin -1] onto two [square]. One [snap2tex] has 0 0 offset, and the other has 800 0 offset. Then, by modulating the opacity of [colorRGB] for the 2 squares I can get motion blur effect.<br>


<br>
This works fine, but the same splitting strategy doesn&#39;t work for shaders. If I apply a shader to the two [square] the coordinate of the texture are all mixed up.<br>
<br>
Also, when applying the shaders the cpu go up +30%, whereas [snap2 tex] takes way less resources. is that normal?<br>
<br>
What&#39;s the best way to go here?<br>
<br>
thanks!<br>
best,<br>
<br>
--<br>
Marco Donnarumma<br>
New Media + Sonic Arts Practitioner, Performer, Teacher, Director.<br>
Embodied Audio-Visual Interaction Research Team.<br>
Department of Computing, Goldsmiths University of London<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><br>
Director: <a href="http://www.liveperformersmeeting.net" target="_blank">http://www.<u></u>liveperformersmeeting.net</a><br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<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><br>
<br>
</blockquote>
</blockquote></div><br></div>