JohnnyLA
04-01-2007, 10:11 AM
I am now going through the Gnomon DVD on mental ray disk 1 (which at the time is version 6.0 for Maya is use). The instructor said that a user can create a custom image size preset by creating a custom .mel script under
documents and settings\administrator\my documents\maya\scripts\
called userImageFormats.mel
The script itself is:
global string $gUserImageFormatData[] =
{
// name width height aspect ratio
// -----------------------------------------
"720_hd 1280 720 1.778",
"1080_hd 1920 1080 1.778",
"720x480_ns 720 480 1.35",
"super35_TV 720 547 1.316",
"super35_half 1024 778 1.316",
"Super35 2048 1556 1.316",
"2k_square 1027 778 1.316"
};
I tried using this script but I get multiple errors. I think since some MEL upgrades have been done the script itself is outdated.
Anyone know how to get this to work in Maya 8.5?
documents and settings\administrator\my documents\maya\scripts\
called userImageFormats.mel
The script itself is:
global string $gUserImageFormatData[] =
{
// name width height aspect ratio
// -----------------------------------------
"720_hd 1280 720 1.778",
"1080_hd 1920 1080 1.778",
"720x480_ns 720 480 1.35",
"super35_TV 720 547 1.316",
"super35_half 1024 778 1.316",
"Super35 2048 1556 1.316",
"2k_square 1027 778 1.316"
};
I tried using this script but I get multiple errors. I think since some MEL upgrades have been done the script itself is outdated.
Anyone know how to get this to work in Maya 8.5?