Howard Nager wrote:
Thanks - the buttons are rectangular - any tips on how to calculate the corner
positions if the displacement map is a gradient distorting on both x and y?
I don't know the math behind the displacement map (I glanced at the
formula and decided not to figure it out unless I had to!) If you do a
little trial and error until you can get a single point to match, you
should be able to calculate exactly how each gray value translates each
point. The documentation for the DisplacementMapFilter object does list
the formula, which should be a good starting point.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders