Forum

#1 2015-12-03 11:40:50

sri506
New member

material creation through Lua

Dear Ben,

      How to create material inside render graph through lua script.
      How to make union with  existing surface material using  lua.

Thanks & Regrads,
srinivas

Last edited by sri506 (2015-12-03 11:41:29)

Offline

 

#2 2015-12-07 10:08:27

Ben
Guerilla dev, the guy to hug

Re: material creation through Lua

Hi Srinivas,

You can activate the Commands Echo (menu View > Commands Echo), this will show you as a Lua script the result of your actions in the GUI, in the console (View > Show/Hide Console)

Cheers,
Ben


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

#3 2015-12-08 07:50:20

sri506
New member

Re: material creation through Lua

Dear Ben,

   Thanks for your support, i know that procedure but if it is done throughany other way(i mean, through Lua SDK/Python SDK).

Thanks &Regards,
Srinivas

Offline

 

#4 2015-12-08 10:35:23

Ben
Guerilla dev, the guy to hug

Re: material creation through Lua

Hi Srinivas,

The commands echo outputs script bits matching the Lua SDK. I encourage you to examine these.
Also, you can check the Python SDK examples : http://guerillarender.com/doc/1.4/Pytho … index.html

Cheers,
Ben


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB