Script request to refresh scatter nodes

Forum for OctaneRender Lua scripting examples, discussion and support.
User avatar
pixelrush
Licensed Customer
Posts: 1618
Joined: Mon Jan 11, 2010 7:11 pm
Location: Nelson, New Zealand

This is an ingenious plan to acquaint the artist users with the difficulties of coding.
Once you have struggled with scripting yourself you never complain about the bugs or lack of progress in Octane again.
Of course another way to look at it is that its a subtle message that if you really really want something you can go do it yourself.
We may have the last laugh though because if we succeed they are all redundant. :P
i7-3820 @4.3Ghz | 24gb | Win7pro-64
GTS 250 display + 2 x GTX 780 cuda| driver 331.65
Octane v1.55
User avatar
stratified
OctaneRender Team
Posts: 945
Joined: Wed Aug 15, 2012 6:32 am
Location: Auckland, New Zealand

yep, you got us all figured out ;)

cheers,
Thomas
oscartung
Licensed Customer
Posts: 64
Joined: Wed May 21, 2014 5:33 pm

is this script still working for the latest version?
i get the following script error
Attachments
2019-07-21 16_02_47-_Unsaved project - OctaneRender 4.02.1.png
User avatar
bepeg4d
Octane Guru
Posts: 10340
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
very old script and discussion, you need to change the last line in the following way, to make it works again with latest Octane’s versions:

Code: Select all

updateItem(octane.project.getSceneGraph(), octane.NT_GEO_SCATTER, reloadScatter)
ciao Beppe
Post Reply

Return to “Lua Scripting”