render right-clic

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  07 July 2006
render right-clic

hie

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 ) :=)

thx

the difference mental ray


seems that is a maya sofware
 
  07 July 2006
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


Terence
 
  07 July 2006
Originally Posted by Lamster: You can't.

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.reg" 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.

Last edited by victor : 07 July 2006 at 05:28 PM.
 
  07 July 2006
Hmmm. Interesting. I'll have to try that out.
__________________
_________________

WIP: Poison Killer
 
  07 July 2006
I stand corrected

Terence
 
  07 July 2006
Originally Posted by Lamster: I stand corrected
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.

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.

Last edited by victor : 07 July 2006 at 04:35 AM.
 
  12 December 2006
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
great

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
thx
 
  12 December 2006
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?

Greets
Hannes
__________________
every boot does good.
 
  12 December 2006
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
 
  12 December 2006
Hi ghostlake,

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

Here:

Specific options for renderer "default": Maya software renderer
General purpose flags:
-rd path Directory in which to store image files
__________________
every boot does good.
 
  07 July 2007
Hie
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

thx.
 
  07 July 2007
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:45 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.