Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 61 14-10-2012 , 06:02 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
Hi Matt, sorry to be getting back to you so late. I've never encountered this bug before. In your render globals, do you have anything set in the file output section? Are there any errors being reported during the renders?


Imagination is more important than knowledge.
# 62 18-10-2012 , 10:08 AM
Registered User
Join Date: Sep 2012
Posts: 3
Hi John,
There are no errors reported while rendering. As for Render Globals, I've tested both with leaving them at default values and entering what I tell the script, but the results are the same.

I did some further simple tests- and I think I've deduced that Vue is indeed causing the issue with your script. I know the script works on a scene that doesn't use the Vue plugin, but once you introduce Vue into that same scene you get what I mentioned in my last post, it picks a number within the frame range, then proceeds to render the full range while saving over the same file.

If you've any ideas at all please do let me know, I had to put this project on the back burner due to these very strange rendering issues, by now I could have probably rendered them individually and saved them manually but it isn't very practical.

To think, all these issues, simply because the batch render result displays strange glitches not present in single frame renders. Maya has driven me up the wall since I started using it as a student, but this issue really takes the cake!

Anyway, if you've any ideas/anything you want me to check/test do let me know. If you have access to a copy of Vue 10 for Maya I could even sort out a copy of the scene file for you.

Thanks John
Matt

# 63 18-10-2012 , 04:00 PM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
What product are you using? Espirit, Studio, Extreme,...?


Imagination is more important than knowledge.
# 64 22-10-2012 , 06:10 AM
Registered User
Join Date: Sep 2012
Posts: 3
Vue 10 xStream.

# 65 26-10-2012 , 05:05 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
Hi Matt, this is most likely an issue with Vue. Sadly, I don't have access to it, so I can't reproduce your issue. You would be better off asking a Vue-specific forum for any oddities with rendering frames. (Perhaps an option somewhere that's causing it)


Imagination is more important than knowledge.
# 66 04-11-2012 , 01:31 PM
Registered User
Join Date: Nov 2012
Posts: 9
Thank you, NextDesign!!
I also had some problem with the batch render and I wanted to say that you are a life savior!!! This thing works great!

I have one question - is there any way to render two render layers in one image? (as if I click the render button). Both the Batch and your script make two folders for each layer and then I need to go to After or something. Just wondering...

But thanks again!
I think I will use it forever


Last edited by TalRo; 04-11-2012 at 01:40 PM.
# 67 06-11-2012 , 04:37 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
Hey TalRo, glad to hear it helped! It should be possible with OpenEXR support. I'll take a look into it. I'm just a bit weary of writing all passes into one file, as in production, it's nice to see the renders come out while they're being completed. It also means that if a job dies somehow, ALL of the data in that frame is lost, not just that pass.


Imagination is more important than knowledge.
# 68 22-02-2013 , 03:40 PM
jaminunit's Avatar
Registered User
Join Date: Nov 2006
Posts: 1
Hi, wow this was what I have been looking for.

But would love love love a "by frames"

That way I can render out ever 10th frame.

This is useful because on static scenes I can build up a final gather map by setting rebuild to off and animating the camera around the room.

Then rendering every 10th frame or what ever is needed and it will build up the FGmap.

I can then go in freeze the rebuild and render out the room.

Anyway
I would love if this scrip had this feature.

Thanks for your great work NextDesign!

# 69 22-02-2013 , 09:23 PM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988

But would love love love a "by frames"

Hi jaminuit, glad it helped you out.

Adding by frames is actually quite simple.

Simply change the line:
Code:
for ($i = $startFrame; $i <= $endFrame; $i++)
To:
Code:
for ($i = $startFrame; $i <= $endFrame; $i += 10)
Where 10 is your by frame value.

Best of luck,

-John


Imagination is more important than knowledge.
# 70 23-03-2013 , 11:52 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Well it's my turn to say a big thank you for this script. Using it to solve my shading switch problem.
If I could be so bold as to make some comments/requests:
-Esc didn't seem to quit the whole process, it just cancelled the current render and moved to the next one
-Option to choose the camera to render would be great
-I tried adding my above "exr" support, but I'm getting files called myrenderimage.exr.img so obviously I'm doing it wrong. So it would be great for exr to be included in the list.
-I don't know if this is possible, but specifying the number of render threads... by default it uses all of them and sometimes I like to batch render with all minus one.

# 71 24-03-2013 , 08:00 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
Hi stwert, sure; I'll make those revisions in the next release.


Imagination is more important than knowledge.
# 72 26-03-2013 , 06:41 PM
Registered User
Join Date: Mar 2013
Posts: 1

will it work in maya 3013

Hi, I've been having a problem in which a moving IBL doesn't appear to move when batch rendered. Been trying for two day to find a solution and your Batch Render Script seems to be the answer, so can I join the many people who have come before me in saying thank you.

However, I'm using Maya 3013 and when I paste the script into my editor and click execute I get an error that reads # Error: line 1: invalid syntax #

Is it me or maya 2013?

PS I've never used scripting before

Any help would be appreciated and again thanks


Last edited by flashmastermac; 26-03-2013 at 07:08 PM.
# 73 27-03-2013 , 05:41 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
It sounds like you're trying to run it in a Python window. In the script editor, press CTRL+T and click "MEL". Paste the code in the new tab in the script editor, and it will run.

Good luck!


Imagination is more important than knowledge.
# 74 02-04-2013 , 09:06 AM
Registered User
Join Date: Apr 2013
Posts: 1
really feel the need to register just to say thanks..

maya's batch rendering screwed my transformation so i was looking for the solution. luckily i stumbled into this thread. not only it solved my problem, it also did the rendering faster.

thanks!

# 75 02-04-2013 , 02:55 PM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
No problem, glad it helped you!


Imagination is more important than knowledge.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads