I am unsure of how the different GeometryArray-classes work when I manually want to generate a landscape from a set of 3D points.
I have an ordinary Point3f array that specify the coordinates in a square grid. Looks something like this:
myLandscapeCoords = new Point3f[] { (an array of x*x Point3f objects representing the points in the landscape grid...) }
The question is, how should they be ordered and which GeometryArray-calss (e.g., QuadArray) should be used? Currently I simply initialize them starting with the bottom left corner and go from left to right (i.e., one loop through z-axis with an inner loop through the x-axis).
I really need to find some good explaination of the different subclasses to GeometryArray…