G'day all. I've just discovered jME, and I must say, from the demos available, this looks very promising.
I've been slowly developing a 'game' of sorts with Xith3D in my spare time, but have kind of hit a brick wall, so I'm hoping I can convert and then move on with jME.
But before I begin that, I've started some of the tutorials available here, and have stumbled into a problem, I assume its because of the age of the tutes, and jME has been updated quite a bit since then. Heres my problem:
HelloTriMesh uses the method from TriMesh
reconstruct(com.jme.math.Vector3f[], com.jme.math.Vector3f[], com.jme.renderer.ColorRGBA[], com.jme.math.Vector2f[], int[])
reconstruct(java.nio.FloatBuffer vertices, java.nio.FloatBuffer normal, java.nio.FloatBuffer color, java.nio.FloatBuffer texture, java.nio.IntBuffer indices)
So my question is this: Is there a quick way to convert an Array of Vector3f's to a FloatBuffer?
Thanks for your help.