Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: mitviz on 2015-11-06, 05:13:22

Title: adding some shortcut buttons
Post by: mitviz on 2015-11-06, 05:13:22
is there is away to put the VFB in the right click context menu or just make a toolbar somewhere with it?
Title: Re: adding some shortcut buttons
Post by: Ondra on 2015-11-06, 10:19:06
You need a macroscript that will call CoronaRenderer.CoronaFp.showVfb(true)

https://corona-renderer.com/wiki/maxscript
Title: Re: adding some shortcut buttons
Post by: Frood on 2015-11-06, 10:22:24
As Ondra posted (while I was typing) basically it´s a one-liner:

CoronaRenderer.CoronaFp.showVfb(true)

To very quickly create a button:

1. Open MaxScript listener
2. Paste that line
3. Mark the line in the listener window
4. Drag to a Toolbar, done.

But also have a look at this:

https://forum.corona-renderer.com/index.php/topic,8930.0.html

The show vfb button in this toolbar does further checks (also checks for current renderer and some more)

Good Luck!

Title: Re: adding some shortcut buttons
Post by: mitviz on 2015-11-06, 13:20:07
Just awesome!!!!! Thanks guys