06-15-2019, 04:10 PM
I'm trying to program it all myself, which should be easy right?
Very rough start without things like inertia or water drag:
Using fluid properties:
- vel = fluid velocity vector
- in = RGB for deciding if in/out of white water (fluid RGB in Phoenix set to white)
if RGB.B>0.99 set in to 1 else 0
If in water set particle velocity vector to vel + buoyancy upward vector
if not then ignore vel and add gravity to particle.velocity
found a bug in fluid properties -> velocity vector
http://forum.tyflow.com/thread-793.html
Very rough start without things like inertia or water drag:
Using fluid properties:
- vel = fluid velocity vector
- in = RGB for deciding if in/out of white water (fluid RGB in Phoenix set to white)
if RGB.B>0.99 set in to 1 else 0
If in water set particle velocity vector to vel + buoyancy upward vector
if not then ignore vel and add gravity to particle.velocity
found a bug in fluid properties -> velocity vector
http://forum.tyflow.com/thread-793.html