Procedural generation of meshes

Anyone know of a way either in jME3 or java in general to procedurally generate meshes?

Any algorithms i can look into for this would be really helpful, so far i havn’t been able to find any.

I want to make an asteroid field that is diverse and would like to procedurally generate a ton of models and save them off for later use.



Thanks for the help!

… depends on what model you want to make. Theres tree generators, landscape generators, house generators, human generators and more, each of them is basically a field of research. Then theres voxel algorithms like marching cubes and others… But the jme mesh format is not specific to jme, so you can use the logic of any whitepaper to generate meshes basically.

Maybe http://pcg.wikidot.com/category-pcg-algorithms can help you.

1 Like
@normen said:
.. depends on what model you want to make. Theres tree generators, landscape generators, house generators, human generators and more, each of them is basically a field of research. Then theres voxel algorithms like marching cubes and others.. But the jme mesh format is not specific to jme, so you can use the logic of any whitepaper to generate meshes basically.


specifically asteroids, i was hoping some tried this before and might save me the trouble of months of trial and error with various algorithms. However I am glad to know that the mesh will behave as i desire with whatever algorithm i choose.

@meddins86 said:
Maybe http://pcg.wikidot.com/category-pcg-algorithms can help you.


This link was incredibly helpful. Very much appreciated.