Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: loocas on 2016-10-26, 10:28:54

Title: Corona Renderer interfaces inaccessible?
Post by: loocas on 2016-10-26, 10:28:54
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!
Title: Re: Corona Renderer interfaces inaccessible?
Post by: loocas on 2016-11-10, 20:25:56
Um... anyone? Devs?
Title: Re: Corona Renderer interfaces inaccessible?
Post by: Mrshawn on 2016-11-11, 12:19:49
Just do this : CoronaRenderer.CoronaFp.showVfb true
Title: Re: Corona Renderer interfaces inaccessible?
Post by: maru on 2016-11-11, 17:18:41
Sorry for the lack of response Loocas! Is Mrshawn's solution enough for you, or are you still experiencing some problems with that?