Hello,
I am trying to solve a problem, but kind of stuck
Basically I am trying to do a propagation, but only based on a vector available per point on the attribute itself, so if the underlying point says go right, spread should be only to the right, and next frame we query again, check the vector and only spread along that direction.
So I played around with points in a solver sop, pcopen check the nearest attribute on the surface @P+=v@dir; and points move as expected.
But how do I do that for an attribute on the geo itself. Well I mean not the attribute but the value of the next point that should inherit the value on the neighboring point based on the direction vector. Almost like a 2d gas solver I suppose. But the surface is not a plane, and UVs are not very straight forward to work on UV space on a grid.
Open to ideas, Thanks
Attribute Flow --> Solver SOP
610 3 1-
- tricecold
- Member
- 260 posts
- Joined: 7月 2006
- Offline
Edited by tricecold - 2024年5月10日 18:00:38
Head of CG @ MPC
CG Supervisor/ Sr. FX TD /
https://gumroad.com/timvfx [gumroad.com]
www.timucinozger.com
CG Supervisor/ Sr. FX TD /
https://gumroad.com/timvfx [gumroad.com]
www.timucinozger.com
-
- mestela
- Member
- 1766 posts
- Joined: 5月 2006
- Offline
pccone maybe? i used that to art direct particles to check for collisions, move on paths. thinking out loud, you should be able to do that to just lookup in a specific direction and then ask 'should i be infected?'
https://www.tokeru.com/cgwiki/PopsSplitAvoid.html#pccone [www.tokeru.com]
https://www.tokeru.com/cgwiki/PopsSplitAvoid.html#pccone [www.tokeru.com]
-
- tricecold
- Member
- 260 posts
- Joined: 7月 2006
- Offline
Yep, that must be it, i was thinking to solve this from wrong direction as how do i affect the next guy rather than should be infected, let me give that a spin
Head of CG @ MPC
CG Supervisor/ Sr. FX TD /
https://gumroad.com/timvfx [gumroad.com]
www.timucinozger.com
CG Supervisor/ Sr. FX TD /
https://gumroad.com/timvfx [gumroad.com]
www.timucinozger.com
-
- mestela
- Member
- 1766 posts
- Joined: 5月 2006
- Offline
-
- Quick Links