Page 1 of 1

RTX on/off switch

Posted: Mon Feb 10, 2020 8:09 pm
by rrbarb
Is it possible to turn on/off rtx on a device through sccript?
If so what is switch?
./rrb

Re: RTX on/off switch

Posted: Wed Feb 26, 2020 2:55 pm
by jobigoud
You can get a NT_LOCAL_APP_PREFS node from octane.project.getPreferences().

Try the following:

Code: Select all

local useRTX = true

local nodePrefs = octane.project.getPreferences()
nodePrefs:setAttribute(octane.attributeId.A_USE_RTX_BACKEND, useRTX, true)

Re: RTX on/off switch

Posted: Sat Mar 07, 2020 1:07 pm
by rrbarb
I will give this a go. ThankYou!
./rrb