14-09-2020, 08:19 AM
(This post was last modified: 14-09-2020, 08:21 AM by josemendez.)
(14-09-2020, 08:15 AM)sanyam Wrote: Hi,
I want to paint on a canvas. It will be 3D and there shall be gravity acting on the paint fluid as well. Do you think Obi Fluid can do the job for this particular task?
In realtime, I'm afraid not. In a canvas there's barely any pressure, vorticity, or other fluid effects that may make using a particle-based simulation worthwhile. So using ObiFluid (or any other particle-based system) for this is absolute overkill.
This use case screams texture-space fluid simulation in a fragment shader. As long as you don't need paint to drip off the canvas, a simple shader that smears paint in the direction of gravity will get the job done much faster and easier.