vujadin / BabylonHx

Port of Babylon.js 3D engine to Haxe.
http:/paradoxplay.com/babylonhx
Apache License 2.0
189 stars 43 forks source link

Type not found : PerlinNoise #144

Open marcocavallaro opened 6 years ago

marcocavallaro commented 6 years ago

Hello, I've got this error ( Type not found : PerlinNoise ) when I try to run the demo scene. I'm following the instructions on babylonhx.com. Thanks

vujadin commented 6 years ago

Hi, can you please give me full error log? PerlinNoise is not needed, I was experimenting with some stuff and forgot to delete it.

On Wed, Jan 17, 2018 at 1:46 PM, calavera666 notifications@github.com wrote:

Hello, I've got this error ( Type not found : PerlinNoise ) when I try to run the demo scene. I'm following the instructions on babylonhx.com. Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vujadin/BabylonHx/issues/144, or mute the thread https://github.com/notifications/unsubscribe-auth/AEbKmVbwwWkK96p30tbfZIv_dmbqM7s3ks5tLeuNgaJpZM4RhSXD .

marcocavallaro commented 6 years ago

Sure, the error is (using openfl test html5): com/babylonhx/utils/Image.hx:36: characters 18-29 : Type not found : PerlinNoise

After removing the perlin noise function in Image.hx I got this from console: Tools.hx:498: File assets/models/Rabbit/Rabbit.babylon doesn't exist!

Using the model from the bones example on the website is now working in html5: image

Is not working when I target linux and neko (openfl test linux/neko):

Linux: Error : Invalid field:_tags

Neko: com/babylonhx/materials/UniformBuffer.hx:177: characters 23-51 : Cannot create closure with more than 5 arguments