Polygon deformer node plugin for Maya that using Disney's SeExpr
This plug-in is allowed you to edit meshes with Disney's SeExpr language.
You can develop your unique mesh deformer, furthermore, can coding just the method without troublesome C++ codings and plug-in declaration.
Walt Disney Animation Studios: SeExpr
SeExpr is a expression language and the library developed by Disney.
It's a simple and easy, but has enough functions what you want in your daily work.
You can find it from here.
I developed this plug-in on Linux and I don't have any environment.
So I didn't build it on Win/Mac environment.
If you are a user of Maya2013/Linux and Windows, you can use pre-compiled binaly.
Please download it from here.
Windows version is built by Takkyun.
- Download the source.
- Unzip and cd to src directory.
- Edit the Makefile for your environment.
This plug-in uses OpenMP. So it's compiled by gcc4.2 or higher.
On Linux, the simplest way is
make install after Makefile modification.
If you don't want it, you have to move some files to specified path.
- build/SeExprMesh.so to any MAYA_PLUG_IN_PATH directory.
- scripts/AESeExprMeshTemplate.mel to any MAYA_SCRIPT_PATH directory.
Open Plug-in Manager from Window > Settings/Preferences > Plug-in Manager.
Select a mesh.
Execute seExprMesh command.
- You can find seExprMesh node from the network.
Do process or not.
You can select some output type.
color and uv is processed on current colorSet or uvSet.
Enter your SeExpr expression here.
In this field, you can use extra attributes as SeExpr variable directly.
But it's just limited float and vector.
0 is no deformation, 1 is full.
You have to connect here from time1.outTime if you use time or frame local variable.
This parameter drives all time value on the node.
The mesh be processed.
Additional control mesh.
If you want to use closestPoint() or closestNormal(), have to connect any mesh.
If you want to move the object by its transform, and follow the deformation, you should connect matrix attribute here.
Furthermore, this attribute is shown in Attribute Editor.
Because when you unconnect it, its values may not reset right.
Then you have to clear the unnecessary values manually.
Texture U coord
Texture V coord
Current time in second
Current time in frame
Get closest point position on ctrlMesh from given pos.
Get closest normal on ctrlMesh from given pos.
If you have some ideas, or found bugs, please tell me it.
mail: taikomatsu AT gmail.com (Please replace AT to @)