PDA

View Full Version : Mental Ray Errors - Help - Resolution Node


dreamer3dchic
07-03-2007, 11:30 PM
I've been struggling with mental ray, and seem to have solved most of my issues. I'm running Maya 7 and every time I import part of my geometry into a scene, I get this error in my mayaRenderLog:

Found a resolution node; these are being phased out.
Please add an entry to a file named userImageFormats.mel such as the following:
global string $gUserImageFormatData[] =
{ "Lightbulb2:causticRenderResolution 256 256 1.33333" };
These values have been added to the Render Settings Resolution menu.
Warning: Please check the Script Editor for details.

sometimes, things render fine, other times I run out of memory when I batch render, and if I deleate the geo that started the error, the error remains, and I must return to a previous version. I can't find a userImageFormats.mel anywhere, and I must admit that I don't have any idea what to do. Please help

slipknot66
07-04-2007, 03:02 AM
Well, usually people create this script to define some new render resolutions.Did you checked the Hypergraph Connections to see if you have some extra nodes connected to your objects?

SanjayChand
07-04-2007, 03:20 AM
If you are running out of memory, change your acceleration method under MR globals from BSP to large BSP , and lower the BSP depth value. Make sure your physical memory is set to 80% of your total memory.

Look at your output window and find your average depth and average leaf size numbers and input those into your MR globals. In order for this to show-up though you have to change the translation to "progress".

If that does not work, then change the acceleration method to Grid.

Make sure for either that you batch render from the command line (start > run > type in "cmd", then type in "render -r mr yourscenefile.mb". The benefit of this is that you do not have to have Maya open when rendering.

Before you do that make sure the project and all files are being read from a local drive, and not an external drive.

That should take care of the memory problems. As far as the other problem, you might try optimizing your scene to delete any extra "junk" that might be cluttering the scene. To do this, go to file > optimize scene size.

dreamer3dchic
07-04-2007, 07:52 PM
thanks for the suggestions, I'm going to try them in the next few days when I start rendering my thesis! It's such a relief to get a response with more information than I was able to find!

As far as the resolution node error, I still haven't figured that one out. And, no, I can't find any extra connections to my objects. I'll keep you both posted how it goes in the next few days.

SanjayChand
07-05-2007, 12:23 AM
youre welcome :)

Also make sure that you convert all of your texture files to .map format. This also improves render time.

You can use this nifty utility I have here (http://www.datafilehost.com/download.php?file=3ec7a97e). Just drag and drop your texture files into the utlity on your desktop and it will automatically convert them to a .map file and place it in the same directory as the original image. You have to use tifs though, and if the tif you are using arent converting, then try saving out a tif in photoshop and it should work.

floze
07-05-2007, 01:34 PM
youre welcome :)

Also make sure that you convert all of your texture files to .map format. This also improves render time.
That's not necessarily true. Since the texture is being read directly from disc you might experience even lower performance instead. The memory benefit however might justify this.

You can use this nifty utility I have here (http://www.datafilehost.com/download.php?file=3ec7a97e). Just drag and drop your texture files into the utlity on your desktop and it will automatically convert them to a .map file and place it in the same directory as the original image. You have to use tifs though, and if the tif you are using arent converting, then try saving out a tif in photoshop and it should work.
Afaik you can use any input format that's supported by the imf_disp utility as well, i.e. iff, hdr, jpg, png, exr, tga, bmp and some others. The tiff format might fail if you're using any sort of compression with it.

@dreamer3dchic: Not sure what that warning has to do with your actual problem. Maybe try to export the geometry as .obj and reimport the clean mesh.

CGTalk Moderation
07-05-2007, 01:34 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.