On OSX and Linux pix_share_write and pix_share_read use shared memory between applications to pass pix_ frames.&nbsp; The setup requires giving the shared memory a numeric id, width, height and bits per pixel of the frame.&nbsp; After this frames written by one pd instance can be read from any other pd.&nbsp; <br>
<br>OSX will require changing shm defaults in /etc/rc in order to use HD size textures.<br><br><div class="gmail_quote">On Feb 19, 2008 10:27 AM, simon wise &lt;<a href="mailto:simonxwise@hotmail.com">simonxwise@hotmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c"><br>On 19 Feb 2008, at 6:46 PM, tim wrote:<br><br>&gt; simon wise wrote:<br>
&gt;&gt;<br>&gt;&gt; On 19 Feb 2008, at 12:06 AM, tim wrote:<br>&gt;&gt;<br>&gt;&gt;&gt; Sergi Lario wrote:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Hi. I trying to create 2 channel videomixer in pd/gem. And now<br>&gt;&gt;&gt;&gt; have 2<br>
&gt;&gt;&gt;&gt; questions- how i can make 2 gemwin&#39;s to use 1 as preview and<br>&gt;&gt;&gt;&gt; other as<br>&gt;&gt;&gt;&gt; output, and second- how i can make file list or grid of images to<br>&gt;&gt;&gt;&gt; preview my videofiles and then load it&#39;s to pix_film. Big thx.<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Hi.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; About multiple gemwin at same time: I don&#39;t know if it&#39;s<br>&gt;&gt;&gt;&gt; possible, but<br>&gt;&gt;&gt;&gt; it would be very useful.<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; Hi Sergi,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I&#39;ve done stuff with two gemwins by running pd 2 times and have<br>&gt;&gt;&gt; the two<br>&gt;&gt;&gt; instances communicate over OSC.<br>&gt;&gt;&gt; It worked quite well.<br>
&gt;&gt;<br>&gt;&gt; a while ago there was a multiple-Gemwin version of Gem around - I<br>&gt;&gt; tried out the binary that was available and it worked fine (I<br>&gt;&gt; think on OSX but possibly Linux?) but I used the 2 pd method<br>
&gt;&gt; instead for my project.<br>&gt;&gt;<br>&gt;&gt; I don&#39;t know if it is possible for one pd to use textures or<br>&gt;&gt; buffers created in the other, that would make the preview idea<br>&gt;&gt; work well with two pd instances.<br>
&gt; My idea was rather to simply sync the messages so that the same<br>&gt; video file is loaded by the two pd&#39;s separately.<br>&gt; I wasn&#39;t using any texturing with this setup though, so I don&#39;t<br>&gt; know if it would work.<br>
&gt;&gt; Soon I want to try 2 camera views of the same 3D space, I think<br>&gt;&gt; that would be much easier in a single instance of pd with two<br>&gt;&gt; windows!<br>&gt; Load the same 3D space in the two pd&#39;s and relate the control data<br>
&gt; in some way ?<br><br></div></div>without textures and lots of pix work this is fine - but I&#39;m wanting<br>to use plenty of movies and largish graphics as textures, which would<br>be present from a different point of view in each of the windows.<br>
<br>It would be better to only read from the drive once, then decode<br>using the CPU a single time, and to only transfer one copy to the<br>graphics card - so it seems either 2 windows in a single pd or a way<br>to pass references to textures already loaded between 2 different<br>
pd&#39;s is what I&#39;m looking for, but I&#39;ll fall back on one machine per<br>projector if required.<br><font color="#888888"><br><br>simon<br></font><div><div></div><div class="Wj3C7c"><br><br><br><br>_______________________________________________<br>
<a href="mailto:PD-list@iem.at">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/listinfo/pd-list</a><br>
</div></div></blockquote></div><br>