开发者

A Java Mesh Library?

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


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.


You might take a look at:

JavaMonkeyEngine: http://www.jmonkeyengine.com

LWJGL: http://www.lwjgl.org

the Java3D API might also have useful information of directions to support for what you need.


There are two excellent libraries (for processing.org originally but not an hard constrains, they can be used genetically) :

Toxic libs for winged mesh, toxiclibs.org

He mesh for half edge mesh, http://hemesh.wblut.com

Both can load sto and do various simplification operations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜