<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Read data from pixels on the fly]]></title><description><![CDATA[<p>Hi everybody!<br />
Need some help. I use patch based on example 01.VideoPaint from GEM library. My patch generates 2D pics and I need to read changing data from pixels on the fly, in process of generating at the same time for using it for further generating with another autonomous pointer.<br />
[Pix_data] doesnt work, because it requires ready downloaded image. I tried to make snapshots, but cant understand how to use them for my aims. Any suggestions?<br />
Thank you!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11517/read-data-from-pixels-on-the-fly</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 22:38:11 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/11517.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Jul 2018 07:50:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Read data from pixels on the fly on Sat, 28 Jul 2018 07:50:19 GMT]]></title><description><![CDATA[<p>Hi everybody!<br />
Need some help. I use patch based on example 01.VideoPaint from GEM library. My patch generates 2D pics and I need to read changing data from pixels on the fly, in process of generating at the same time for using it for further generating with another autonomous pointer.<br />
[Pix_data] doesnt work, because it requires ready downloaded image. I tried to make snapshots, but cant understand how to use them for my aims. Any suggestions?<br />
Thank you!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11517/read-data-from-pixels-on-the-fly</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11517/read-data-from-pixels-on-the-fly</guid><dc:creator><![CDATA[navu]]></dc:creator><pubDate>Sat, 28 Jul 2018 07:50:19 GMT</pubDate></item><item><title><![CDATA[Reply to Read data from pixels on the fly on Sat, 28 Jul 2018 09:44:21 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/navu">@navu</a> Pix_data will output pix data every time it's left inlet is banged.<br />
It works well for video, so it should work for any gem_state.<br />
Note that the output of the generating object must be connected to the second inlet (unusual...!).<br />
You can run it off to the side of the Gem_state chain using a trigger...... [t a a] as you are using it just to extract data for one defined pixel.<br />
Don't forget to define the pixel on the 3rd and 4th inlets.<br />
You can get every frame with a [t b a] like this.....<br />
<img src="/uploads/files/1532770918725-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /><br />
But [pix_data] only produces output when the Gem window has been created...... <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/no_mouth.png" title="no_mouth" alt=":no_mouth:" /><br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11517/read-data-from-pixels-on-the-fly/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11517/read-data-from-pixels-on-the-fly/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sat, 28 Jul 2018 09:44:21 GMT</pubDate></item><item><title><![CDATA[Reply to Read data from pixels on the fly on Wed, 01 Aug 2018 09:45:11 GMT]]></title><description><![CDATA[<p>Thank you David!<br />
But I have to notice something.<br />
Step by step.</p>
<ol>
<li>I've got background ([square 4] object with certain color and [translateXYZ 0 0 0] object to be sure that I'm on a right layer).</li>
<li>I've got slowly generated lines of colors painting by [circle] on the same layer.</li>
<li>When generating in process I lounch independent pointer presented by the [circle] orienting by data from pixels of resulting pics of step 1 and 2.<br />
I've got no problem if I have ready image or video but when I use [metro] prior [gemhead] in video painting I cant understand where I have to connect [pix_data] - it doesnt work.</li>
</ol>
]]></description><link>http://forum.pdpatchrepo.info/topic/11517/read-data-from-pixels-on-the-fly/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11517/read-data-from-pixels-on-the-fly/3</guid><dc:creator><![CDATA[navu]]></dc:creator><pubDate>Wed, 01 Aug 2018 09:45:11 GMT</pubDate></item><item><title><![CDATA[Reply to Read data from pixels on the fly on Wed, 01 Aug 2018 10:07:41 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/navu">@navu</a> Would you upload your patch please.  And if necessary a description of what it should do.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11517/read-data-from-pixels-on-the-fly/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11517/read-data-from-pixels-on-the-fly/4</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 01 Aug 2018 10:07:41 GMT</pubDate></item></channel></rss>