AWS Thinkbox Discussion Forums

VFB saving exr and split elements

Hi,

Not come across this before now as I normally render to multilayer .exr.

We’re wanting to save out the exr still but also save out png or tga files of each element for large frame stills. The exr is getting saved but its ignoring the split elements?

If I turn off the exr save, the slpit elements is starting but I get an error when the slave trys to save out the elements as below;

Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Error in bm->OpenOutput(): error code 1
2011/03/29 09:46:37 INF: Loaded C:/Documents and Settings/mark.h/Local Settings/Application Data/Prime Focus/Deadline/slave/jobsData/test.max
2011/03/29 09:46:37 WRN: Gamma Correction is Being Enabled
2011/03/29 09:46:37 INF: Job: C:/Documents and Settings/mark.h/Local Settings/Application Data/Prime Focus/Deadline/slave/jobsData/test.max
2011/03/29 09:46:45 ERR: Could not read/write file type: C:\DOCUME~1\mark.h\LOCALS~1\Temp\0000

Has anyone else found this? Is the only option not to save elements and get them out of the multilayer exr?

Many thanks,

Mark

Hi Mark,

That error occurs when there are blank output paths for one or more render elements. The “0000” file name that Deadline is trying to write to is the blank path with the frame padding added to it. This situation will be handled better in Deadline 5.0 (including a sanity check), but for now, ensuring you have output paths specified for all of your render elements should fix the problem.

In the integrated 3dsmax submission script, there is a “3ds Max Pathing Options” rollout under the Render tab. You can enable options here to automatically create the render element paths when the job is submitted to Deadline.

Cheers,

  • Ryan

Ok, yes if we add the save location and file name in each element its working, but only if the save for the exr is not on as well.

If the save for exr is on, then it seems to erase the file save locations for the elements and then of course not save them. The exr does render tho.

I’m not sure I understand how to fix it using the pathing options, could you give an example of what to change?

Thanks,

Mark

What’s the normal Max behavior in this situation? Are you able to render both the multilayer exr and save the individual REs as well from within Max? I just want to make sure that Deadline is doing what would normally be expected before we try to figure out a workaround. :slight_smile:

This could just be used to fill in the RE paths automatically. You just have to enable the “Update Render Elements’ Paths” option when submitting. I’m not sure if it will help in this particular case though.

Yes, the normal behavior in max is you can setup to save as a .exr and split RE through the VFB. We use this a lot for stills to get an exposable exr and 8 bit RE’s.

Ok, cool. So that means this is a Deadline bug, and I think it should be pretty easy to fix. Just to make sure my assumption is correct, can you post a log from the first task of a job that renders out the exr but not the REs? Just right-click on task 0 in the Monitor and select Task Reports -> View Log Reports.

Thanks!

  • Ryan

Here is the log report from the first frame that has correctly saved out an exr, but ignored the split RE’s

Hope it helps, and very pleased it could be fixed!

Log Message:

0: Task timeout is disabled.
0: Loaded job: Render_Test_Exr’s&Elements (999_080_999_6a7dc7e7)
0: INFO: StartJob: initializing script plugin 3dsmax
0: INFO: About: 3dsmax Plugin for Deadline
0: INFO: Start Job called - starting up 3dsmax plugin
0: INFO: Rendering with 3dsmax version: 2008
0: INFO: Build of 3dsmax to force: 64bit
0: INFO: Rendering with executable: C:\3ds Max 2008\3dsmax.exe
0: INFO: Checking registry for 3dsmax language code
0: INFO: Found language code: 409
0: INFO: Language code string: enu
0: INFO: Fail on existing 3dsmax process: 0
0: INFO: Load 3dsmax timeout: 1000 seconds
0: INFO: Start job timeout: 1000 seconds
0: INFO: Progress update timeout: 8000 seconds
0: INFO: Progress update timout disabled: 0
0: INFO: Slave mode enabled: 1
0: INFO: Silent mode enabled: 0
0: INFO: Local rendering enabled: 1
0: INFO: Strict 3dsmax check enabled: 1
0: INFO: Verifying installation of 3dsmax 2008 at C:\3ds Max 2008
0: INFO: Version of core.dll: 10.0.0.102
0: INFO: Ensuring 3dsmax install is valid
0: INFO: Running 3dsmaxcmd workaround
0: INFO: 3dsmaxcmd.exe returned: P29/03/2011 14:40:38; Error opening scene file: “C:\3ds Max 2008”
0: INFO: 3dsmax start up file: C:\Users\dan\AppData\Local\Prime Focus\Deadline\slave\plugins\deadlineStartupMax2008.max
0: INFO: Using user profiles: 1
0: INFO: Using 3dsmax ini file: C:\Users\dan\AppData\Local\Autodesk\3dsmax\2008 - 64bit\enu\3dsmax.ini
0: INFO: Network log file: C:\Users\dan\AppData\Local\Autodesk\3dsmax\2008 - 64bit\enu\Network\Max.log
0: INFO: Plugin ini file: C:\3ds Max 2008\plugin.ini
0: INFO: Including user profile plugin ini: C:\Users\dan\AppData\Local\Autodesk\3dsmax\2008 - 64bit\enu\plugin.ini
0: INFO: Lightning connection plugin: C:\Users\dan\AppData\Local\Prime Focus\Deadline\slave\plugins\lightning64Max2008.dlx
0: INFO: 3dsmax socket connection port: 62395
0: INFO: Creating startup script: C:\Users\dan\AppData\Local\Temp\lightning_startup.ms
0: INFO: Copying C:\Users\dan\AppData\Local\Prime Focus\Deadline\slave\plugins\lightning64Max2008.dlx to C:\Users\dan\AppData\Local\Prime Focus\Deadline\temp\lightning\lightning.dlx
0: INFO: Starting monitored managed process 3dsmaxProcess
0: INFO: Any popup windows with titles matching the regular expression “.Brazil Console.” will be ignored
0: INFO: Any popup windows with titles matching the regular expression “.MSP Acceleration.” will be ignored
0: INFO: Any popup windows with titles matching the regular expression “.FumeFX:.” will be ignored
0: INFO: Any popup windows with titles matching the regular expression “.FumeFX Dynamics:.” will be ignored
0: INFO: Any popup windows with titles matching the regular expression “.Maxwell Translation Window.” will be ignored
0: INFO: Any popup windows with titles matching the regular expression “.New updates are available - Craft Director Tools.” will be ignored
0: INFO: Any popup windows with titles matching the regular expression “Hair Farm” will be ignored
0: INFO: Any popup windows with titles matching the regular expression “.VRay authorization.” will be handled by pressing “Cancel”
0: INFO: Any popup windows with titles matching the regular expression “.V-Ray warning.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.File Load: Units Mismatch.” will be handled by pressing “Adopt the File’s Unit Scale?;OK”
0: INFO: Any popup windows with titles matching the regular expression “.File Load: Gamma & LUT Settings Mismatch.” will be handled by pressing “Adopt the File’s Gamma and LUT Settings?;OK”
0: INFO: Any popup windows with titles matching the regular expression “.3ds Max.” will be handled by pressing “Yes”
0: INFO: Any popup windows with titles matching the regular expression “.Frame Rate Change.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.MAXScript Auto-load Script Error.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Render history settings.” will be handled by pressing “OK;No”
0: INFO: Any popup windows with titles matching the regular expression “.Warning - the software has encountered a problem.” will be handled by pressing “Don’t show me this error again;Continue”
0: INFO: Any popup windows with titles matching the regular expression “.Frantic Films FPS Watchdog.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Missing Dlls.” will be handled by pressing “Cancel”
0: INFO: Any popup windows with titles matching the regular expression “Brazil r/s Rio Warning” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “3D Studio MAX” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.New updates are available - Craft Director Tools.” will be handled by pressing “Cancel”
0: INFO: Any popup windows with titles matching the regular expression “.Pop-up Note.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Tablet Version Mismatch.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Tablet Driver.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Gather error.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Image I/O Error.” will be handled by pressing “Retry”
0: INFO: Any popup windows with titles matching the regular expression “.Important nPower Plug-in Messages.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.glu3D.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.glu3D Warning!.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Bitmap Filter Error.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Maxwell Plug-in Update Notification.” will be handled by pressing “Don’t notify me about this version automatically;Close”
0: INFO: Any popup windows with titles matching the regular expression “.RealFlow Plug-in Update Notification.” will be handled by pressing “Don’t notify me about this version automatically;Close”
0: INFO: Any popup windows with titles matching the regular expression “.Learning Movies.” will be handled by pressing “Show this dialog at startup;Close”
0: INFO: Any popup windows with titles matching the regular expression “.Obsolete File.” will be handled by pressing “Don’t display this message.;OK”
0: INFO: Any popup windows with titles matching the regular expression “.Error Loading.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.IO Error.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Error.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Loading of custom driver failed.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “Warning” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.Welcome To Vue 8 xStream!.” will be handled by pressing “Don’t show this dialog again;Close”
0: INFO: Any popup windows with titles matching the regular expression “.Vue 8 xStream.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.3ds Max Performance Driver.” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.* Autodesk Customer Involvement Program.*” will be handled by pressing “OK”
0: INFO: Any popup windows with titles matching the regular expression “.nPower Software Plugin Product Selection Dialog.” will be handled by pressing “Solids Bundle (Solids + Translators);OK”
0: INFO: Stdout Handling Enabled: False
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: False
0: INFO: Creating New Console: False
0: INFO: Render Executable: “C:\3ds Max 2008\3dsmax.exe”
0: INFO: Render Argument: -p “C:\Users\dan\AppData\Local\Temp\dl.ini” -q -s “C:\Users\dan\AppData\Local\Prime Focus\Deadline\slave\plugins\deadlineStartupMax2008.max”
0: INFO: Startup Directory: “C:\3ds Max 2008”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: INFO: Waiting for connection from 3dsmax
0: INFO: Connected to 3dsmax plugin version Lightning 4.1.0.42702 Jul 30 2010 13:59:47 R
0: INFO: Scene file to render: C:\Users\dan\AppData\Local\Prime Focus\Deadline\slave\jobsData\testfile4hugh_+Renderelements_Path_01.max
0: INFO: Camera: no camera specified, rendering active viewport
0: INFO: Restarting 3dsmax after each frame: 1
0: INFO: Showing frame buffer: 0
0: INFO: Overriding save file option: False
0: INFO: Frame number base: 0
0: INFO: Remove padding from output filename: 0
0: INFO: Ignore missing external file errors: 1
0: INFO: Ignore missing UVW errors: 1
0: INFO: Ignore missing XREF errors: 1
0: INFO: Ignore missing DLL errors: 0
0: INFO: Disabling Multipass: 0
0: INFO: Render elements will be ignored
0: INFO: Loading 3dsmax scene file
0: INFO: [filename]
[format]
[size] 640x480
[aspect] 1

0: INFO: Executing script: C:\Users\dan\AppData\Local\Prime Focus\Deadline\slave\plugins\customize.ms
0: INFO: Applying customizations to max file…
0: INFO: >Adding scene path ‘C:\Users\dan\AppData\Local\Prime Focus\Deadline\slave\jobsData’ to session paths
0: INFO: >General Renderer Settings:
0: INFO: +Render Width set to 1280
0: INFO: +Render Height set to 720
0: INFO: +Pixel Aspect set to 1.0
0: INFO: +Atmospherics set to true
0: INFO: +Effects set to true
0: INFO: +Displacements set to true
0: INFO: +Area Lights/Shadows As Points set to false
0: INFO: +Force 2-Sided set to false
0: INFO: +Render Hidden Geometry set to false
0: INFO: +Video Color Check set to false
0: INFO: +Super Black set to false
0: INFO: +Render To Fields set to false
0: INFO: +Skip Existing Frames set to false
0: INFO: >Render Environment Settings:
0: INFO: +Background Color set to (color 0 0 0)
0: INFO: +Use Environment Map set to false
0: INFO: +Ambient Color set to (color 0 0 0)
0: INFO: +Global Light Tint Color set to (color 255 255 255)
0: INFO: +Global Light Level set to 1.0
0: INFO: >V-Ray detected as current renderer.
0: INFO: +Enabled VRay silent mode
0: INFO: +fixedRate_subdivs set to 1
0: INFO: +twoLevel_baseSubdivs set to 1
0: INFO: +twoLevel_fineSubdivs set to 8
0: INFO: +adaptiveSubdivision_minRate set to -1
0: INFO: +adaptiveSubdivision_maxRate set to 2
0: INFO: +adaptiveSubdivision_threshold set to 0.1
0: INFO: +adaptiveSubdivision_rand set to true
0: INFO: +imageSampler_outline set to false
0: INFO: +imageSampler_normal set to false
0: INFO: +imageSamper_normal_threshold set to 0.05
0: INFO: +filter_on set to true
0: INFO: +filter_size set to 3.0
0: INFO: +options_displacement set to true
0: INFO: +options_lights set to true
0: INFO: +options_hiddenLights set to true
0: INFO: +options_shadows set to true
0: INFO: +options_defaultLights set to 0
0: INFO: +options_reflectionRefraction set to true
0: INFO: +options_limitDepth set to true
0: INFO: +options_maxDepth set to 3
0: INFO: +options_maps set to true
0: INFO: +options_filterMaps set to true
0: INFO: +options_transpMaxLevels set to 50
0: INFO: +options_transpCutoff set to 0.001
0: INFO: +options_dontRenderImage set to false
0: INFO: +options_overrideMtl_on set to false
0: INFO: +options_showGIOnly set to false
0: INFO: +options_ray_bias set to 0.002
0: INFO: +options_glossyEffects set to true
0: INFO: +gi_on set to true
0: INFO: +gi_reflectCaustics set to false
0: INFO: +gi_refractCaustics set to true
0: INFO: +gi_saturation set to 1.0
0: INFO: +gi_contrast set to 1.0
0: INFO: +gi_contrast_base set to 0.5
0: INFO: +gi_saveMapsPerFrame set to true
0: INFO: +gi_irradmap_minRate set to -5
0: INFO: +gi_irradmap_maxRate set to -4
0: INFO: +gi_irradmap_subdivs set to 100
0: INFO: +gi_irradmap_interpSamples set to 20
0: INFO: +gi_irradmap_colorThreshold set to 0.3
0: INFO: +gi_irradmap_normalThreshold set to 0.1
0: INFO: +gi_irradmap_distThreshold set to 0.1
0: INFO: +gi_irradmap_blurGI set to 0.0
0: INFO: +gi_irradmap_showCalcPhase set to false
0: INFO: +gi_irradmap_showDirectLight set to false
0: INFO: +gi_irradmap_showSamples set to false
0: INFO: +adv_irradmap_calcInterpSamples set to 15
0: INFO: +adv_irradmap_randomize set to true
0: INFO: +adv_irradmap_checkSampleVisibility set to false
0: INFO: +adv_irradmap_dontDelete set to true
0: INFO: +adv_irradmap_useCurrentPassSamples set to true
0: INFO: +adv_irradmap_autoSave set to false
0: INFO: +adv_irradmap_switchToSavedMap set to false
0: INFO: +photonMap_bounces set to 10
0: INFO: +photonMap_autoDist set to true
0: INFO: +photonMap_searchDist set to 20.0
0: INFO: +photonMap_maxPhotons set to 30
0: INFO: +photonMap_multiplier set to 1.0
0: INFO: +photonMap_maxDensity set to 0.0
0: INFO: +photonMap_convert set to false
0: INFO: +photonMap_interpSamples set to 10
0: INFO: +photonMap_convexHullEstimate set to false
0: INFO: +photonMap_storeDirectLight set to true
0: INFO: +photonMap_retraceCorners set to 0.0
0: INFO: +photonMap_retraceBounces set to 10
0: INFO: +photonMap_dontDelete set to true
0: INFO: +photonMap_autoSave set to false
0: INFO: +photonMap_switchToSavedMap set to false
0: INFO: +lightcache_subdivs set to 350
0: INFO: +lightcache_sampleSize set to 0.02
0: INFO: +lightcache_filter_type set to 1
0: INFO: +lightcache_filter_size set to 0.04
0: INFO: +lightcache_bounces set to 100
0: INFO: +lightcache_showCalcPhase set to 0
0: INFO: +lightcache_storeDirectLight set to 1
0: INFO: +lightcache_scale set to 0
0: INFO: +lightcache_mode set to 0
0: INFO: +lightcache_interpSamples set to 10
0: INFO: +lightcache_prefilter_on set to false
0: INFO: +lightcache_prefilter_samples set to 10
0: INFO: +lightcache_dontDelete set to true
0: INFO: +lightcache_autoSave set to false
0: INFO: +lightcache_switchToSavedMap set to false
0: INFO: +lightcache_useForGlossyRays set to true
0: INFO: +lightcache_numPasses set to 8
0: INFO: +caustics_on set to false
0: INFO: +caustics_multiplier set to 1.0
0: INFO: +caustics_searchDist set to 5.0
0: INFO: +caustics_maxPhotons set to 60
0: INFO: +caustics_maxDensity set to 0.0
0: INFO: +caustics_dontDelete set to true
0: INFO: +casutics_autoSave set to false
0: INFO: +caustics_switchToSavedMap set to false
0: INFO: +environment_gi_on set to true
0: INFO: +environment_gi_color set to (color 255 255 255)
0: INFO: +environment_gi_color_multiplier set to 1.0
0: INFO: +environment_gi_map_on set to true
0: INFO: +environment_rr_on set to false
0: INFO: +environment_rr_color set to (color 0 0 0)
0: INFO: +environment_rr_color_multiplier set to 1.0
0: INFO: +environment_rr_map_on set to true
0: INFO: +colorMapping_type set to 0
0: INFO: +colorMapping_darkMult set to 1.0
0: INFO: +colorMapping_brightMult set to 1.0
0: INFO: +colorMapping_affectBackground set to true
0: INFO: +colorMapping_clampOutput set to false
0: INFO: +camera_type set to 0
0: INFO: +camera_overrideFOV set to false
0: INFO: +camera_fov set to 45.0
0: INFO: +camera_cyl_height set to 400.0
0: INFO: +camera_fish_autoDistance set to true
0: INFO: +camera_fish_distance set to 2.0
0: INFO: +camera_fish_curve set to 1.0
0: INFO: +dof_on set to false
0: INFO: +dof_shutter set to 5.0
0: INFO: +dof_bias set to 0.0
0: INFO: +dof_distance set to 200.0
0: INFO: +dof_getFromCamera set to false
0: INFO: +dof_sides_on set to false
0: INFO: +dof_sides_num set to 5
0: INFO: +dof_sides_rotation set to 0.0
0: INFO: +dof_anisotropy set to 0.0
0: INFO: +dof_subdivs set to 6
0: INFO: +moblur_on set to false
0: INFO: +moblur_duration set to 1.0
0: INFO: +moblur_intervalCenter set to 0.5
0: INFO: +moblur_bias set to 0.0
0: INFO: +moblur_prepassSamples set to 1
0: INFO: +moblur_geometryParticles set to false
0: INFO: +moblur_geomSamples set to 2
0: INFO: +dmc_earlyTermination_amount set to 0.95
0: INFO: +dmc_earlyTermination_threshold set to 0.01
0: INFO: +dmc_timeDependent set to true
0: INFO: +dmc_earlyTermination_minSamples set to 6
0: INFO: +dmc_subdivs_mult set to 1.0
0: INFO: +displacement_overrideMax set to true
0: INFO: +displacement_edgeLength set to 4.0
0: INFO: +displacement_viewDependent set to true
0: INFO: +displacement_maxSubdivs set to 256
0: INFO: +displacement_tightBounds set to true
0: INFO: +displacement_amount set to 1.0
0: INFO: +displacement_relative set to true
0: INFO: +system_raycaster_maxLevels set to 80
0: INFO: +system_raycaster_minLeafSize set to 0.0
0: INFO: +system_raycaster_faceLevelCoeff set to 1.0
0: INFO: +system_region_x set to 32
0: INFO: +system_region_y set to 32
0: INFO: +system_region_meaning set to 0
0: INFO: +system_region_sequence set to 4
0: INFO: +system_region_sequence_reverse set to 0
0: INFO: +system_previousRender set to 0
0: INFO: +system_frameStamp_on set to false
0: INFO: +system_frameStamp_string set to V-Ray %vrayversion | file: %filename | frame: %frame | primitives: %primitives | render time: %rendertime
0: INFO: +system_frameStamp_fullWidth set to true
0: INFO: +system_frameStamp_justify set to 0
0: INFO: +system_workInCameraSpace set to false
0: INFO: +system_instancedObjects set to 2
0: INFO: +system_checkForMissingFiles set to false
0: INFO: +system_optimizedAtmospherics set to false
0: INFO: +system_lowThreadPriority set to false
0: INFO: +system_vrayLog_show set to true
0: INFO: +system_vrayLog_level set to 2
0: INFO: +system_raycaster_memLimit set to 4000
0: INFO: +system_vrayLog_file set to c:\VRayLog.txt
0: INFO: +Image Sampler set to Fixed Rate
0: INFO: +Primary Bounces GI Engine set to Irradiance Map
0: INFO: +Primary Secondary GI Engine set to Light Cache
0: INFO: +Adv.Irradiance Map Interpolation Type set to Least squares fit (good/smooth)
0: INFO: +Adv.Irradiance Map Sample Lookup set to Density-based (best)
0: INFO: +Adv.Irradiance Map Mode set to Single Frame
0: INFO: +Region Sequence set to Triangulation
0: INFO: +Frame Stamp Justify set to Left
0: INFO: >Performing XREF workaround…
0: INFO: >Scanning Renderer Paths…
0: INFO: >Done Scanning Renderer Paths.
0: Plugin rendering frame(s): 0
0: INFO: Render Tasks called
0: INFO: Lightning: Render frame 0
0: INFO: Lightning: Overriding save file option to 0
0: INFO: Lightning: Rendering frame C:\ProgramData\Prime Focus\deadline\temp\temp_filename77190000.bmp
0: INFO: Lightning: Setting up render parameters
0: INFO: Lightning: Rendering viewport
0: INFO: Lightning: Opening renderer
0: INFO: Lightning: Multipass disabled
0: INFO: Lightning: Rendering 0 passes
0: INFO: Lightning: Checking output paths
0: INFO: Lightning: Checking default actions
0: INFO: Lightning: TYPE_MISSING_EXTERNAL_FILES = IGNORE
0: INFO: Lightning: TYPE_MISSING_UVWS = IGNORE
0: INFO: Lightning: TYPE_MISSING_DLL_FILES = FAIL
0: INFO: Lightning: TYPE_MISSING_XREF_FILES = IGNORE
0: INFO: Lightning: Calling renderer
0: INFO: Preparing tone operator.
0: INFO: Preparing camera sampler…
0: INFO: Preparing objects
0: INFO: Loading bitmaps…
0: INFO: Loading bitmaps (01 - Default)
0: INFO: Loading bitmaps (Overide)
0: INFO: Loading bitmaps (Overide): done [00:00:00.0]
0: INFO: Updating objects
0: INFO: Updating object (Sphere01)
0: INFO: Updating object (Sphere02)
0: INFO: Updating object (Sphere03)
0: INFO: Updating object (Sphere04)
0: INFO: Updating object (Sphere04): done [00:00:00.0]
0: INFO: Updating instances
0: INFO: Updating instances (Sphere01)
0: INFO: Updating instances (Sphere02)
0: INFO: Updating instances (Sphere03)
0: INFO: Updating instances (Sphere04)
0: INFO: Updating instances (Sphere04): done [00:00:00.0]
0: INFO: Preparing lights
0: INFO: Preparing lights
0: INFO: Preparing lights: done [00:00:00.0]
0: INFO: Preparing atmospherics
0: INFO: Preparing render effects
0: INFO: Compiling scene geometry
0: INFO: Compiling geometry (Sphere01)
0: INFO: Compiling geometry (Sphere02)
0: INFO: Compiling geometry (Sphere03)
0: INFO: Compiling geometry (Sphere04)
0: INFO: Compiling geometry (Sphere04): done [00:00:00.0]
0: INFO: Preparing ray server…
0: INFO: Building static raycast accelerator…
0: INFO: Building static raycast accelerator…: done [00:00:00.0]
0: INFO: Building motion blur raycast accelerator…
0: INFO: Preparing direct light manager…
0: INFO: Preparing global light manager…
0: INFO: Building light cache…
0: INFO: Building light cache…: done [00:00:00.1]
0: INFO: Merging light cache passes…
0: INFO: Merging light cache passes…: done [00:00:00.0]
0: INFO: Prefiltering light cache…
0: INFO: Prefiltering light cache…: done [00:00:00.0]
0: INFO: Prepass 1 of 2…
0: INFO: Prepass 1 of 2…: done [00:00:00.0]
0: INFO: Prepass 2 of 2…
0: INFO: Prepass 2 of 2…: done [00:00:00.0]
0: INFO: Lightning: CallCurRendererRenderFrame returned code 1
0: INFO: Lightning: Render done
0: INFO: Lightning: Checking render elements

Log Details:

Log Date/Time = Mar 29/11 14:40:52
Frames = 0-0
Slave Machine = ******
Slave Version = v4.1.0.42706 R
Plugin Name = 3dsmax



Thanks! That’s very helpful, as it confirms my suspicions.

I’m not sure which version of Deadline you’re using, so to make things simple, can you just send me the following file:

\your\repository\submission\3dsmax\SubmitMaxToDeadline_Functions.ms

I’ll make the changes I think are necessary and send them to you to test. Once we’ve confirmed everything works as expected, we’ll roll those changes into the current Deadline 5.0 beta so that the bug is fixed in the next release.

Thanks!

  • Ryan

Perfect, we’re on Slave Version = v4.1.0.42706 R

I can send file tomorrow, but I’m just leaving for meeting.

Would be great to get it working.

Hi Ryan, did you still need me to send you the script, or was just the version number ok?

Attached the file!

Thanks

Here’s an updated script that should resolve this issue. The following changes have been made:

  1. When rendering to vray raw image or multilayered exr, Deadline no longer enables the Ignore Render Elements option (this can be found under the Render tab in the submitter).
  2. When rendering to vray raw image or multilayered exr, Deadline no longer clears the Render Element output paths.

To install, first backup your existing SubmitMaxToDeadline_Functions.ms file in \your\repository\submission\3dsmax so that you have a rollback option. Then unzip the attached file to the same folder.

Let us know if this helps!

Thanks Ryan,

Done some quick tests here with the new ms in place.

When you have the save for .exr and split RE turned on, the exr saves, but still not the RE’s. The output paths do now stay and not get wiped.

If we turn off the exr save, the RE’s do save, but only if we add the save locations to each one. It fails as before if the location is blank.

Is there a way for deadline to get the save location from the split elements save section, and is it possible to get the exr to save as well as the RE’s?

Thanks,
Mark

Can you post a simple scene (just some geometry and a camera) that has the save for .exr and split RE turned on? We must be missing something.

Thanks!

  • Ryan

testfile4ryan.zip (25.7 KB)

Here is the test file we’re using to see if it’ll work, just 4 balls! But with the exr and split RE turned on.

Thanks for the test scene. I was able to reproduce the problem, and I think the only way to workaround it at the moment is to define max render elements, since Deadline doesn’t hook into vray’s elements. We’ll see if we can find a fix for the next release.

Sorry for the inconvenience.

  • Ryan

Ok, thanks for trying Ryan.

For now we’ll fill in the output locations for each. Is the issue with saving both exr and split RE going to be fixable?

Mark

Hopefully. We haven’t dug too deep yet to know for sure, but I imagine it is.

Cheers,

  • Ryan

Cool. We can get round this for the time being with a batch script in After effects or something similar, but I’ll not waste the time if 5.0 is due soon. +/- 1 month?!

That’s the plan, so hopefully we can (A) figure out the problem and (B) fix it in time for 5.0’s release.

Here is an updated submission script that should fix the problem.

In earlier versions of vray, we had to disable the vray frame buffer during submission to workaround some problems, but it doesn’t appear like this is necessary anymore. The split REs weren’t getting saved because the vray frame buffer wasn’t enabled when the job rendered through Deadline. So the following changes have been made:

  1. Vray frame buffer is never disabled by Deadline
  2. If the Vray frame buffer is enabled, Deadline will not show the Max frame buffer.

Give it a try and let me know if it helps.

Cheers,

Privacy | Site terms | Cookie preferences