Skip to content

Simple triangulation tool for awt/java geometry objects. Utilizes openGL's quick and accurate tessellation algorithms.

Notifications You must be signed in to change notification settings

anonomis/tessellator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tessellator

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)

Dependencies

  • 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.

Getting started

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.

Known issues

So far... none... (For the sake of this software: Please prove me wrong!)

Have fun!

About

Simple triangulation tool for awt/java geometry objects. Utilizes openGL's quick and accurate tessellation algorithms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages