Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi Fluid Not Working with Transparent Glass
#5
(18-10-2019, 08:09 AM)josemendez Wrote: Hi there,

Why is adjusting the material resolution unusable? It simply changes the amount of particles per volume unit. Setting it high enough should work. In the manual you can see an example of setting the resolution to x5, as you can see the behavior of the fluid is exactly the same regardless of resolution:
http://obi.virtualmethodstudio.com/tutor...rials.html


Another approach would be using local space simulation, and scaling the entire simulation down. See:
http://obi.virtualmethodstudio.com/tutor...space.html

Also, for good performance when colliding against dense/complex meshes, you should use distance fields instead of raw MeshColliders. A MeshCollider requires multiple ray/triangle intersection tests for each particle, while a distance field only requires a few table lookups.
http://obi.virtualmethodstudio.com/tutor...ields.html

When I increase the resolution, the fluid becomes unrealistic like bubbles, and is all jittery.  I tried reducing the surface tension and many other things to no avail.  At least 8hrs of playing with this so far to try to get normal scale results.  I have not tried distance fields, maybe that will help, but they do not seem required for oversized implementations.
The local space work around seems to defeat the purpose to interact with the rest of the scene.
I had seen the tutorial you pointed out but just adjusting the resolution does not work well in practice.  I am curious why Obi has not posted a real scale example for folks to see?  Can this be provided to validate that it does actually work in normal scale and help people set it up if it is as easy as changing the resolution?  Something simple like just a glass of water or the faucet demo in normal scale?

(as a side note, I am unable to attach any images to the forum here, how can I get images attached to better show what I am seeing?)

The faucet demo included with Obi Fluid is just stunning, it seems it would help others also if we could figure out how to implement something like this at normal scale. 

-Jeff
Reply


Messages In This Thread
RE: Obi Fluid Not Working with Transparent Glass - by cognaut - 18-10-2019, 07:59 PM