Hi Simon,<br>answers below<br><div class="gmail_quote"><div><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi list,<br>
this is my first post...<br>
i try to make a patch which will mirror my webcaminput and then display it. to be more precise: it should take half of the picture and send it to the other side, where normally the other half would be, additionally it should be mirrored horizontally. the effect achieved looks like a photobooth effect (in osx) don&#39;t know the name though. so the patch is fairly easy to setup. i just did a pix_crop to get half of the webcam and then sent the signal through two pix_separator&#39;s. after i applied on one a pix_flip horizontally. to display this i used two pix_textures going to two rectangle objects. the positioning is done via translateXYZ. so far so good. i can see the picture that i want in the gemwindow.<br>

<br>
        however, i see no way to save the picture. the pix_write object just takes one pix &quot;stream&quot;, so the mirroring effect will be lost. is there a way to combine to streams into one again, like pix_join or merge? or is there another way?<br>
</blockquote><div><br><br>[pix_write] takes a snapshot of everything is rendered in the GEM window. It doesn&#39;t have anything to do with different pix_ streams (different [gemhead] chains).<br>I don&#39;t see [pix_write] in your patch anyway try:<br>
<br>[gemhead 99]<br>|<br>[pix_write]<br><br><br>sending [auto 0( message to [pix_write] makes it take a snapshot everytime you send a bang. <br>[auto 1( message makes it take a snapshot of every rendered frame (so 25fps means you will get 25 snapshot per second).<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
        also, the positioning of the first rectangle does affect the positioning of the second, if i move the first (created) rectangle via translateXYZ the second one get&#39;s moved as well. why is that? maybe i do it all wrong, im not an experienced pd/gem user, just did audio so far.<br>
</blockquote><div><br><br>You could try to substitute [pix_separator] with [separator]. This way here everything is working fine.<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
        thanks for your time and answers,<br>
<br>
        simon<br>
<br>
        ps: i attached the patch.<br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Marco Donnarumma aka The !S.A.D!<br><br><br><br>Independent New Media Arts Professional, Performer - Roma, IT<br><br>LAB: <a href="http://www.thesaddj.com">http://www.thesaddj.com</a> | <a href="http://www.flxer.net">http://www.flxer.net</a><br>
<br>EVENT: <a href="http://www.liveperformersmeeting.net">http://www.liveperformersmeeting.net</a><br>