DisplacementMapFilter bug?


hi, all~

i'm studying displacementmapfilter image-distortion.

but, found strange thing.

that is, displacementmapfilter not work exactly(?) or linearly(?).

i'll show u test result.

 

test.jpg

left-top image original image;(256x256)

right-top image displacementmap image;

  - gray part non-transfer section (channel value = 128)

  - gradient part transfer section (channel value = 0~255)

  - black part maximum transfer section (channel value = 0)

and.. bottom 2 images result of applying filter, different yscale parameters.

 

as think, transfered top of gradient part , top of black part same.

but..as changing yscale, difference changed.

 

adobe online page says.

dstpixel[x, y] = srcpixel[x + ((componentx(x, y) - 128) * scalex) / 256, y + ((componenty(x, y) - 128) *scaley) / 256)

with same componenty, same y, make same result pixel data.

above test result shows it's can calculated when solid part, gradient part not working correctly.

did have experence this?

 

please help~

looks ok me.

 

to confirm, start image, apply filter , confirm results in same pixel mapping.



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support