What the f**k is wrong with thi MR renderer (crazy RAM usage in batch)? :(

Become a member of the CGSociety

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

Thread Tools Search this Thread Display Modes
  11 November 2009
What the f**k is wrong with this MR renderer (crazy RAM usage in batch)? :(

Once again i`m on the verge of insanity because of this peace of s**t! Sorry for the language, guys, but i just cant hold my self any longer - rendering with MR is just like a constant fight with wind mills and its driving me crazy....
So the problem is as follows: i have 20 000 particles and a instancer (a polygon mesh), overall of 100 000 000 polys. The rendering takes 34sec and a memory footprint of about 2GB, when i render in maya`s render view. Tried to instance a cube with atached render proxy and to instance the mesh directly - there was no difference, same render time and memory usage.
The problem occurs when i try to batch render the scene - the second i start it, the memory usage goes trough the roof... with no reasonable explanation for me! How can Maya render this with no difficulties what so ever, but batch cant? Any tips will be highly appreciated... I`m really going crazy!
The specs are: Maya 2010, Quad6600, 8GB of RAM
I have attached a print screen from Maya render view.
Attached Images
File Type: jpg MayaRenderView.jpg (77.8 KB, 114 views)

Last edited by Pshu : 11 November 2009 at 11:53 AM.
  11 November 2009
I think i caught the b****rd... When rendering in Maya`s render view i`m getting this log:

RCI 0.3 info : using rasterizer for eye rays
RCI 0.3 info : using BSP2 for secondary rays

But when rendering trough mayabatch.exe from command line or started from maya UI, i`m gettin this:

RCI 0.3 info : using scanline for eye rays
RCI 0.3 info : using BSP2 for secondary rays

and this causes the insane RAM usage!
Now the question is - how to force mayabatch to use rasterizer/raytrace? Couldn`t find appropriate command no where in the docs.
  11 November 2009
have you tried saving the scene with the appropriate settings already checked (ie rasterizer, raytracing, etc) and then ran batch using that scene? Some settings don't need to be coded in the batch command.
  11 November 2009
I ran quite a few tests and whatever i do mayabatch reverts to the scanline algorithm. I was able to cheat it some how, by editing the .ma file, replacing everywhere the string ".scan" 0 (which stands for "scanline") with ".scan" 3 - rasterizer. Right now i`m testing with another file but cant reproduce the same pattern - quite strange i think. Anyway - the cause is known, will have to just find a way to fix it.
  11 November 2009
So, i think i found a workaround. You have to save the file as .ma and edit it as i wrote above. Then, when you open it again in Maya, by some strange reason, the algorithm in the render settings is again reverted to Scanline, no mater the edit. Re-save it with rasterizer/ raytrace checked and its good to go! F***in mentalray integration! >:(
  11 November 2009
WAO man that's insane.
thanks for sharing the solution anyways (y)
  11 November 2009
Ahh, no problem mate... I have found so many solutions to so many problems here on cgtalk, i`ll be very glad if i can contribute!
  11 November 2009
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
Society of Digital Artists

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

All times are GMT. The time now is 08:54 AM.

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