View Single Post
# 81 07-06-2005 , 09:51 PM
Renderizer's Avatar
Subscriber
Join Date: Jun 2002
Location: Germany
Posts: 276

UV Snapshots: getting around limited image resolution

Since I just came up with a little tip and mhcannon thought it would be a good idea to post it here, I will do just that.

Maybe some of you have found out before that Maya limits the image resolution of the UV Snapshot to 2048x2048, which should be enough for most things, but sometimes you just need more space.

To get this done, follow these easy steps:

1. Close Maya if it happens to be running, otherwise you may experience problems.

2. Track down a MEL script called 'performUVSnapshot.mel' (should be somewhere here: [Program Path Dir]\Alias\scripts\others).

Copy it to your scripts folder (eg. my documents\maya6.0\scripts). Maya will give these scripts prioity over those found in Maya's install folder, so you can keep it for later use, just in case you have to reinstall Maya. In case you want to leave the script where it is, make a copy of it before you apply any changes.

3. Open the script in notepad and look for these lines:

int $kPLEMaxX = 2048;
int $kPLEMaxY = 2048;

Once you've found then, simply change the two occurrences of 2048 to the maximum resolution you might need to use (I set mine to 4096).

4. Save the script and restart Maya. Select your geometry, call the UV Snapshot window and set the resolution to your heart's content.

5. Shut down the machine, pick up your girlfriend and go out for a little walk in the sun and enjoy the fresh air.

Amen!


Subdivide and conquer!

Free your mind, and your ass will follow!