Tessellator is a triangulation tool for Java aimed for those who wish to manipulate and play around with large datasets of complex geometrical shapes. Tessellator does not define its own geomety classes but tries instead to preserve the accessibility and extensibility that standard awt components offer. Tessellator also takes use of JogAmp's cross-platform bindings to the OpenGL Utility Library (GLU)
- Download or clone using
git clone git://github.com/anonomis/tessellator.git
- Download JOGL
- Download GlueGen
- Download native libraries for both JOGL and GlueGen all platforms here
- Setup build path variables GLLUEGEN and JOGL.
- Setup native libraries location for GLUEGEN and JOGL.
So... you have a huge bunch of good ol' awt shapes of arbitrary form and want to manage them easier by breaking them up in small uniformed comparable pieces. This is what Tesselator does:
List<Triangle> triangles = new ArrayList<Triangle>();
for (Shape shape : shapeHeap) {
triangles.addAll(new Tessellator().getTriangles(anyShape, null));
}
And that's it.
So far... none... (For the sake of this software: Please prove me wrong!)
Have fun!