Mesh Deformation
http://catlikecoding.com/unity/tutorials/mesh-deformation/
Here is a simple introduction to mesh deformation. We turn a cube sphere into a stress ball and then poke at it with ray casts.
I'm releasing this tutorial while it is still a work in progress. The code, images, and animations are already in there. It is the text that is still mostly missing. So you can already get a good impression of the what, and how, but not yet the why.
You can also see that I have started to use subsections, in an effort to add more structure.
I will post an update notification when I have finished the writing.
Comments (5)
The inverse square law or mesh deformation method used here is very interesting. Do you have any related papers using these methods?
I have no specific papers for you. The inverse-square law pops up everywhere you have an expanding front or surface.
Can not you wrap it all in one texture? It comes out only in checkered pattern. Thanks for the good posting.
Texturing a sphere is nontrivial. In this case, it's most straightforward to use a cubemap and sample it with the unperturbed normals. Those normals would have to be stored in a separate mesh channel as 3D texture coordinates. A lat-lon UV unwrap doesn't work with this mesh's topology.
Looking forward to it! Keep you the great work
