Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A Java Mesh Library?

Tags:

java

mesh

I'm currently looking for a Java Mesh Library.
If my understanding is correct, this would be something similar to OpenMesh.

All I've found at moment is JMesh 'A Polygonal Mesh Library in Java' ( http://jmesh.origo.ethz.ch/ ) which is still in development.

Context : turning a very large stl file into a Mesh structure (probably winged- or half-edged, but again I'm not too familiar with this field) in order to perform Mesh simplification operations (edge collapse, etc.).

like image 870
mtremsal Avatar asked Nov 05 '22 19:11

mtremsal


1 Answers

The existing tools written in C++ (OpenMesh & OpenFlipper) are very well optimized.

Java alternatives are still in development.

While implementing a basic HalfEdge structure (and basic operations like Edge Collapse) in Java is not hard, handling the persistence of data is harder/slower. I have a proof of concept of a HalfEdge structure built in J2EE with persistence via EJB3/Hibernate but alot of work wood be needed to develop all the features of OpenMesh.

Conclusion: use OpenMesh.

like image 159
mtremsal Avatar answered Nov 14 '22 20:11

mtremsal