Notifications
Clear all

[Closed] render RPF channels not working correctly in Max2008?

Hi,
Does anyone know of any issue which stop optional channels in RPF files from not being outputted when in backburner network rendering mode, even thought in the Render Scene Dialog they have been declared as per the array below, “request_channels”?

Something like:

request_channels = #(#zDepth, #matID, #objectID, #node, #velocity)
bmp_out = bitmap 960 430 channels:request_channels
bmp_out.filename = ((theOutPath)+(theBaseName)+(leadzero i) + i as string +(theOutType))
render camera:new_cam frame:(world_time) channels:request_channels to:bmp_out
save bmp_out
close bmp_out

Has Autodesk Max2008x64 got a bug with RPF channels, when in MAXScript?

Mike

4 Replies

how are you using that script in a network render? the script seems to call render() itself and takes the requested channels as the argument for that render call… it doesn’t change the channels requested globally, nor which ones get saved (which is entirely up to the RPF plugin itself).

Yes, its a network MAXScript job through Deadline.
So, I’m using the script to actually execute the render.
Locally, it works fine in the 3dsMax GUI, but in network mode, even when 3dsMax is in “workstation mode” (ie: pulling a licence and in full GUI mode), it does not work.
I think you might be on to something with the RPF plugin. For the purposes of this example, I just hard-wired the array, containing the channels. But in reality it pulls this information from Custom appdata from within the actual 3dsMax file.
Could you explain further your previous reply about ‘global’ RPF plugin settings…?
Thx,
M

Mike,

Check out the RPF : BitmapIO topic in the MAXScript Reference.
You might have to set the desired options in the RPF.
When you define the file type in the script to be RPF, Max will create an instance of the RPF BitmapIO class and set it to its local defaults (the last settings used on the machine). So if your workstation was set to save some channels but the slave was not, you would get different output. The render() method simply requests the channels to get rendered as Richard explained, it does not say anything about whether they should get saved which is up to the IO plugin.

[color=white]
[/color]

Thanks Bobo.
Spot on, that fixed the problem and I also learnt something new today
Mike