Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Dynamics & Special Effects (https://simplymaya.com/forum/forumdisplay.php?f=33)
-   -   Batch render ignores my fluid sims (https://simplymaya.com/forum/showthread.php?t=37771)

tomduckett 13-05-2012 01:24 PM

Batch render ignores my fluid sims
 
Hi guys. I have been working on a scene which holds basic polygon geometry and two fluid containers. The fluid is cached and when I test render it looks fine. When it comes to batch rendering in Mentel ray however the fluids, it's shadows and its FG are totally ignored. It's driving me crazy and I don't know what's causing it.

If anybody could shed some light it would be really appreciated!

Thank you,

Tom

NextDesign 13-05-2012 08:10 PM

Run the Mental Ray diagnostics, and see if there are any errors.

tomduckett 13-05-2012 10:37 PM

Thank you so much for your reply. I'll check it and post the feedback

tomduckett 14-05-2012 08:17 AM

2 Attachment(s)
Hi NextDesign.

I ran the diagnostics and it said 'Mental Ray No Errors'!.

Not sure what I am doing wrong!

I've attached what frame 20 of the sim should look like (and does during test render) and also what it looks like during frame 20 of the batch render (Visual aids are so nice :) )

Thank you again,

Tom

Jay 14-05-2012 12:15 PM

have you set the frame range??

silly question I know but we all make mistakes -just thought I'd ask a fundamental question before it all goes technical

Jay

tomduckett 14-05-2012 02:10 PM

Hi jay,

Yeah I checked the frame range and get the right amount of frames rendered, there's just no fire!

Tom

NextDesign 14-05-2012 03:19 PM

A hack, but you can work around batch rendering with my script here: http://simplymaya.com/forum/showpost...7&postcount=23 Make sure you change the variables at the top to reflect your scene.

tomduckett 14-05-2012 06:03 PM

Thank you so much!

Does it work in 2012? When I input the code into the script editor it doesn't run and says

"# Error: SyntaxError: invalid syntax #
// Result: scriptEditorPanel1Window|TearOffPane|scriptEditorP anel1|formLayout38|formLayout40|paneLayout1|formLa yout41|tabLayout2|formLayout43|cmdScrollFieldExecu ter2 // "

Is it something that I am doing wrong perhaps?

Thank you for all the help!

Tom

NextDesign 14-05-2012 09:10 PM

Hi Tom. You are running it under MEL correct? Try restarting Maya, then give it another go.

tomduckett 15-05-2012 06:20 AM

We have fire :) ( well its still rendering as we speak, but there's fire none the less!)

I was running it under the python tab by mistake.

Mate, you are an absolute diamond for that script though I have to say! I spent a year interning at tendril and 567 and found that the people of Toronto are always so happy to help with any learning matters and you are clearly the same. A credit to Toronto!

Thank you once again mate,

Tom

NextDesign 15-05-2012 06:55 AM

Haha, no problem mate. Glad to help out. It's saved my bacon a couple of times as well.

Glad to see another local on the site :)

tomduckett 16-05-2012 10:10 AM

After a whopping 32 hours, that render is done! FG killed it.


Thanks again for all the help!

appears 27-09-2014 11:52 PM

Worked for me
 
Had the exact same problem. Used the work around. Problem solved in five minuets. On to the next problem. Thanks so much NextDesign! and thanks tomduckett for having the same problem as me.

tombarnett 23-02-2015 12:51 AM

Same. Thanks so much.
Tom


All times are GMT. The time now is 07:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018