Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 22-01-2004, 01:23 PM   #1
Registered User
otaku's Avatar
Join Date: May 2003
Location: Switzerland
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
Default commandline rendering for mental ray...

_comandline rendering for mentalRAY

hi all folks!

im doing currently renderings for matte in mentalray (maya 5.0.1)

because i still need to work on windows of coarse we have memory problems, so we decide to render when maya is off.

what we use to render the maya file (MentalRAY)
is as wirtten in command line example:

1) cd "Eigene Dateien\maya\projects\seven_one_handyportal\scenes \"

2) set maya_install_path=C:\Programme\AliasWavefront\Maya 5.0

3) mayarender_with_mr -batch -file render_001_intro.mb

than mutch faster and without timeouts Maya starts to render only in command window

But the problems i still have are:

- no alpha channel is rendered (in renderwindow when maya runns he renders the alpha why not in commandline!?)

There are not enouhg flags available to define exactly what i want render from the .mb flie...

here: this comes out when trying to get the flags:

Command: "C:\Programme\AliasWavefront\Maya5.0\bin\mayabatch " -test -command mrBa

-v prints the product version and cut number
-batch for batch mode
-prompt for interactive non-gui mode
-proj [dir] look for files in the specified project dir
-command [mel command] runs the specified command on startup
-file [file] opens the specified file
-script [file] sources the specified file on startup
-log [file] copies stdout and stderr messages to the specified file

(use complete file name)
-recover recover the last journal file
-render [file] renders the specified file
(use 'Render -help' for more options)
-optimizeRender [file] [outfile]
optimize maya file efficient for rendering
purposes, and put result in outfile
(use 'maya -optimizeRender -help' for more options)

-archive [file] displays a list of files required to archive
the specified scene.
-help prints this message


if here is some professionals who can give me tipps where this flaggs are would be very nice!

i do not have a programmer by my side, so i do lack in this thins...
im modelling and rendering but still have to learn tonns of stuff in mentalray....
: daijobe desu :
otaku is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.