Author Topic: Corona Renderer interfaces inaccessible?  (Read 1205 times)

2016-10-26, 10:28:54

loocas

  • Active Users
  • **
  • Posts: 90
    • View Profile
Hi there,

just a question, I want to quickly access the Corona's VFB, so, I need to reach it via MAXScript.

I found it under interfaces, namely CoronaFp interface, but it seems the interface is inaccessible? How come?

Here's my simple inspection code:

Code: [Select]
getInterfaces renderers.current
#()
showInterfaces renderers.current
  Interface: CoronaFpTest
   Properties:
   Methods:
    <void>dummy()
   Actions:
  Interface: CoronaFp
   Properties:
   Methods:
    <integer>showVfb <boolean>show
    <integer>resumeRender()
    <integer>loadAndResume <string>exrFilename
    <integer>dumpVfb <string>exrFilename
    <integer>parseViewexp_INTERNAL <maxObject>viewExp <maxObject>outCamera
    <integer>setDisplayedChannel <integer>channel
    <value>getVfbContent <integer>channel <boolean>toneMapping <boolean>renderStamp
    <integer>resetSettings()
    <integer>exportScene <string>filename <boolean>renderImmediately
    <string>getCoronaVersion()
    <double>getStatistic <integer>statisticId
    <color by value>getBlackbodyColor <float>temperature
    <integer>loadDrIpFile <string>filename
    <integer>startInteractive()
    <integer>startInteractiveDocked()
    <integer>stopRender()
    <integer>showLicensingPopup()
    <boolean>isRendering()
    <integer>reparseInteractive()
   Actions:
OK

I cannot getInterfaces() on the Corona renderer's object. It shows them, but doesn't return.

Is this a bug? Or a weird feature?

Thanks in advance!

2016-11-10, 20:25:56
Reply #1

loocas

  • Active Users
  • **
  • Posts: 90
    • View Profile

2016-11-11, 12:19:49
Reply #2

Mrshawn

  • Active Users
  • **
  • Posts: 9
    • View Profile
Just do this : CoronaRenderer.CoronaFp.showVfb true

2016-11-11, 17:18:41
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 8921
  • Marcin
    • View Profile
Sorry for the lack of response Loocas! Is Mrshawn's solution enough for you, or are you still experiencing some problems with that?