I have recently started to play around with Haxe and Three.js. How do I load a 3D object using JSONLoader. I’m very new to the Haxe way of doing things and haven’t wrapped my head around the whole extern thing.
I’m making use of this lib to simplify things:
https://github.com/rjanicek/three.js-haXe
Most of the Three.js Classes are abstracted in the lib except for JSONLoader or any loader for that matter. How can I load the json model I exported from Blender in Haxe?
It seems like I was using the wrong lib 🙂
This is a better abstraction:
https://github.com/labe-me/haxe-three.js
To load a 3D model, you’ll go about it this way:
Hope this help someone.