<div dir="ltr">Oliver,<div><br></div><div>sounds good, please share the shaders. </div><div>Is there any option to move from GPU to CPU so the pix_whatever objects can manipulate them again?</div><div><br></div><div>Popesz</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 22, 2018 at 4:09 PM oliver <<a href="mailto:oliver@klingt.org">oliver@klingt.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Csaba Láng wrote:<br>
> Dear List,<br>
> <br>
> I am still looking for a reasonable solution to have a video input to <br>
> Mac OS X with Gem.<br>
> <br>
> I was testing syphon_client, works almost OK, except that could not make <br>
> any motion detector out of it, no pix_background works with it, cannot <br>
> change contrast, threshold, basically nothing.<br>
<br>
as far as i know from the mac/MAX-world, with syphon you get a TEXTURE, <br>
not a pix. which means that all pix_ objects won't work, because the <br>
data is on the GPU (not pixels calculated by the CPU).<br>
<br>
this is actually a good thing for manipulating video as it's much more <br>
efficient, especially with larger image sizes.<br>
<br>
the "downside" of it is that you have to enter the openGL world to do <br>
things. maybe start by checking out any texture-related GEM objects, <br>
like those listed under "MANIPULATORS" in the GEM documentation <br>
([color], [scaleXYZ], [rotateXYZ] ...) to see if it gets you anywhere.<br>
<br>
i have a handful of shaders concerning contrast, threshold, chromakey <br>
(the one i recently posted here) etc...<br>
<br>
if you want i can post them for testing<br>
<br>
best<br>
<br>
oliver<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>