Modifying custom 3D shapes
in
Contributed Library Questions
•
2 years ago
Hi,
I could do with a hand with the best way to modify 3D shapes on the fly.
Creating basic shapes using begin and endShape() doesn't look too hard, but am not sure adding noise, randomisation, and dynamic movement to line vertices would be the best method.
The Hemesh library looks interesting ( http://www.wblut.com/2010/05/04/hemesh-a-3d-mesh-library-for-processing/), as here you can get some nice modified object complexity, without too much effort. It's just not clear to me how to, for example, extrude just an edge, and play around with that. I was looking at the extrude class but couldn't get a result (see below).
[Moderator's note: removed useless, oversized and unreadable image of a JavaDoc page. A simple copy/paste of the textual information or just a link would be more useful.]
There is also the Hemesh GUI tool, that lets you export to a stl file. I understand the unlekkerLib allows you to import these, but again am not sure how much dynsmic control you have over the shape in P5.
Essestially I want to make large and small modifications to shapes so they can be animated. I have tried using another class that adds noise to all Hemesh vertices but this was just a little too random.
I could do with a hand with the best way to modify 3D shapes on the fly.
Creating basic shapes using begin and endShape() doesn't look too hard, but am not sure adding noise, randomisation, and dynamic movement to line vertices would be the best method.
The Hemesh library looks interesting ( http://www.wblut.com/2010/05/04/hemesh-a-3d-mesh-library-for-processing/), as here you can get some nice modified object complexity, without too much effort. It's just not clear to me how to, for example, extrude just an edge, and play around with that. I was looking at the extrude class but couldn't get a result (see below).
[Moderator's note: removed useless, oversized and unreadable image of a JavaDoc page. A simple copy/paste of the textual information or just a link would be more useful.]
There is also the Hemesh GUI tool, that lets you export to a stl file. I understand the unlekkerLib allows you to import these, but again am not sure how much dynsmic control you have over the shape in P5.
Essestially I want to make large and small modifications to shapes so they can be animated. I have tried using another class that adds noise to all Hemesh vertices but this was just a little too random.
1