poseDeformer & fstretch 2017 builds for windows

david | maya,plugins | Sunday, November 27th, 2016

I was asked to do some poseDeformer and fstretch plugin builds for maya 2017. I've added maya 2017 builds for windows to the zip files on the downloads page.

But be warned. I have not started using 2017 yet so I cannot guarantee that these will actually work, so if you download them and try them and find that they don't work properly then let me know.

comet poseDeformer for maya 2016

david | maya,plugins | Saturday, May 9th, 2015

Another maya version, another plugin update. When I updated the archive I noticed that it contains a version from 2005 that works in maya 5. I wonder if anybody in the world is still using maya 5. From what I can tell, people still use the poseDeformer though. For 10 years I've been able to recompile against each new maya version with minimal to zero changes to the source code. I'm not sure how much longer that will be true. With 2016 comes viewport 2 and parallel evaluation as new defaults. The poseReader cone does not display in viewport 2, and performance of the deformer may actually be worse in parallel evaluation mode than it was before (I may be jumping the gun on that last conclusion since I'm still in the early stages of testing, so let me know if your results prove otherwise).

You can grab the update from my downloads page. Its windows only so far. If anybody wants to send me builds for other os's I'll add them to the archive. Alternatively if anybody wants me to link to versions they are hosting, then I'll do that too.

fStretch plugin for maya now gnu gpl

david | maya,plugins | Saturday, May 9th, 2015

Matthieu Fiorilli from http://www.cgaddict.com has just released v2.0 of fStretch for Maya as "Donation Based" under a GNU General Public License.

"The idea behind the plug-in is to be able to drive blendShapes that are turned on
and off based on the tension and angle change that happens on a geometry.
These blendShapes are sculpted to adjust the deformations."


The plugin is nicely integrated into maya, comes with well written documentation and is multi-threaded.

Not only that, Matthieu has put together a series of videos showing usage examples, code explanations and "how-to" tutorials for compiling windows, osx and linux versions, making it an amazing resource for anybody interested in learning how to write C++ deformers for maya.

For the full story, head over to cgaddict.com.

My compilations for maya 2014, 2015 and 2016 (windows) are available on my downloads page.

barycentric coordinates – part 2

david | maya,OpenMaya,python,tutorials | Monday, March 9th, 2015

In barycentric coordinates - part 1 I showed a way to compute the barycentric coordinates for an interior point in a triangle, and described how the result could be used in a simple constraint example.

In part 2 I am going to show a python OpenMaya code example that could be used as the basis for some kind of data interpolation between meshes with differing topology.

barycentric coordinates – part 1

david | maya,OpenMaya,python,tutorials | Monday, March 9th, 2015

Barycentric coordinates are useful when you want to transfer data between meshes that have different topology because they provide the basis for some simple interpolation. Take smooth skin binding for example. It is a commmon workflow, when painting weights, to start with a low resolution version of your mesh. When you are happy with the weighting you can use maya's copySkinWeights command to transfer those weights from the low resolution mesh to the detailed high resolution mesh, which may even be made up of several pieces. copySkinWeights interpolates the weights from the verts on the lo res mesh and copies the result to the hi res mesh. The smooth result you get with this workflow is usually something that would have been very difficult to achieve if you had tried to paint the weights directly on the hires mesh.

comet poseDeformer for maya 2015

david | maya,plugins | Monday, June 9th, 2014

I've updated the downloads page and added my compile of the poseDeformer and poseReader for maya 2015 to the archives.

maya he3d

Since I don't get the time to update this blog much anymore, I thought I'd just drop in quickly to recommend a google groups mailing list that I have been contributing to for a while now. If you feel like some question/answer type discussions focused specifically on problem solving in maya this might be the place for you. There are a great bunch of knowledgeable people posting there already from time to time, but more will always be welcome. Just enter "maya he3d" in the google groups search.

MFnMesh.getClosestPoint using Maya Python API 2.0

david | maya,OpenMaya,python,tutorials | Tuesday, July 9th, 2013

Yesterday I wrote about my experiences with the OpenMaya modules for python in maya, and showed some code to get the closest vertex on a mesh from the position of a locator. Today I'm going to show the same code, rewritten to use the new Maya Python API 2.0, which, according to the intro in the manual, " is a new version of the Maya Python API which provides a more Pythonic workflow and improved performance." (more...)

get closest vertex in maya using python

david | maya,OpenMaya,python,tutorials | Sunday, July 7th, 2013

Recently I was writing a python function where I needed to find the mesh vertex closest to a locator. I already knew how to get a list of vertices from my mesh, how to get their worldspace locations and how to iterate through them calculating the distance between each one and the locator to determine the closest. But the brute force approach would have been pretty slow on a dense mesh.

I'm not very familiar with the OpenMaya classes, but I was pretty sure one of them would have a method that would make this task much faster, so I began to google the problem.

Here is what I found... and what I had to do to get it to work. Advanced coders will probably find this trivial, but I'm guessing there are others like me that will find it interesting. (more...)

Powered by WordPress | Based on a theme by Roy Tanck