W3C home > Mailing lists > Public > www-svg@w3.org > May 2006

Calculating Normal Map

From: Mark McKay <mark@kitfox.com>
Date: Wed, 03 May 2006 16:07:12 -0400
Message-ID: <44590D70.70503@kitfox.com>
To: www-svg@w3.org

I'm trying to write a function that calculates a normal map from a bump 
map, and am using 
http://www.w3.org/TR/SVG/filters.html#feDiffuseLighting as a guide.  
Unfortunately, the normal calculation requires me to multiply by the 
function I(x, y), and nowhere defines what function I is.  Any ideas?  
How can I perform the Sobel gradient?  Also, why does the SVG Sobel 
calculation appear so much more complicated than other versions I google?

Mark McKay
Received on Wednesday, 3 May 2006 20:07:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:08 UTC