Author Topic: Switching VFB Script?  (Read 167 times)

2024-04-12, 11:30:35

acrobaticpoly

  • Active Users
  • **
  • Posts: 29
    • View Profile
    • AcrobaticPoly
Hi guys,
Hopefully this is a quick one!
 
Does anyone know of a way to create a script that switches the VFB from the Native 3DS Max VFB to Coronas? We're using Connecter to produce preview images but when we do, it switches to the Native VFB for some reason. To switch back we need to go to Render Settings > Switch tab > System Settings > Native to Corona. I would like to create a button with this script to save us from having to do this.

Would be greatly appreciated!
Website: www.acrobaticpoly.com
Photos: https://vsco.co/egyptianblue/gallery
"I am out with lanterns, looking for myself."

2024-04-12, 11:39:27
Reply #1

Frood

  • Active Users
  • **
  • Posts: 1922
    • View Profile
    • Rakete GmbH
Hi, try

Code: [Select]
if classof renderers.current == Corona do renderers.current.vfb_type=2

0: none
1: 3ds Max VFB
2: Corona VFB


Good Luck



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

2024-04-12, 13:42:14
Reply #2

acrobaticpoly

  • Active Users
  • **
  • Posts: 29
    • View Profile
    • AcrobaticPoly
Thank you very much Frood!
This worked a treat - I owe you a coffee!
Website: www.acrobaticpoly.com
Photos: https://vsco.co/egyptianblue/gallery
"I am out with lanterns, looking for myself."