W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2011

Re: Merging CSS Shaders proposal into Filter Effects

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 4 Nov 2011 00:43:39 -0700
Message-ID: <CAAWBYDCceFGnie8uRsdAzSYBZUsN=LCii9Gx+jzMNbBMb27Tqg@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: Dean Jackson <dino@apple.com>, Chris Lilley <chris@w3.org>, Vincent Hardy <vhardy@adobe.com>, Patrick Dengler <patd@microsoft.com>, Dirk Schulze <vbs85@gmx.de>, "public-fx@w3.org" <public-fx@w3.org>
On Fri, Nov 4, 2011 at 12:27 AM, Robert O'Callahan <robert@ocallahan.org> wrote:
> One crazy idea I just had to implement event coordinate transformation:
> create a 256x256 texture, set each pixel's R value to the X coordinate and G
> value to the Y coordinate, apply the vertex shader with an identity fragment
> shader, and save the result. To transform an event coordinate, extract from
> the result the color value at the pixel you care about, and recover the
> original X and Y values from the R and G channels.

That's not so crazy.  I think Greg Tavares had the same idea.

Received on Friday, 4 November 2011 07:44:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:39 UTC