<br><font size=2 face="sans-serif">Single buffered drawing won't work with
what he is describing, unless he repaints all of the brush strokes. When
a new video frame is drawn, it will overwrite everything. This can
be worked around by playing with the Z values though...set the video to
draw behind the brush strokes and then make sure that you do Z writes for
the brushes. However, you won't be able to do alpha with this...</font>
<br>
<br><font size=2 face="sans-serif">The best way to do this would be to
either cache the brushes or renderer the brushes to another render target
with alpha. Then draw the video frame and draw the brush over top.
You could also hand render the brushes to a texture with alpha and
then just draw the quad. I don't know what the current set of GEM
objects is though, so these 2 ideas might require creating some new objects.</font>
<br>
<br><font size=2 face="sans-serif">Mark<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Jack <jack@rybn.org></b>
</font>
<br><font size=1 face="sans-serif">Sent by: pd-list-bounces@iem.at</font>
<p><font size=1 face="sans-serif">07/21/2008 05:04 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"Spencer Russell" <spencer.f.russell@gmail.com></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">pd-list@iem.at</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [PD] freehand drawing on video in
GEM</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>As suggested by Chris, single buffer rendering is
the good choice. <br>
Then send a bang from [metro 1] (for exemple) to [gemhead] to force <br>
the rendering (to your [gemhead] with the movie and to your [gemhead] <br>
for the 'painting').<br>
++<br>
<br>
Jack<br>
<br>
<br>
Le 21 juil. 08 à 23:51, Spencer Russell a écrit :<br>
<br>
> On Mon, Jul 21, 2008 at 5:28 PM, chris clepper <br>
> <cgclepper@gmail.com> wrote:<br>
>> Single buffer rendering can be used for 'painting' using a geos
as <br>
>> various<br>
>> brush types.<br>
><br>
> The difficulty though, is that I want to draw some parts in a freehand<br>
> single-buffer style, but I want it to be mixed and layered with video<br>
> that's drawn normally.<br>
><br>
> thanks,<br>
> spencer<br>
><br>
> _______________________________________________<br>
> Pd-list@iem.at mailing list<br>
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
<br>
> listinfo/pd-list<br>
<br>
<br>
_______________________________________________<br>
Pd-list@iem.at mailing list<br>
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list<br>
<br>
</font></tt>
<br>