Script request to refresh scatter nodes

Forums: Script request to refresh scatter nodes
Forum for OctaneRender Lua scripting examples, discussion and support.

Re: Script request to refresh scatter nodes

Postby pixelrush » Sat Dec 21, 2013 6:00 am

pixelrush Sat Dec 21, 2013 6:00 am
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
pixelrush
Licensed Customer
Licensed Customer
 
Posts: 1618
Joined: Mon Jan 11, 2010 7:11 pm
Location: Nelson, New Zealand

Re: Script request to refresh scatter nodes

Postby stratified » Sat Dec 21, 2013 7:02 am

stratified Sat Dec 21, 2013 7:02 am
yep, you got us all figured out ;)

cheers,
Thomas
User avatar
stratified
OctaneRender Team
OctaneRender Team
 
Posts: 945
Joined: Wed Aug 15, 2012 6:32 am
Location: Auckland, New Zealand

Re: Script request to refresh scatter nodes

Postby oscartung » Sun Jul 21, 2019 8:03 am

oscartung Sun Jul 21, 2019 8:03 am
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
oscartung
Licensed Customer
Licensed Customer
 
Posts: 62
Joined: Wed May 21, 2014 5:33 pm

Re: Script request to refresh scatter nodes

Postby bepeg4d » Sun Jul 21, 2019 3:53 pm

bepeg4d Sun Jul 21, 2019 3:53 pm
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
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 6578
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Previous

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 2 guests

Sun Sep 15, 2019 9:48 am [ UTC ]