I think I am missing something, I've been looking at the docs and I don't quite get how to use the pointer buffers.
The Assimp library provides the imported data as class structures that contain some pointer buffers, but I can't figure out how to retrieve the objects those pointers represent.
For example, in the aiScene there's the mMeshes method which returns a pointer buffer
But that's just a Long, what do I do with that number??? how do I get the actual aiMesh instance?
Have a look at the LWJGL/lwjgl3-demos Assimp demo here: https://github.com/LWJGL/lwjgl3-demos/blob/master/src/org/lwjgl/demo/opengl/assimp/WavefrontObjDemo.java#L384-L389
You basically call <Struct>.create(pointerValue/long) to construct a struct instance from a pointer/long value.
I thought the object would already be created.
I missed the part where it's a static call... oooooops >____<
ok, all good, thanks <3
ps: btw, loading blender files from clojure is possible, so nice
(https://media.chitter.xyz/media_attachments/files/001/879/334/original/a96fdcb8f8037807.png)