Maya API

C++ / Maya / Mel Script



This project implements the use of a custom plug-in that contains an algorithm for distributing UV locations based on the height of the vertex related to the UV. By reading in the given mesh information to the plug-in, I traverse through the array of vertices and record their position in the world y-axis. This information is checked to see what area of the texture it is located in and sent to the custom texture, made up of a collection of tileable mini-textures. This is all brought together with a Mel script that creates a window with sliders which control the height designations for area of the map.