itriix Posted July 31, 2009 Share Posted July 31, 2009 (edited) Hello everyone, I've been running some particle sims and to get a denser more even look, i've been duplicating my popnets and simply changing the random seed for each. problem is, if i want to make a change inside of the popnet, i have to reduplicate the popnets and redo the random seeds too... was just curious, is there a way to have a popnet spit out X number of sims, each with their own seed? and then put into a merge node to bring them together? thank you Jonathan Edited July 31, 2009 by itriix Quote Link to comment Share on other sites More sharing options...
anim Posted July 31, 2009 Share Posted July 31, 2009 you can use Wedge ROP to export several sims with different seeds Quote Link to comment Share on other sites More sharing options...
itriix Posted July 31, 2009 Author Share Posted July 31, 2009 Thanks, I was considering the wedge rop, but is there a way to not actually have to "save it out to disk"? so that I can just see the results right away?? Quote Link to comment Share on other sites More sharing options...
pclaes Posted July 31, 2009 Share Posted July 31, 2009 I guess you could save it as a digital asset. Make your changes inside of the asset inside of the popnet, and match all the other assets to the current definition. Quote Link to comment Share on other sites More sharing options...
static Posted July 31, 2009 Share Posted July 31, 2009 (edited) You could also use a python expression to return the last digit in the name, and just copy/paste a whole bunch of networks with a merge sop at the end. Multiply the result by a certain amount to get a wider gap in your seeds. digitsInName(self) → int Return the value of the last set of digits inside the node’s name, or 0 if there are no digits. For example, the result is 102 for a node named geo102, and 34 for a node named light12to34. So if you have a bunch of popNets... just plug 'hou.pwd().digitsInName()*10' in the first one and then copy/paste. If you have any nodes with seed parameters within the network, you can also link them all to the popnet's own seed parameter by plugging in 'ch("../seed")'. Hope this helps. Edited July 31, 2009 by static Quote Link to comment Share on other sites More sharing options...
itriix Posted August 1, 2009 Author Share Posted August 1, 2009 great thanks for the advice... both sound like valid methods! Quote Link to comment Share on other sites More sharing options...
Andy Nicholas Posted August 1, 2009 Share Posted August 1, 2009 You should check out POP Merge as well. It lets you run a specified pop network with a different seed, and even different geometry inputs. Quote Link to comment Share on other sites More sharing options...
pclaes Posted August 1, 2009 Share Posted August 1, 2009 (edited) You could also use a python expression to return the last digit in the name, and just copy/paste a whole bunch of networks with a merge sop at the end. Multiply the result by a certain amount to get a wider gap in your seeds. digitsInName(self) → int Return the value of the last set of digits inside the node’s name, or 0 if there are no digits. For example, the result is 102 for a node named geo102, and 34 for a node named light12to34. So if you have a bunch of popNets... just plug 'hou.pwd().digitsInName()*10' in the first one and then copy/paste. If you have any nodes with seed parameters within the network, you can also link them all to the popnet's own seed parameter by plugging in 'ch("../seed")'. Hope this helps. Or use the opdigits() expression combined with that popmerge (that seems like the easiest solution to me): From the opdigits() exhelp | opdigits("/obj/geo1") = 1 | | opdigits(".") = 1 Edited August 1, 2009 by pclaes Quote Link to comment Share on other sites More sharing options...
itriix Posted August 1, 2009 Author Share Posted August 1, 2009 (edited) fantastic thanks for all the advice many options! Edited August 1, 2009 by itriix Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.