render right-clic



after tweaking all my setting i close maya then right-clic on my files scene then render much more faster for my render

but it seems that only render with maya software and not with mental ray

i check that i choose mental ray

how can i render with mental ray using the right-clic button (with maya close ) :=)


the difference mental ray

seems that is a maya sofware


You can’t.

The right click render option is essentially the command render.exe.

Let’s say your scene is called myscene.mb.

Open notepad and type in this :

render -r mr myscene.mb

and save it as renderthis.bat file in the folder that your scene file myscene.mb is in.

Double-click that renderthis.bat, the file that you’ve just created.

I’ll explain now what is happening. The right click option is simply running render.exe for your scene file. The default option is Maya Software. If you want mental ray, you will need to use the -r option, which is also -renderer, to specify which renderer you want to use.

If you actually go to the command line and type in render -h you will see a whole list of options that go with render.exe. and there’s also an option called -listrenderers that allows you to see the list of renderers that render.exe can use. To use mental ray, you need to put
"render -r mr " before you type in your scene file name.

And that’s all there is to it :slight_smile:


 Well, technically, you can. You just have to add the menu item yourself.
 Copy the following into a text file, and save it as "something[b].reg[/b]" and then double click that file and say yes when it asks if you want to add it to the registry.
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\MayaAsciiFile\shell\render (mr)]
[HKEY_CLASSES_ROOT\MayaAsciiFile\shell\render (mr)\command]
@="\"C:\\Program Files\\Alias\\Maya7.0\\bin\\render.exe\" -r mr \"%1\""

[HKEY_CLASSES_ROOT\MayaBinaryFile\shell\render (mr)]
[HKEY_CLASSES_ROOT\MayaBinaryFile\shell\render (mr)\command]
@="\"C:\\Program Files\\Alias\\Maya7.0\\bin\\render.exe\" -r mr \"%1\""
 That will add a "render (mr)" command to the menu. Of course, it's assuming that you installed Maya to the default location.


Hmmm. Interesting. I’ll have to try that out.


I stand corrected :slight_smile:



BTW, there is another option using a BAT (or CMD) file that can be used.

"C:\Program Files\Alias\Maya7.0\bin\render.exe" -r mr %1

Put that into a text file, name it something like mray.bat, and put it somewhere in your system path (or Maya’s bin folder), and then you can just type “mray scene.mb” at a command prompt to render the file with mental ray. Of course, adding additional options is a little tricky then.

Heck, you could even put that BAT file in your quicklaunch or something, and just drop the MB file on it to render. :slight_smile:

The point being that you don’t have to make a new BAT file for each scene that you want to render. The %1 will be replaced with the filename passed to it when it’s run.


thx that work
i made a work pad with your text (change nothing ) then save as .reg as a msdos files
double clic said yes
and a new right-clic option with mr appears

now it is suppose to render faster ?? than the movies clap when maya is open
because for me its the same time, maybe a little more


Hi Victor,

thanks for the tip with the registry settings! But the images I render always end up in the default project. What do I do wrong?



I think all now come to the discussion about render command of Maya, so you could specify where to save ur img,also many setting
go to command line (cmd), then type render - and you got all the function of render command


Hi ghostlake,

I checked the options of render -
The directory flag is only for Maya Software renderer.


Specific options for renderer “default”: Maya software renderer
General purpose flags:
-rd path Directory in which to store image files


i post again here because its the same problemes

soo i use the rightclic render for 2 years now.

but i need now to know the time render
is there a place where i can have this stats ?? (worktext,render stat files ??)

cause when you rendering with maya (still open) at the end the software tell you the render time
sometimes i need it



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.