Showing posts with label script. Show all posts
Showing posts with label script. Show all posts

Monday, March 28, 2016

Tutorial - Cloning the shape of an object through UV coordinates (mid)

In this tutorial we will create a maya python script that takes two meshes A and B and makes B look like A using the UVs to create a correspondence across the two meshes.
The more the two UV maps are overlapping, the better results will be achieved.

This is the second tutorial that should lead to creating your own UV blendshape deformer in Maya. I am doing this as many people asked me for my UV blendshape deformer.
The first tutorial of this series is available here.

Tutorial - Using Open Maya to set vertex positions to match UV coordinates (easy)

This is the first tutorial that should lead to creating your own UV blendshape deformer in Maya. I am doing this as many people asked me for my UV blendshape deformer.

In this tutorial I will show how to write a simple Python script that uses OpenMaya to set the positions of points from a mesh to match the UV coordinates of each point. As one vertex can have multiple UV coordinates (as many possible UV coordinates as faces connected to the vertex), I will be using only the first UV coordinate in this script.