Page 1 of 1

OSL random textures for instances

Posted: Mon Sep 03, 2018 5:09 am
by enricocerica
Hi,
Any tip to generate random textures with OSL to be applied on instances ?
Thanks

Re: OSL random textures for instances

Posted: Mon Sep 03, 2018 10:15 am
by bepeg4d
Hi Enrico,
have a look here:
viewtopic.php?f=73&t=53839&start=40#p342189
ciao Beppe

Re: OSL random textures for instances

Posted: Mon Sep 03, 2018 10:41 am
by enricocerica
bepeg4d wrote:Hi Enrico,
have a look here:
viewtopic.php?f=73&t=53839&start=40#p342189
ciao Beppe
Thanks Beppe, it seems to match my expectations ;)
Will have a look to that.

Re: OSL random textures for instances

Posted: Mon Sep 03, 2018 2:39 pm
by enricocerica
Tried with the two scripts and I meet issues with Oct 4.00 RC2

Texture Scatter.lua : I get the message "[string "Scripted graph"]:19: attempt to index a nil value (field 'gui')" when I load the script ...

random scatter graph.lua : crashes each time I set a filename texture ...

Any idea ?
Thanks