[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] Motion blur with cairo, alpha add compositing operator
From:       Nikita Zlobin <nick87720z () gmail ! com>
Date:       2022-06-10 15:33:59
Message-ID: CAGaigJPHGt=17HSkyqvn2SdbWQ8=JtrjMWk6rYgS+B-WoavRaQ () mail ! gmail ! com
[Download RAW message or body]

Group draw, followed by paint_with_alpha should do this trick.

ср, 8 июн. 2022 г. в 12:17, Plugin Everything <jameswhiffin@gmail.com>:

> Hello all
>
>
> Apologies if this has been discussed before. I'd like to create the
> appearance of motion blur by drawing multiple Cairo shapes at opacity of
> 1.0 / [number of motion blur samples]. In openGL or After Effects I would
> set the blending to alpha add so that the final result retains its original
> opacity. Is this possible in Cairo? I couldn't find an equivalent
> compositing operator. Keen to hear any workarounds or suggestions.
>
>
> Regards,
>
>
>
> *James Whiffin* | *Developer*
> www.plugineverything.com
>
>

[Attachment #3 (text/html)]

<div dir="ltr"><div>Group draw, followed by paint_with_alpha should do this \
trick.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 8 \
июн. 2022 г. в 12:17, Plugin Everything &lt;<a \
href="mailto:jameswhiffin@gmail.com">jameswhiffin@gmail.com</a>&gt;:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><p style="box-sizing:border-box;margin:0px;padding:0px;font-family:-apple-system,sans-serif;font-size:14px;white-space:pre-wrap"><font \
color="#000000">Hello all</font></p><p \
style="box-sizing:border-box;margin:0px;padding:0px;font-family:-apple-system,sans-serif;font-size:14px;white-space:pre-wrap"><font \
color="#000000"><br style="box-sizing:border-box"></font></p><p \
style="box-sizing:border-box;margin:0px;padding:0px;font-family:-apple-system,sans-serif;font-size:14px;white-space:pre-wrap"><font \
color="#000000">Apologies if this has been discussed before. I'd like to create the \
appearance of motion blur by drawing multiple Cairo shapes at opacity of 1.0 / \
[number of motion blur samples]. In openGL or After Effects I would set the blending \
to alpha add so that the final result retains its original opacity. Is this possible \
in Cairo? I couldn't find an equivalent compositing operator. Keen to hear any \
workarounds or suggestions.</font></p><p \
style="box-sizing:border-box;margin:0px;padding:0px;font-family:-apple-system,sans-serif;font-size:14px;white-space:pre-wrap"><font \
color="#000000"><br></font></p><p \
style="box-sizing:border-box;margin:0px;padding:0px;font-family:-apple-system,sans-serif;font-size:14px;white-space:pre-wrap"><font \
color="#000000">Regards,</font></p><p \
style="box-sizing:border-box;margin:0px;padding:0px;font-family:-apple-system,sans-serif;font-size:14px;white-space:pre-wrap"><font \
color="#000000"><br></font></p><div dir="ltr"><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><img \
src="https://images.squarespace-cdn.com/content/598944b3f5e231b64a518aa6/1590476442256-NPPMPWDPNITW8O0MFJDS/Logo+signature+2.png" \
width="200" height="43"><br></div><div dir="ltr"><b>James Whiffin</b>  |  \
<b>Developer</b><table cellpadding="0" cellspacing="0" border="0" \
style="background-image:none;margin:0px;padding:0px;border:0px;font-stretch:inherit;font-size:16px;line-height:inherit;font-family:proxima-nova,&quot;Helvetica \
Neue&quot;,Helvetica,Arial,sans-serif;vertical-align:baseline;border-collapse:collapse;border-spacing:0px;color:rgb(85,85,85)"><tbody \
style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inh \
erit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:in \
herit;font-variant-east-asian:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline"><tr \
style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inh \
erit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:in \
herit;font-variant-east-asian:inherit;font-weight:inherit;font-stretch:inherit;font-si \
ze:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline"></tr></tbody></table><a \
href="http://www.plugineverything.com/" \
target="_blank">www.plugineverything.com</a><br><br></div></div></div></div></div></div></div></div></div></div>
 </blockquote></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic