Author Topic: Showvfb maxscript  (Read 1461 times)

2020-01-24, 10:37:41

CropCirc1e

  • Users
  • *
  • Posts: 4
    • View Profile
Hi all,

It would be great if there was a parameter for whether the VFB is on or not because at the moment the CoronaRenderer.CoronaFp.showVfb can only be used to open the VFB.  I would like to be able to toggle this - at the moment I have a keyboard shortcut to open the VFB and I would like to be able to use the same keyboard shortcut to close it too.  Is this possible?

Thanks,
Park

2020-01-24, 10:42:00
Reply #1

mike288

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 353
  • Michal 'Mike' Wirth
    • View Profile
The showVfb() function accepts bool parameter selecting whether VFB should be actually showed or closed (see https://corona-renderer.com/wiki/maxscript for details). It does not work?
Chaos Scatter developer | In case of crash, please send minidump | Private uploader: https://corona-renderer.com/upload

2020-01-24, 10:46:26
Reply #2

CropCirc1e

  • Users
  • *
  • Posts: 4
    • View Profile
Hi,

I am not experienced with maxscript at all but in the listener it returns 0 whether the VFB is open or closed.  The boolean parameter works to open or close it but how would I implement this in a script that would allow me to use the same keyboard shortcut to toggle the VFB?

Thanks,
Park

2020-01-24, 11:18:00
Reply #3

Frood

  • Active Users
  • **
  • Posts: 1902
    • View Profile
    • Rakete GmbH
It does not work?

The issue here is, that you cannot query the state. Also see

https://forum.corona-renderer.com/index.php?topic=25658.0

Give us tools to create tools please.

Good Luck
Never underestimate the power of a well placed level one spell.

2020-01-27, 10:53:08
Reply #4

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

I've logged this in our tracker and will discuss it with the devs.

Cheers,

Rowan

(Internal ID=450890423)
Please read this before reporting bugs: How to report issues to us!
Send me your scene!