Page 1 of 1
Useful third-party CFG files
Posted: Tue Feb 28, 2023 10:47 pm
by face_off
Hi
This thread lists useful CFG files that have been created and shared by users. Please post any contributions here, and I will add them to the list.
Modo Form Presets for Octane Metallic Material by kHellstr ->
https://ko-fi.com/s/171cf3baa0 (video ->
https://youtu.be/RfFxILUHVzE)
Thanks
Paul
Re: Useful third-party CFG files
Posted: Fri Mar 03, 2023 1:48 am
by Vaughan
Love these Presets!
Re: Useful third-party CFG files
Posted: Wed Oct 25, 2023 1:08 am
by face_off
Octane Pause/Resume toggle....thanks to Christian for this one.
1) Make a folder called lxserv in /Luxology/Scripts/ unless you already got one
2) Add octane_rendertoggle.py (below) to this new folder
Code: Select all
#python
import lx
import lxifc
import lxu.command
import modo
import random
g_currentState = False #Ben Halling did all the real work
class ToggleCmd(lxu.command.BasicCommand):
def __init__(self):
lxu.command.BasicCommand.__init__(self)
self.dyna_Add("on", lx.symbol.sTYPE_BOOLEAN)
self.basic_SetFlags(0, lx.symbol.fCMDARG_QUERY)
def basic_CmdFlags(self):
return lx.symbol.fCMD_UNDO;
def cmd_Query(self, index, vaQuery):
va = lx.object.ValueArray(vaQuery)
va.set(vaQuery)
va.Reset()
global g_currentState
va.AddInt(g_currentState)
def basic_Execute(self, msg, flags):
global g_currentState
g_currentState = self.dyna_Int(0)
if (g_currentState):
lx.eval("octane.resume")
else:
lx.eval("octane.pause")
lx.bless(ToggleCmd, "qa.cmds.toggleExample")
3) Then map to a key