Hi all,
I need to 2D/3D display numerous samples (let’s say 1,000,000 points) in a triangulated surface form. As it will kill performance to have an Object Oriented design, I guess I have no choice to use an Array Oriented design.
I found an interesting one from visad (at the moment I am not interesting in the algorithms): http://www.ssec.wisc.edu/~dglo/docs/visad/Delaunay.html. The Delaunay class has public array fields: Tri, Vertices, Walk, Edges, numEdges, which is what I intended to do (more or less). You could find explanations of these fields from: http://my.unidata.ucar.edu/content/staff/russ/visad/msg01869.html
So, how would you do 3D representation of this class? Of course I don’t want to build Triangle objects, as deal with million objects is far too much. Do you think I could use a low level OpenGL tool (lwjgl, jogl…) to do the representation?
Perhaps I could replace arrays of the Delaunay class by DirectBuffers in order to avoid memory duplication in the GL side??? And also use the jdk1.5 new feature annotations (but don’t know how actually)???
Thanks a lot for all your upcoming advices (and sorry for my not so good English). I know there are some very competent guys around there.
andiqo