AWS Thinkbox Discussion Forums

Maxwell Render 3.1 - Extra Sampling support

Thread for the addition of Maxwell Render 3.1 Extra sampling support in DL7.x

Current process and method for this to work with 7.0.2.3 R Public - Note: This works for single render and co-operative rendering:-

Commandline options are passed to Maxwell using the Additional Arguments box in the Maxwell Submit job dialogue. This example uses a premade image to drive the extra sampling areas.

-extrasamplingenabled:yes -extrasamplingsl:25 -extrasamplingmask:2 -extrasamplinguserbitmap:\\SERVER\Render\Maxwell\EMP3d\MX3\Scenes\Website_BGs\Extra_Sampling_Tester_alpha.png 

So how does this work?
You set a global sample level for the whole image and then using a black and white mask, tell Maxwell to carry on rendering a specific section of the image to a higher sample level.
You can use a preset Custom Alpha channel created during rendering, the output Alpha channel created during rendering or a user image(bitmap) created before submitting the job.
Specific command line options:-

-extrasamplingenabled:yes|no|on|off         Specify whether the render extra-sampling is enabled
-extrasamplingsl:sl                         Specify Final Sample Level for the extra-sampling
-extrasamplingmask:0|1|2                    Specify the extra-sampling mask. 0: custom alpha, 1: alpha, 2: bitmap
-extrasamplingcustomalpha:name              Specify what custom alpha will be used for the extra-sampling mask 0 (custom alpha)
-extrasamplinguserbitmap:path               Specify the path of the bitmap used as a mask for extra-sampling mask 2 (bitmap)
-extrasamplinginvert:yes|no|on|off          Specify whether extra-sampling alpha mask must be inverted

Now here’s where we need to add support to Deadline.
Currently the job/render progress hits the global sample level at 100% but the extra sampling is not accounted for, so I have 3252% render progress in the slave progress window by the time the render finishes and the Monitor task window progress bar is at 100% when the global sample level is reached.
The job render times are correct however for the whole job.
The Submit job dialogue needs to have the extra sampling options available.
The ‘Adjust for cooperative rendering’ needs to account for the Extra Sampling level as well as the Global sample level, although the current method using Arguments works. (See points below the image.)
Here is the Maxwell Render GUI Options panel for extra sampling, with the type drop down revealed:-
ES_Options_Maxwell_Render_3-1.jpg

Currently I need to set the Extra Sampling level to the co-operatively adjusted sample level given to the number of nodes I have. So for instance I have 40 nodes. I know that Maxwell needs a sample level of 10.93 for each node to combine upto the global sample level of 20.
So to get this to work correctly, my Extra Sampling SL argument should be 10.93 NOT 20 as you would expect. This way co-operative rendering is accounted for during the Global SL and the Extra SL.

-noimage -extrasamplingenabled:yes -extrasamplingsl:10.93 -extrasamplingmask:2 -extrasamplinguserbitmap:\\SERVER\Render\Maxwell\EMP3d\MX3\Scenes\Website_BGs\Extra_Sampling_Tester_alpha.png
And full tested and working render argument as sent from Deadline for correct final Global SL of 4 and Extra Sampling Level of 20 using a pre-made black and white image:-

Argument for one node in a co-operative render using 40 nodes:- -mxs:"\\server\Maxwell\Extra_Sampling_Tester.mxs" -nowait -hide -threads:0 -time:10000.0 -sampling:0.24 *********************************CO-OP ADJUSTED SL**************************************** -node -verbose:4 -idcpu:4 -output:"C:\Users\Tim.EMP3D\AppData\Local\Thinkbox\Deadline7\slave\R09\jobsData\54d4bdd43d27c91b0c36f8cb\maxwellOutput_tempGzOv70\Output\Extra_Sampling_Tester_s0004.png" -copyimage:"\\server\Render\Maxwell\EMP3d\MX3\Scenes\Website_BGs\Extra_Sampling_Tester_s0004.png" -mxi:"C:\Users\Tim.EMP3D\AppData\Local\Thinkbox\Deadline7\slave\R09\jobsData\54d4bdd43d27c91b0c36f8cb\maxwellOutput_tempGzOv70\MXI\Extra_Sampling_Tester_s0004.mxi" -copymxi:"\\server\Render\Maxwell\EMP3d\MX3\Scenes\Website_BGs\Extra_Sampling_Tester_s0004.mxi" -removeaftercopy:yes -noimage -extrasamplingenabled:yes -extrasamplingsl:10.93 *********************************CO-OP ADJUSTED SL**************************************** -extrasamplingmask:2 -extrasamplinguserbitmap:\\SERVER\Render\Maxwell\EMP3d\MX3\Scenes\Website_BGs\Extra_Sampling_Tester_alpha.png

Cheers,

Tim.

Hey Tim,

Have you checked out 7.1.0.16 (beta 2)?
viewtopic.php?f=204&t=12971

From the release notes:

I think we have everything covered, so give it a try when you get a chance and let us know if there are any issues. One thing we might want to change is to move the “Adjust For Cooperative Rendering” option from the Overrides section of the submitter to the Co-op Rendering section, since now it applies to both the Sampling and Extra Sampling levels.

Cheers,
Ryan

Not yet Ryan as I do not have a beta license yet. My full 7.0 license just arrived a day or two ago. Can you organise this or do I need to go through the usual motions?

Great news btw, glad you’ve already added it. :wink:

Cheers,

Tim.

Yeah, you’ll have to go through beta@thinkboxsoftware.com. They should get back to you in a timely fashion though!

Cheers,
Ryan

Done, thank you. Should get a reply and updated license shortly.

I can do a rolling update can’t I with this version? ie do not need to fully uninstall? It’s a while since I was testing V6. :wink:

Cheers,

Tim.

Correct. Since you’re upgrading from 7.0, you can follow the minor upgrade steps here:
docs.thinkboxsoftware.com/produc … downgrades

Cheers,
Ryan

Not heard anything back yet from beta@thinkbox Ryan.

hCHeers,

Tim.

Created a new thread in Bugs:- http://forums.thinkboxsoftware.com/viewtopic.php?f=205&t=13027

Tim.

Privacy | Site terms | Cookie preferences