Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: cecofuli on 2013-08-30, 17:54:09
-
As we know, Ondra published it as function. We can now display VFB window in maxscript with: CoronaRenderer.showVfb()
Unfortunately, my knowledge as MAXScript is = 0
So, is there someone who can help us? =)
Thanks!
-
Hello Francesco,
What it means to display the VFB in MAXScript ?
Ie you can save the image in script format ?
-
or to save the scene in script format ?
-
CoronaRenderer.CoronaFp.showVfb()
-
how i can create a script to put a buitton on workflow max? with VFB opneing button
-
Unfortunately, I don't know. Sorry
-
macroScript ShowVfb
category: "Corona Renderer"
(
CoronaRenderer.CoronaFp.showVfb()
)
Save this as a .mcr and put it into the C:\Users\YOURUSERNAME\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU\usermacros . Restart max and you will find it in the "Corona Renderer" category :)
-
Off.. thanks so much!!!
-
Hi, everyone!
It seems that in daily builds "CoronaRenderer.CoronaFp.showVfb()" is not working any more... Could anyone help me with that?
-
macroScript ShowVfb
category: "Corona Renderer"
(
CoronaRenderer.CoronaFp.showVfb true -- true=show/false=hide
)
But function don't usability, because not perhaps get current state of VFB. I see it's so:
function shall return bool-value
and then script will be such
CoronaRenderer.CoronaFp.showVfb() = !CoronaRenderer.CoronaFp.showVfb()
This code is simply and maximal usable, press one - show, press again - hide.
-
Thanx a lot! It helped
-
Sorry for my stupidity, but I just can't find out why max is throwing an error after these lines :
renderers.current.progressive_passLimit = 20
Render outputfile:"C:\\tmpRender.png" vfb: off
-
I can“t get this to work, I only get an error (see attached image).
Any help is appreciated :)
-
macroScript ShowVfb
category: "Corona Renderer"
(
CoronaRenderer.CoronaFp.showVfb true -- true=show/false=hide
)
This one will do ;)
-
CoronaRenderer.CoronaFp.showVfb(true)
this seems to work
-
Thank you DeadClown and Maru! It works now :)