peaks Posted July 8, 2020 Share Posted July 8, 2020 Hey everyone, Houdini rookie here. I have a setup with a bunch of geo-nodes - all of them have copytopoints- & scatter- nodes, scatting spheres on a surface of an object. To create some kind of randomness, I'm using "$F" or "rand($F)..." at the Global Seed Parameter or Force total count of the scatter-node. For my final setup I would like to replace them with a global variable(?) instead of the "$F", so my created object wont change while the timeline is playing, only when I change the value of that variable. Is something like this possible? To break it down, I need some kind of global variable, which all of my geo-nodes have access too, so I can change the randomness inside of my nodes only when I change the paramenter of the "global-variable". Quote Link to comment Share on other sites More sharing options...
toadstorm Posted July 8, 2020 Share Posted July 8, 2020 The most straightforward way to do this would be to create a parameter on some node and then reference that parameter value in place of $F. For example, rand(ch("/obj/null1/parm")). Quote Link to comment Share on other sites More sharing options...
anim Posted July 8, 2020 Share Posted July 8, 2020 you can also literally create a global variable in Aliases&Variables dialog (Alt+Shift+V) 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.