25-10-2021, 08:24 AM
(This post was last modified: 25-10-2021, 11:04 AM by josemendez.)
(25-10-2021, 04:50 AM)CreepGin Wrote: My goal is to extract an iso-surface from a resulting fluid simulation. Does Obi FluidĀ provide any kind of mesh extraction out-of-the-box?
If not, what are the options for me going forward? Do I need to build a SDF of the ellipsoids from scratch?
Thanks for the help!
Nope, extracting a mesh iso-surface in realtime is extremely inefficient compared to directly rendering the fluid surface using screen-space splatting (which is what Obi uses). There's no out of the box support for mesh generation in Obi, since there seems to be very little popular demand for it.
You must build a SDF of the ellipsoids yourself, and use either marching cubes or surface nets to extract a mesh from it. Personally, I'd go with surface nets as they're simpler and output slightly higher-quality meshes imho.