Tony's tutorial Page

I'm making a slight disinction between the "artwork" on the artwork page, and the technical parts on the this page.

Geodesics       10:00 PM - Mar 10, 2008

Here are the quick notes about the geodesics python script that I mentioned on the artwork page.

Download the geodesic.py file and save it in your /maya/scripts directory. There is an "example use" script near the top of the script that shows the syntax of how to use it, and creates the scene that this image was taken from.

Each of the 5 platonic solids is supported, though there is a subtle trick that the script does with the tetrahedron, so you'll notice that one ends up parented underneath another transform group when the script finishes. Since Maya's typical way for calculating the centerpoint of a mesh doesn't line the center up with the true centroid of the tetrahedron, I needed to fudge it a bit by poly-combining the tetrahedon mesh with a sphere mesh, then separating them when the script finishes.

This isn't as fancy as some other geodesic scripts, which support different frequencies of geodesics (great circles) around the unit sphere, but it gets the job done for creating regular meshes that a suitable for nCloth simulation meshes (which was my primary purpose when I wrote this).

You can even run the sort of geodesizing routine on any mesh, but the results are usually pretty bad unless the object is somewhat regular and has its centroid at the origin.

Basically each step I need the faces split on each step, then all of the vertices projected to a sphere. I'm using linear poly smoothing for splitting the faces, and I'm using the sculpt mesh tool to do the projection for me to the unit sphere. To keep things spherical, I'm scaling the non-final iteration steps down to .75, so that all of the points will be within the unit sphere when the next sculpt tool projects them outwards again.

The end results are over on the artwork page, and available in wallpaper form.

 
tony@kaap.us | WebSite by KaapFamily.net  |  Valid CSS  |  Valid HTML