AWS Thinkbox Discussion Forums

Draft + EXRs

I can’t run draft after upgrading my license so maybe a dev can check for me. Does Draft handle Linear Gamma properly with EXRs for writing Quicktimes or is there a gamma operation we need to manually run ourselves?

Also can Draft read the Alpha and can we composite over a custom background? White/Black?

Ok to answer my question… EXRs do bad things.

How do I gamma correct an image if it’s going to be linear?

Also it appears that it composites overlays wrong when you use the composite operator.

Double-also it looks like it’s storing the EXR values as un-premultiplied so it needs to pre-mult the EXR values before compositing.
SBE_0010_COMP_B03.02_WEB.mov (1.19 MB)

can you send the draft script in here so we can look at it? thanks
cb

Just using the template I sent before.

bgFrame.CompositeWithPositionAndGravity(logo, (1.0 - overlayMargin/2), overlayMargin/2, PositionalGravity.SouthEastGravity, CompositeOperator.OverCompositeOp)

straightface_watermark2.zip (153 KB)
Straightface_DraftTemplate_v05.zip (3.65 KB)

Hey guys, sorry to resurrect the old thread but I have an issue with EXR that I don’t understand.

The script that i’m using (attached) is based on the post by Paul here with added SRGB outLut.
viewtopic.php?f=127&t=7540&start=10#p31332

I’ve tried using this script with a single channel EXR and it works fine. (Output is from Maya 2012 Service Pack 2 with Mental Ray)

whenever I try Draft with a multichannel EXR it always crashes python completely. Deadline Slave would then just wait until the error window is closed before it will resume or retry again. Using Deadline Version: 5.1.0.47014 + Windows 7 SP1 + latest Draft Beta version.

(And yes I was just testing it out in this case on one frame, multiple frames does the same thing)

0: STDOUT: Checking for license at @192.168.1.9 0: STDOUT: Draft Beta 0.10.0.47171 0: STDOUT: Draft Version: 0.10.0.47171 0: STDOUT: Command line args: 0: STDOUT: username=roy 0: STDOUT: entity=Mental_Ray_Shaders - persp4Shape 0: STDOUT: version= 0: STDOUT: inFile=\\dingo\red\01_Production\INTE1312_Spinifex_Perfect_Car_Kit\3_Studio\d_3D\Renders\TEST_DRAFT_IMAGES\Mental_Ray_Shaders.persp1.masterLayer.###.exr 0: STDOUT: outFile=\\dingo\red\01_Production\INTE1312_Spinifex_Perfect_Car_Kit\3_Studio\d_3D\Renders\TEST_DRAFT_IMAGES\Draft\Mental_Ray_Shaders.persp1.masterLayer.mov 0: STDOUT: startFrame=230 0: STDOUT: endFrame=230 0: STDOUT: frameList=230-230 0: STDOUT: deadlineJobID=00e_050_000_2e5d5874 0: STDOUT: Encoding Slate Frames... 0: STDOUT: Processing Frame: 230...-1 0: INFO: Process exit code: -1073741811 ]]></SlaveLogData> <PeakRamUsage>7822925824</PeakRamUsage> <PeakRamPercentage>31</PeakRamPercentage> <AverageRam>7701645824</AverageRam> <AverageRamPercentage>30</AverageRamPercentage> <PeakCpuUsage>5</PeakCpuUsage> <UsedCpuClocks>17243</UsedCpuClocks> <CpuUtilisation>3</CpuUtilisation> </ErrorReport>
TEST_simple_slate_eyes_SRGB_lut.zip (3.34 KB)

Could you please send us an EXR file that reproduces this problem? You can send us files on this forum, or through our ticket system.

Thank you! The multichannel EXR crash you reported is due to a bug in Image.Resize(). This bug should be fixed in the next Draft update.

Privacy | Site terms | Cookie preferences