[Closed] Set output file for render
Hello.
Context:
3dsMax (2014-2015-2016) + VRay Adv 2.4x or 3.0x
Test:
-
Create new empty Scene
-
Select VRay Adv
-
Execute:
renderers.current.output_on = true
renderers.current.output_useram = true
renderers.current.output_saveRawFile = false
renderers.current.output_splitgbuffer = true
renderers.current.output_splitRGB = true
renderers.current.output_splitAlpha = true
renderers.current.output_genpreview = true
renderers.current.output_splitfilename = “C:\ emp\ est.jpg”
pngio.setType #true24
pngio.setAlpha true
pngio.setInterlaced false -
Try to render
press “render” or execute “max quick render” -
The result file does not appear – It is the first question.
-
Once again set the same file manually.
-
Try to render
and file is appear now -
Execute:
renderers.current.output_splitfilename = “C:\ emp\ est.png” -
Try to render
-
and a window appears with
title=“PNG Plugin”
message=“PNG Library Internal Error”
- It is the second question.
I accept any advice
Thanks.
Could this be related?:
[left]
Changing the render scene dialog settings via MAXScript should be done with the actual render scene dialog in a closed state. Leaving the dialog open will make the attempted MAXScript modifications non-sticky.
[/left]
I remember not long ago somone added something about it…
see in maxscript ::index ::render scene dialog
renderSceneDialog.update()
If Render Scene dialog is open, it is updated to show the changes made to it. No arguments.
renderSceneDialog.commit()
If Render Scene dialog is open, the dialog remains open, but changes made in the dialog are accepted. No arguments.
Thank you for your answers.
We found the solution – output_splitbitmap must be “initialized”.
http://forums.cgsociety.org/archive/index.php/t-830811.html