<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thank you Chris.<br>
      <br>
      I got a blur working with pix_convolve. Now I need to be able to
      pass the image/texture into that process multiple times.<br>
      <br>
      I come from a Java and web world where we have <i>for</i> and <i>while
      </i>loops, but I can't seem to find an equivalent in pd other than
      until, which doesn't seem to fit my needs.<br>
      I would love to be able to pass a parameter that would tell the
      patch how many times it should process the texture with
      pix_convolve.<br>
      <br>
      Like always, any help is very much appreciated.<br>
      <br>
      Best,<br>
      <pre class="moz-signature" cols="72">Oussama Mubarak
+33.(0)6.83.65.76.90
<a class="moz-txt-link-freetext" href="http://semiaddict.com">http://semiaddict.com</a></pre>
      Le 18/06/2012 19:11, chris clepper a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote
cite="mid:CAEbEQW3zP1A-XbgSxhUAZCmLL4tCfU+uUhhyHBAfbCfiuDEDyw@mail.gmail.com"
      type="cite">pix_motionblur requires a source with multiple frames
      - a movie file - to create a blur. &nbsp;To blur a still image try
      pix_convolve. &nbsp;The example file should have a blur kernel.<br>
      <br>
      <div class="gmail_quote">On Mon, Jun 18, 2012 at 12:04 PM, Oussama
        Mubarak <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:news@semiaddict.com" target="_blank">news@semiaddict.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
          <br>
          I'm trying to create a blur effect on an image (or texture).<br>
          I'm aware of the object [pix_motionblur], but can't get it to
          work.<br>
          <br>
          Here is my test patch:<br>
          <br>
          ---------------------------------------------<br>
          <br>
          max v2;<br>
          #N vpatcher 645 83 1567 737;<br>
          #P newex 21 -85 50 12 gemhead;<br>
          #P button 83 -87 25 0;<br>
          #N vpatcher 0 0 450 300;<br>
          #P inlet 85 49 22;<br>
          #P outlet 85 237 22;<br>
          #P newex 85 145 50 12 openpanel;<br>
          #P message 85 179 100 12 open \$1;<br>
          #P message 259 213 100 12 auto 1;<br>
          #P newex 268 179 50 12 loadbang;<br>
          #P connect 5 0 3 0;<br>
          #P connect 3 0 2 0;<br>
          #P connect 2 0 4 0;<br>
          #P connect 1 0 4 0;<br>
          #P connect 0 0 1 0;<br>
          #P pop;<br>
          #P newobj 83 -58 50 12 p open;<br>
          #P newex 21 -15 50 12 pix_image;<br>
          #P newex 21 172 50 12 pix_texture;<br>
          #P newex <a moz-do-not-send="true"
            href="tel:21%20254%20100%2012" value="+12125410012"
            target="_blank">21 254 100 12</a> square 4;<br>
          #P newex 129 125 100 12 rectangle 0;<br>
          #N vpatcher 0 22 450 322;<br>
          #P newex 132 158 50 12 gemwin;<br>
          #P outlet 67 89 22;<br>
          #P inlet 67 10 22;<br>
          #P newex 67 41 100 12 route create;<br>
          #P message 67 70 100 12 set destroy;<br>
          #P message 142 68 100 12 set create;<br>
          #P message 132 112 150 12 create \, 1;<br>
          #P message 198 112 50 12 destroy;<br>
          #P newex 282 112 100 12 r gemwin_msg;<br>
          #P connect 6 0 5 0;<br>
          #P connect 5 0 4 0;<br>
          #P connect 5 0 2 0;<br>
          #P connect 5 1 3 0;<br>
          #P connect 5 1 1 0;<br>
          #P connect 4 0 7 0;<br>
          #P connect 3 0 7 0;<br>
          #P connect 2 0 8 0;<br>
          #P connect 1 0 8 0;<br>
          #P connect 0 0 8 0;<br>
          #P pop;<br>
          #P newobj 262 -51 50 12 p gemwin;<br>
          #P message 262 -70 50 12 destroy;<br>
          #P flonum 114 48 60;<br>
          #P newex 21 84 50 12 pix_motionblur;<br>
          #P newex 114 65 100 12 / 100;<br>
          #P connect 11 0 8 0;<br>
          #P connect 10 0 9 0;<br>
          #P connect 9 0 8 0;<br>
          #P connect 8 0 1 0;<br>
          #P connect 7 0 6 0;<br>
          #P connect 5 0 7 0;<br>
          #P connect 4 0 3 0;<br>
          #P connect 3 0 4 0;<br>
          #P connect 2 0 0 0;<br>
          #P connect 1 0 7 0;<br>
          #P connect 0 0 1 1;<br>
          #P pop;<br>
          <br>
          ---------------------------------------------<br>
          <br>
          Any help is highly appreciated.<br>
          <br>
          Best,<br>
          <br>
          Oussama Mubarak<br>
          <a moz-do-not-send="true"
            href="tel:%2B33.%280%296.83.65.76.90" value="+33683657690"
            target="_blank">+33.(0)6.83.65.76.90</a><br>
          <a moz-do-not-send="true" href="http://semiaddict.com"
            target="_blank">http://semiaddict.com</a><br>
          <br>
          <br>
          _______________________________________________<br>
          <a moz-do-not-send="true" href="mailto:Pd-list@iem.at"
            target="_blank">Pd-list@iem.at</a> mailing list<br>
          UNSUBSCRIBE and account-management -&gt; <a
            moz-do-not-send="true"
            href="http://lists.puredata.info/listinfo/pd-list"
            target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
    <br>
  </body>
</html>