yeah i had a look at that and it didnt help too much. I've been looking at the following formula given in the Help files, I kinda understand it in principle the only think i dont understand is why when an offset is found does it scale it down by 256? and also what happens if the resulting value is not a integer, does it round it to the nearest pixel?
dstPixel[x, y] = srcPixel[x + ((componentX(x, y) - 128) * scaleX) / 256, y + ((componentY(x, y) - 128) * scaleY) / 256] On 1/16/06, Chris Velevitch <[EMAIL PROTECTED]> wrote: > > Try:- > > http://blog.andre-michelle.com/index.php?s=displacementmapfilter > http://www.quasimondo.com/archives/000568.php#568 > > On 1/16/06, Mark Radose <[EMAIL PROTECTED]> wrote: > > Does anyone know any good tutorials on The DisplacementMapFilter? I've > > looked through the Help files to try and get my head around it but i > dont > > quite understand it yet. I'm hoping that if I can understand how it > works I > > might be able to use more effectivley. > > > > I was wondering if its possible to do a perspective skew using the > filter. i > > know you can't do this with the transformation Matrix but Im sure theres > a > > way to do it with the Displacment Map > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > -- > Chris Velevitch > Manager - Sydney Flash Platform Developers Group > www.flashdev.org.au > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

