openfl-native implementation of perlinNoise doesn't work

52 views
Skip to first unread message

Ido Yehieli

unread,
Oct 14, 2013, 9:41:07 AM10/14/13
to haxe...@googlegroups.com
Hi,
it appears the implementation of perlin noise in https://github.com/openfl/openfl-native/blob/master/flash/display/BitmapData.hx#L331 doesn't work in native, it just sets every pixel to 0:



output in native (openfl test windows -debug): http://pastebin.com/EwkKi4Lg

Trying to "manually" use  ncannasse's implementation from http://ncannasse.fr/blog/optimizing_perlin_noise gives the same result (black bmp).

Any idea on how to fix this?
Reply all
Reply to author
Forward
0 new messages