Scattering primitives of a mesh
1908 7 1- YasinH
- Member
- 55 posts
- Joined: April 2019
- Offline
- protozoan
- Member
- 1607 posts
- Joined: March 2009
- Offline
“Simple” is super hard to define.
In the old world, where copy stamps would still be allowed, one could simply scatter points onto the grid (the same amount as primitives to be scattered), copy the geometry onto the points and then stamp the input to delete anything but the actual primitive and move it to the origin before the copy, so that every point would just have the respective primitive copied onto it.
Nowadays some places ban them, because stamps cannot be compiled and are thus slow, so you would need to do it differently.
Are they still allowed in your workflow?
In the old world, where copy stamps would still be allowed, one could simply scatter points onto the grid (the same amount as primitives to be scattered), copy the geometry onto the points and then stamp the input to delete anything but the actual primitive and move it to the origin before the copy, so that every point would just have the respective primitive copied onto it.
Nowadays some places ban them, because stamps cannot be compiled and are thus slow, so you would need to do it differently.
Are they still allowed in your workflow?
Edited by protozoan - May 5, 2019 08:14:12
Martin Winkler
money man at Alarmstart Germany
money man at Alarmstart Germany
- YasinH
- Member
- 55 posts
- Joined: April 2019
- Offline
Yeah I noticed copy stamps are not recommended, so I didn't pursue that route. Instead I saw this post [forums.odforce.net] which seems pretty intuitive. For now i'm manually connecting 6 groups (since i have 6 primitives in the example) to the switch node and it's working well, but I wonder how I can automate the random switching of primitives without having to plug them one by one to the switch node. Any thoughts?
- PaQ WaK
- Member
- 89 posts
- Joined: Jan. 2015
- Offline
- Midphase
- Member
- 833 posts
- Joined: Jan. 2018
- Offline
Look into MOPs, they might have something that you can use to accomplish what you need:
https://www.motionoperators.com [www.motionoperators.com]
https://www.motionoperators.com [www.motionoperators.com]
>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
- YasinH
- Member
- 55 posts
- Joined: April 2019
- Offline
PaQ WaKThis is pretty much what I was looking for. The expression on the blast node is doing the trick. Appreciated!
I would create an modulo ID based on the ptnum, and blast/copy the primitives on the points according to this @ID.
Not sure if it's the best approach, I'm already happy when things are working :O)
MidphaseThat looks interesting. I will check them out.
Look into MOPs, they might have something that you can use to accomplish what you need:
https://www.motionoperators.com [www.motionoperators.com]
- BabaJ
- Member
- 2024 posts
- Joined: Sept. 2015
- Offline
- YasinH
- Member
- 55 posts
- Joined: April 2019
- Offline
-
- Quick Links