max 8 with vray to exr format

I'm trying to save out exr format rendering max 8 files with vray through deadline and keep getting the following error:

Error in bm->OpenOutput(): error code 12

 

any idea what causes this.  I tried a few different exr options but it always gave the same error.

 

V Miller

eyeballnyc

In the 3ds Max SDK, this error code is called BMMRES_INTERNALERROR. Not much can be gleaned from that, though. Does the error say anything more than what you’ve copied?



-Mark

Mark,

Here is the full error as reported by deadline when it fails on saving the exr format.  I tried several different compression types for the exr but that made no difference.  I can save out hdr format but I'd like to have the exr's alpha channel

 

Error in bm->OpenOutput(): error code 12
2006/09/29 17:18:15 INF: Loaded c:/deadline/slave/jobsData/OfficeAssemblymigrate_to-1-5_29_justwalls.max
2006/09/29 17:18:18 INF: Job: c:/deadline/slave/jobsData/OfficeAssemblymigrate_to-1-5_29_justwalls.max


Slave Log
afSize set to 0.0
0: STDOUT: +system_raycaster_faceLevelCoeff set to 2.0
0: STDOUT: +system_region_x set to 64
0: STDOUT: +system_region_y set to 64
0: STDOUT: +system_region_meaning set to 0
0: STDOUT: +system_region_sequence set to 4
0: STDOUT: +system_region_sequence_reverse set to 0
0: STDOUT: +system_previousRender set to 0
0: STDOUT: +system_frameStamp_on set to false
0: STDOUT: +system_frameStamp_string set to VRay %vrayversion | file: %filename | frame: %frame | primitives: %primitives | render time: %rendertime
0: STDOUT: +system_frameStamp_fullWidth set to true
0: STDOUT: +system_frameStamp_justify set to 72298268
0: STDOUT: +system_workInCameraSpace set to true
0: STDOUT: +system_instancedObjects set to 0
0: STDOUT: +system_checkForMissingFiles set to false
0: STDOUT: +system_optimizedAtmospherics set to false
0: STDOUT: +system_lowThreadPriority set to false
0: STDOUT: +system_vrayLog_show set to true
0: STDOUT: +system_vrayLog_level set to 3
0: STDOUT: +system_raycaster_memLimit set to 1200
0: STDOUT: +system_vrayLog_file set to c:\VRayLog.txt
0: STDOUT: +Image Sampler set to Fixed Rate
0: STDOUT: +Primary Bounces GI Engine set to Irradiance Map
0: STDOUT: +Primary Secondary GI Engine set to Light Cache
0: STDOUT: +Adv.Irradiance Map Interpolation Type set to Least squares fit (good/smooth)
0: STDOUT: +Adv.Irradiance Map Sample Lookup set to Density-based (best)
0: STDOUT: +Adv.Irradiance Map Mode set to Multiframe Incremental
0: STDOUT: +Region Sequence set to Triangulation
0: Plugin rendering frame(s): 2
---- September 29 2006 -- 05:19 PM ----
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Error in bm->OpenOutput(): error code 12
2006/09/29 17:18:15 INF: Loaded c:/deadline/slave/jobsData/OfficeAssemblymigrate_to-1-5_29_justwalls.max
2006/09/29 17:18:18 INF: Job: c:/deadline/slave/jobsData/OfficeAssemblymigrate_to-1-5_29_justwalls.max

Error Type
RenderPluginException

Error Stack Trace
at Deadline.Plugins.PluginLoader.RenderTasks(Int32 startTask, Int32 endTask)
at Deadline.Plugins.PluginLoader.RenderTask(Int32 task)
at Deadline.Plugins.Plugin.RenderTask(Int32 frame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

any news on this issue?

 

V Miller

eyeballnyc

any news on this issue?

 

V Miller

eyeballnyc

It seems that there may be problems with the output of a few file formats from Max and from the SDK quote Mark’s posted it sounds like an internal error that we can’t properly interpret. Below is the contents of the “openexr.ini” we use on our network. We choose to set this file to read only as it seem to be the only settings that work consistently. If you would, please try this and let us know if you get the same error.



[ExrDefaultOptions]

UseInternalImportDefaults=TRUE

UseInternalExportDefaults=FALSE

[ExrNetServerParamOverrideOptions]

NetServersUseExportIniFileSettings=TRUE

NetServersUseImportIniFileSettings=FALSE

[ExrImportInternalDefaultParams]

Dflt_StorageType=FLOAT32

Dflt_Exponent=1.000000

Dflt_BlackPoint=0.000000

Dflt_WhitePoint=1.000000

Dflt_RGBLevel=1.000000

Dflt_RGBOffset=0.000000

[ExrExportInternalDefaultParams]

Dflt_RGBABitDepth=HALF

Dflt_SaveRedChannel=TRUE

Dflt_SaveGreenChannel=TRUE

Dflt_SaveBlueChannel=TRUE

Dflt_SaveAlphaChannel=TRUE

Dflt_UseRealPixels=FALSE

Dflt_ApplyColorTransform=FALSE

Dflt_Exponent=1.000000

Dflt_PreMultipliedAlpha=TRUE

Dflt_OverrideFrameNumDigits=FALSE

Dflt_FrameNumDigits=4

Dflt_Compression=ZIP16

Dflt_AddAttr_Comment=FALSE

Dflt_AddAttr_ComputerName=FALSE

Dflt_AddAttr_SystemTime=FALSE

Dflt_AddAttr_LocalTime=FALSE

Dflt_AddAttr_VersionEXR=FALSE

Dflt_AddAttr_Version3dsMax=FALSE

Dflt_AddChan_ZBuffer=FALSE

Dflt_AddChan_ObjectID=FALSE

Dflt_AddChan_MaterialID=FALSE

Dflt_AddChan_RenderID=FALSE

Dflt_AddChan_UV=FALSE

Dflt_AddChan_Velocity=FALSE

Dflt_AddChan_Normal=FALSE

Dflt_AddChan_Coverage=FALSE

[ExrImportParams]

StorageType=FLOAT32

ApplyColorTransform=FALSE

Exponent=1.000000

BlackPoint=0.000000

WhitePoint=1.000000

RGBLevel=1.000000

RGBOffset=0.000000

[ExrExportParams]

RGBABitDepth=HALF

SaveRedChannel=TRUE

SaveGreenChannel=TRUE

SaveBlueChannel=TRUE

SaveAlphaChannel=TRUE

UseRealPixels=FALSE

ApplyColorTransform=FALSE

Exponent=1.0

PreMultipliedAlpha=TRUE

Compression=ZIP16

OverrideFrameNumDigits=FALSE

FrameNumDigits=0

so where should I look for this file.   I can't seem to find it in the deadline directory structure.

 

thanks,

 

Vance Miller

eyeballnyc

That file goes here:



C:\Program Files\Autodesk\3dsMax8\plugcfg\openexr.ini



Or in the analogous location if you’ve installed 3ds Max 8 somewhere else.



-Mark

thanks.

I'll let you know if it works.

 

Vance Miller

eyeballnyc

Mark,

 

I tried the new ini file and I'm getting the same error.  I take it the ini file is supposed to set the defaults for the settings that you have been able to get to work.  So the bitdepth is set to 16 bits per channel and so forth.

 

do you have any other suggestions?

thanks,

 

Vance Miller

eyeballnyc

 

 

Mark,

 

I tried the new ini file and I'm getting the same error.  I take it the ini file is supposed to set the defaults for the settings that you have been able to get to work.  So the bitdepth is set to 16 bits per channel and so forth.

 

do you have any other suggestions?

thanks,

 

Vance Miller

eyeballnyc

 

 

Mark,

 

I tried the new ini file and I'm getting the same error.  I take it the ini file is supposed to set the defaults for the settings that you have been able to get to work.  So the bitdepth is set to 16 bits per channel and so forth.

 

do you have any other suggestions?

thanks,

 

Vance Miller

eyeballnyc

 

 

Would it be possible to send a failing scene file to deadline-support@franticfilms.com? Then we might be able to reproduce your error.



-Mark