What's a good method for preserving particleIDs?
As particles die, Houdini reassigns the IDs, right?
I need to preserve the particleIDs so I can calculate acceleration for multi-step particle motion blur. For this to work, the IDs need to stay consistent and not be reused.
I've tried a combination of the Trail SOP and a SOPSolver looking up the previous frame ID to carry it forward, but once the particles start dying this falls apart.
–
mC
Preserving ParticleIDs
2965 2 1-
- MoltenCrazy
- Member
- 86 posts
- Joined: April 2016
- Offline
-
- Enivob
- Member
- 2658 posts
- Joined: June 2008
- Offline
-
- tamte
- Member
- 9416 posts
- Joined: July 2007
- Online
MoltenCrazythe i@id attribute created by most of the solver is unique and as particle dies the id is not reused so you should be able to use Trail with Match By (id) Attribute , or idtopoint() VEX function to lookup points by value of id attribute
As particles die, Houdini reassigns the IDs, right?
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Quick Links

