Copy Stamp, Reference particle by ID rather than PT?
5385 10 1- timot.mo
- Member
- 23 posts
- Joined: 12月 2015
- Offline
Hi, so I have copy sop on a pop network referencing the sphere. So I put a stamp “Resize” rand($PT)/4 on the uniform scale of the transform node to give variable sizes of the particle sphere.
This works up until the particles die, then there's a random resize popping thing that happens. I know why this is happening, the PT numbers are changing. So is there a way to reference by ID or is there a better way to do this?
This works up until the particles die, then there's a random resize popping thing that happens. I know why this is happening, the PT numbers are changing. So is there a way to reference by ID or is there a better way to do this?
Edited by timot.mo - 2017年2月9日 12:17:07
- sepu
- Member
- 436 posts
- Joined: 2月 2012
- Offline
- timot.mo
- Member
- 23 posts
- Joined: 12月 2015
- Offline
- timot.mo
- Member
- 23 posts
- Joined: 12月 2015
- Offline
- tamte
- Member
- 8622 posts
- Joined: 7月 2007
- Offline
don't use stamping for that
just append Attribute Randomize SOP after your dopnet
Attrib Name: pscale
Dimensions: 1
tweak distribution and values as you wish
and most importantly in Options tab check Seed Attribute
Copy SOP will pick pscale up and automatically scale each copy, much faster than stamping
just append Attribute Randomize SOP after your dopnet
Attrib Name: pscale
Dimensions: 1
tweak distribution and values as you wish
and most importantly in Options tab check Seed Attribute
Copy SOP will pick pscale up and automatically scale each copy, much faster than stamping
Edited by tamte - 2017年2月9日 17:23:08
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- sepu
- Member
- 436 posts
- Joined: 2月 2012
- Offline
on your point attributes where it says "id"
when you use attributes usually are lowercase, so it will be @id. You can create your own and name as you wish but I will recommend just staying how they are by defaults.
take a look at this
https://www.sidefx.com/docs/houdini15.5/vex/snippets [sidefx.com]
the expression will look like
when you use attributes usually are lowercase, so it will be @id. You can create your own and name as you wish but I will recommend just staying how they are by defaults.
take a look at this
https://www.sidefx.com/docs/houdini15.5/vex/snippets [sidefx.com]
the expression will look like
rand(@id)/4
- timot.mo
- Member
- 23 posts
- Joined: 12月 2015
- Offline
- sepu
- Member
- 436 posts
- Joined: 2月 2012
- Offline
- timot.mo
- Member
- 23 posts
- Joined: 12月 2015
- Offline
- A-OC
- Member
- 253 posts
- Joined: 7月 2006
- Offline
- timot.mo
- Member
- 23 posts
- Joined: 12月 2015
- Offline
A-OCYes! Thank for this! Something I can study! BTW Where is the force pushing your particles up?
Like this ?
EDIT: never mind, I can see that in the “source_first_input” inside the pop network, you set the “set initial velocity” Dropdown. Very cool, I didn't know that you could do this too.
Learning stuff.. this is fun
Edited by timot.mo - 2017年2月10日 10:29:42
-
- Quick Links