Skip to main content

Reconstruct Subdiv for Maya [Python]

Just trying my hands on making little tools that could be useful in day to day work…
Here’s a small script which reverses the result of the smooth operation in maya even after deleting the history…and also preserves your UV
I know Zbrush and Mudbox already have this tool but i wanted to make it available withing maya
I have tried it on various models and seems to be giving correct results..except for one or two models..
I shall be working on the bugfixes soon…but as of now u r free to try this script on your models and let me know if you face any issues..
WARNING : It takes a while to calculate the mesh….may cause maya to freeze for a while…

(more…)

Read More

Maya…Python…nd loads of coding…

So..been busy learning the Maya Python integration for the past 3-4 weeks…
Finally managed to make a small utility tool for maya..
Nothing fancy but it helped me learn a lot…
The tool basically serves the purpose of a Render Queue
helping the animators and the lighting artist sort out the shots in the production…The animators can submit the file to the queue with just one click of a button and it automatically saves the playblast and the image in the image plane to the location of the maya file…
It also saves the frame length of the shot as well the submission time.

The lighting artist can then check the queue for the pending files in the animation list…The artist can select the file from the list and open the folder location...view the playblast or view the image plane directly from the ui..

Soo basically u can have 10 or more animators animating the shots and queuing it up for the lighting artists simultaneously with this tool..
Just place the xml files on sever and repath them in the code…and it should be accessible on any pc across ur network…

All the data has been managed using xml files hence it stays safe even when u close maya or shut down ur pc..

Here’s a UI snapshot of the utility…

(more…)

Read More

RePath Textures with new extension

Wassup everyone…
been busy with the job…hence not been able to post much stuff here…
here’s a small python script i came up with…We basically work with PSD’s while creating textures….coz its easier to create the PSD network in thr UV Texture Editor….
But the final textures are usually either tga’s or tiff’s…
We follow a basic folder structure in which we keep all the PSD’s in one folder and the corresponding TGA’s in another folder…So we need to repath all the textures once we are done with the texturing…
Mostly we use FileTextureManager for the repath purpose but FTM does not change the extension of the textures…

With this script I have provided an option to change the path as well as the extension of the textures…

Lets say my folder structure is like this –

The PSD folder contains 4 textures named –

•a.psd
•b.psd
•c.psd
•d.psd

and the TGA folder contains these 4 textures names –

•a.tga
•b.tga
•c.tga
•d.tga

All u need to do to repath them is select the FileTextureNode in the hypershade and run the script in the python tab of your script editor and just provide the path and the new extension in the fields..

 

Here’s the script available on my google drive –

Read More