speed attribute from a Flip Fluid ?

   4527   2   0
User Avatar
Member
12 posts
Joined: 6月 2012
Offline
Hello,

I setup a little scene just to understand attributes a bit better.
The setup is just a sphere as flipfluid object that splashes into closed
fluid tank. I created a new, empty geometry node that fetches the fluid mesh
and a DOPimportfield node to import the fields from the sim
into this geometry node.
Than I use an “attrib from volume” node to color the mesh with different
attributes from the fluid sim. So far the only channels i seem to be able
to extract are velocity (xyz) and surface. Is it somehow possible to color
my surface by speed ? Just like the default particle look when seting up
a flipfluid sim.
I attached my test scene.
Maybe someone can point me into the right direction. Much apprechiated.

Attachments:
flipfluid_color_test.zip (144.5 KB)

User Avatar
Member
76 posts
Joined: 9月 2011
Online
You can take the length of the velocity vector and use that in a ramp to color by speed. See the attached file.

Attachments:
color_flip_by_velocity.hip (1.5 MB)

User Avatar
Member
12 posts
Joined: 6月 2012
Offline
Sorry for the late reply, I was on vacation.
Thank You very much. That was exactly was I´m looking for.
  • Quick Links