Flip SOP custom attribute point

   Views 767   Replies 5   Subscribers 1
User Avatar
Member
1003 posts
Joined: April 2008
Offline
How can I create point attributes lets say for each drop sphere that I have on my geometry source so they are carried through the sim?
I tried to use the "custom attribute" on the container SOP but I could not find a way to carry this on the particles, I know you can do that with viscosity but how can I do it properly with a custom attribute?

Any tips?
Edited by mzigaib - Jan. 27, 2025 13:59:09
https://vimeo.com/user2163076 [vimeo.com]
User Avatar
Member
9130 posts
Joined: July 2007
Offline
mzigaib
I tried to use the "custom attribute" on the container SOP but I could not find a way to carry this on the particles, I know you can do that with viscosity but how can I do it properly with a custom attribute?

as long as the geo plugged into FLIP Source SOP has the same Point Attribute Name and Rank(type) you have chosen on the container, it will carry over to the sim and be sourced accordingly
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
1003 posts
Joined: April 2008
Offline
I am using the flip SOP so I am sourcing my fluid through flip boundary SOP, it does not seem to work even if I put the attributes on the container and in the geo.
Not even "v" seem to work, just FYI I am just emitting for the 1st frame, but even if I put to emit by frame basis I was not able to use boundary sop to pass my custom attributes

What I might be doing wrong?
Edited by mzigaib - Jan. 28, 2025 02:07:17

Attachments:
Screenshot 2025-01-28 040308.png (299.1 KB)
Screenshot 2025-01-28 040422.png (244.1 KB)
Screenshot 2025-01-28 040547.png (286.2 KB)

https://vimeo.com/user2163076 [vimeo.com]
User Avatar
Member
9130 posts
Joined: July 2007
Offline
it's really hard to say from screenshots, here is an example

Attachments:
ts_FLIP_SOP_emit_custom_attrib.hipnc (773.7 KB)

Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
1003 posts
Joined: April 2008
Offline
Thank you for the help!
I did exactly that but for some reason it was not working and then I found out that if you have a "name" attribute on your geometry for some reason it does not work for the attributes to propagate maybe there is some mechanism inside the asset that gets confused when you use that, but now I know it works.

Cheers!
Edited by mzigaib - Jan. 28, 2025 11:31:11
https://vimeo.com/user2163076 [vimeo.com]
User Avatar
Member
14 posts
Joined: June 2015
Offline
mzigaib
Thank you for the help!
I did exactly that but for some reason it was not working and then I found out that if you have a "name" attribute on your geometry for some reason it does not work for the attributes to propagate maybe there is some mechanism inside the asset that gets confused when you use that, but now I know it works.

Cheers!

OMG thank you, the name on incoming geo was the problem, it drive me crazy
Cheers
  • Quick Links