Mac OSX term batch motion blur fails: URGENT

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Post Reply
p3taoctane
Licensed Customer
Posts: 1418
Joined: Mon Jan 25, 2010 12:53 am

Maya 2016
Octane 2.242.2
Mac OSX 11.2
Verbose on

Still renders work fine
Stand alone working fine

I am running batch render from within maya GUI and it ends... frame/animation ext etc is set properly

Script Editor gives:
// Result: Saving temporary file: /Users/peta/Documents/maya/projects/default/scenes/Test__2312.mb //
// Result: Rendering with OctaneRender®... //
// Result: Rendering Completed. See Console for more information. //

Tried starting from terminal: Render -r file filename.mb

When motion blur is off in Octane render settings it works... when motion blur is On it fails;

Result: /Users/peta/Documents/maya/projects/default/scenes/WithMotionBlur.mb
Error: Subframe motion blur animation requires extra frame after the animation's end frame.
Scene WithMotionBlur.mb completed.
Error: line 1: Cannot find procedure "shaderBallRendererMenuUpdate".
Imac-Home:scenes peta$


I have given an extra frame at the end?

ANY ideas.. URGENT render job


Thanks
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
p3taoctane
Licensed Customer
Posts: 1418
Joined: Mon Jan 25, 2010 12:53 am

Thanks to TBX
Just set the frames to one less at beginning and end frame and now it works.

Peter
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
k.a.schubert
OctaneRender Team
Posts: 137
Joined: Mon Feb 22, 2016 2:52 am

Hi Peter,

I could reproduce a problem with the motion blur mode "internal", but not with the mode "subframe".
The bug produced a message like:
"Error: Internal motion blur animation with "Symmetric" direction and 0.2 shutter requires 3 extra frame(s) after the animation's end frame.".
It is fixed and will be available in 7.24, first thing tommorrow.


Actually there was no bug, lets make sure we do not miss any detail. I'll give an overview of the 2 motion blur modes and how they work:

What happened to me while testing is, that I added frames to the timeline so there would be enough for the motion blur, but did not save the scene before rendering.
Then it gave me the error

Code: Select all

"Error: Subframe motion blur animation requires extra frame after the animation's end frame."
because I did not save, but I thought I had enough frames on my timeline.

in this example I have 10 frames in my timeline:
timeline.png
timeline.png (10.21 KiB) Viewed 3113 times
Subframe with ignore option
Subframe MB needs an additional frame at the end of the animation. The less error prone way to do that is to hit the checkbox "Ignore frame sequence bounds".
This enforces to stay in the frame range, but therefore the last frame (10) does not get blurred (no frame 11 to blur with).
subframeIgnore.png
subframeIgnoreRenderFrames.png
Subframe without ignore option
subframeNoIgnore.png
subframeNoIgnoreRenderFrames.png
Without hitting the checkbox you have to limit your framerange yourself, so for 10 frames in the timeline the frame range can be 1-9.
Or you add one more frame in the timeline.
If you do neither, you'll get a warning in the mayaRenderLog.txt:

Code: Select all

"Error: Subframe motion blur animation requires extra frame after the animation's end frame."
Internal without ignore option
internalNoIgnore.png
In this MB mode it depends on the option "MB direction":
"After" needs a variable amount of frames after the end frame of the frame range to render.
"Before" needs a variable amount of frames before the start frame of the frame range to render.
"Symmetric" needs a variable amount of frames before the start frame and after the end frame of the frame range.

If you miss to have enough frames in your timeline before and/or after your render frame range,
the plugin prints an error message with this variable amount of needed frames to mayaRenderLog.txt:

Code: Select all

Error: Internal motion blur animation with "Symmetric" direction and 0.2 shutter requires 3 extra frame(s) before the animation's start frame.
Error: Internal motion blur animation with "Symmetric" direction and 0.2 shutter requires 3 extra frame(s) after the animation's end frame.
This way you can see, how many frames you need before/after your frame range.

Here it is 3 frames at the beginning and end, so with 10 frames on the timeline, you can set the range to 4-7.
I can as well add 6 frames to the timeline (16 total) and set the range to 4-13.
internalRenderFrames.png
Internal with ignore option
internal.png
When the ignore checkbox is hit, there are no errors printed to mayaRenderLog.txt and only the available frames (from the timeline) are used for the MB,
so your animation gets rendered, but is less blurred.

Best,
Kai
mverta
Licensed Customer
Posts: 25
Joined: Thu May 21, 2015 3:33 pm

k.a.schubert wrote: because I did not save, but I thought I had enough frames on my timeline. i
This is a HUGE gotcha. Needing to save after timeline range changes would never occur to 99% of users. Been pulling my hair out on this one for weeks.
k.a.schubert
OctaneRender Team
Posts: 137
Joined: Mon Feb 22, 2016 2:52 am

This is a HUGE gotcha. Needing to save after timeline range changes would never occur to 99% of users. Been pulling my hair out on this one for weeks.
Sorry to hear :( ,
but since mayaBatch.exe is a different process than maya.exe, it can only access the information through the scene file.
Ergo if the scene is not saved, it cannot know about the changes made in the UI of maya.exe.

At least that seems logical for the command line. If batch render is used from within maya it might not be necessary to save.

Anyways save for batch rendering in general. :)
k.a.schubert
OctaneRender Team
Posts: 137
Joined: Mon Feb 22, 2016 2:52 am

The motion blur tutorial is now available in the manual as well:

https://docs.otoy.com/#56The%20Two%20Mo ... ur%20Modes

Cheers,
Kai :)
Post Reply

Return to “Autodesk Maya”