<div dir="ltr">Shaders work well for this type of compositing.&nbsp; I don&#39;t think there is any need to store the alpha value in the video file.<br><br><div class="gmail_quote">On Fri, Aug 1, 2008 at 7:25 PM, Spencer Russell <span dir="ltr">&lt;<a href="mailto:spencer.f.russell@gmail.com">spencer.f.russell@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I&#39;m mixing video by background subtracting it and then setting the<br>
background transparent (alpha = 0), then texturing each video onto<br>
overlapping rectangles to achieve a compositing effect.<br>
<br>
I need to record the different videos with [pix_record] and then play<br>
them back later while preserving the alpha somehow, so I was thinking<br>
that I could just replace all the transparent part with bright pink or<br>
something and store it as regular photo jpeg frames, and then later<br>
set all the bright pink parts to transparent when I read the video<br>
back.<br>
<br>
I&#39;m having trouble with both sides of the conversion, though. Perhaps<br>
there&#39;s a better approach entirely?<br>
<br>
thanks,<br>
spencer<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>
</blockquote></div><br></div>