W3C home > Mailing lists > Public > www-svg@w3.org > July 2012

Re: Compositing math in SVG

From: Calculemus <calculemus1988@gmail.com>
Date: Fri, 13 Jul 2012 19:36:43 +0200
Message-ID: <CAOn8Oo838pruzs3CpoESQcuOSUQECbJfY3FaMB3YEctgBpjVrQ@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: www-svg@w3.org
About HDR, the problem is they can take values bigger than 1.
Let's say I have two HDR images with values in range 0-4.
Do I first map the range 0-4 to 0-1, do the blend math, and go
back to 0-4? Do I just do the math on the range 0-4 and
then clamp?

I am rereading the SVG docs, and I am not sure if the
general compositing formula implies that I should implement
all combinations of porter-duff operations and blend modes?
Or I should just use 'src_over' for blend modes and have
a separate function for each of the porter-duff operations?

I mean do you need to use any other porter-duff operation
with blend modes? Does it make sense to do for example
screen(blend mode) and in(porter-duff)?
Received on Friday, 13 July 2012 17:37:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:36 UTC