Mental ray for maya tips

Hi all.. just to "share" some tips i have discovered for MR4Maya:

  1. Bump problems (how much discussed on it) fot poly can be easily removed manual mapping geometries: this solves align-textures problems

  2. Sometimes, after changing some parameters in your scenes (lights and materials params) you need to "move a little" the camera to prevent MR not "consider" the changes

  3. Camera background color AFFLICTS illumination: if your background color is black only scene lights/objects illuminate the scene... if white a "virtual light globe" is created...... good for HDRI simulation???????

Sorry for those have solved those problems yet......
HIGHEND master... why don't you add a Mentar Ray TIps Session??

bye bossrobot

Yeah, a Mental Ray section would be cool.
Btw, i have a tip as well. Increase the task size in the mr render globals.
Bumping it up to 128 made my renderings 25% faster!
Cheers

O.K. Here we go...

Object lights - pump incadescence, final gather it
and here it is, visible area lights with shadows and all

Another HDRI simulation - map incadescence on your
environment sphere or whatever

For your test renders use only one solution at time
(Caustics, G.I., FG), try to visualize how they'll look
together and when you're ready for a small holliday
press render

Check progress messages in mray globals, it's a
great help in contemplating your retirement plan.

Rendering over a network may due that something does wrong... so to monitor renderings use a dos shell to start it:

mayabatch -file -command mrBatchRender

so you can stop render with CTRL+C without close maya )

first of all relating to previous
mayabatch -file filename -command -mrBatchRender

Rendering on multiprocessor machines:
In order to use all the processors of a machine you have to create a .rayhosts file where the first two lines are identical, both referring to the same biproc machine.

For example:

MachineName -threads 2
MachineName -threads 2

MR manual says it's better to use IP address instead of machine name... try it if you don't have dinamyc IPs.....

These are tips that I've discovered myself that were either badly or left completely explained, or are just a good tips.

  1. To make caustics, you have to bump up the "Reflected color" of the material of the caustics casting object from complete black to something else.
  2. To get good AA effect, use (atleast) these settings: (In the "Sampling quality" section)
    Contrast R & G & B & A: 0.01
    Min/Max samples: -1/2
    Sample lock/Jitter: off/on
    Filter/Filter width & height: Mitchell/4.5-5
    Well now that's hard to read
  3. The "Export Verbosity" should always be "Detailed Messages". This is in the "Translation part of MR globals.
  4. To change the bit depths, gamma, resolutions and etc. you can press the checkered button just next to the "Framebuffer" box in MR globals, that opens a new section where you can change everything rather than let MR derive them from Maya
  5. You can change the rendering flags of MR by selecting a geometry, pressing CTRL+A and going to the first "section" (e.g. if you made a polysphere, go to "pSphere1" rather than "pSpehereShape1") and uncheck the "Derive from Maya" checkbox
  6. When you start a MR rendering for the first time since the plugin was previosly loaded, it will look for the .rayhosts/.ray3hosts file with the hostnames of slave renderers. Well there is this one minor problem, that MR will screw up imidietly if one slave isn't there but it's name is in the file. Well this is very irritationg for an example to me, as I can have an access to a few computers every now and then when they aren't used, but those aren't on always, so if someone needs one of 'em, I have to delete, move, or edit the .rayhosts file and then either reload the whole MR plugin or just restart Maya so the plugin won't look out for the machines again.

Can't think of anything else for now...

Buy the book "Rendering with mental ray" from you local bookstore.

For shaderwriters, buy the book "Programming mental ray" from your local bookstore.

Both these books are written by the folks at mental images. The former is written for animators wanting to learn how to use the renderer as well as gain tips on rendering efficiently. The latter for developers wishing to write shaders for the renderer. Both are good books.

why shoot in the dark?

And now a question: It's possible to use Mental Ray Shaders in mental ray for maya?
(if you know Mayaman i mean the mayaman custom shader function)