It seems this does not work even though it pretends to.
I want to set vray settings in a 3dsmaxcmd.exe prerender script to be able to submit some special jobs from outside of max.
As a testcase i have a script that turns off final image, turns on gi, sets gi settings. When i filein that script in the gui everything works as expected.
If i run it as a prerender script i do not get my vrmap saved out.
Now to debug i started writing values to a text file. So for example:
format (renderers.current.options_dontRenderImage asstring+"\n") to:f
renderers.current.options_dontRenderImage =true
format (renderers.current.options_dontRenderImage asstring+"\n") to:f
Doing so showed that it seems the corresponding values are changed. as i can see the before/after difference. It seems the settings are ignore though as i am not ending up with my irrmap.
Any ideas?
Cheers,
Thorsten
I want to set vray settings in a 3dsmaxcmd.exe prerender script to be able to submit some special jobs from outside of max.
As a testcase i have a script that turns off final image, turns on gi, sets gi settings. When i filein that script in the gui everything works as expected.
If i run it as a prerender script i do not get my vrmap saved out.
Now to debug i started writing values to a text file. So for example:
format (renderers.current.options_dontRenderImage asstring+"\n") to:f
renderers.current.options_dontRenderImage =true
format (renderers.current.options_dontRenderImage asstring+"\n") to:f
Doing so showed that it seems the corresponding values are changed. as i can see the before/after difference. It seems the settings are ignore though as i am not ending up with my irrmap.
Any ideas?
Cheers,
Thorsten
Comment