Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi Fluid Not Working with Transparent Glass
#4
(18-10-2019, 06:35 AM)cognaut Wrote: Thanks for your reply, I think I see one of the issues - the mesh for every glass and cup I use even individual LOD3 meshes appear too complex or other scale issues.  The only container that works to some degree is the Obi Bucket.
So if I apply a transparent material to the Obi container it works the same.
The bigger problem interacting with all this is the scale thing others reported on the blog.  I want to have a normal sized glass filled with fluid.  Adjusting the Obi material resolution which is always recommended helps somewhat, but it's still unusable.
Can Obi provide an example in normal scale?  Wondering why Obi's Facet example is scaled 10 times larger than normal if this product can work at normal scale?
I attached a picture of a large glass created from the Obi bucket, and been spending hours trying to get it to fill with some sort of realistic fluid at normal scale.
The product appears to work wonderful if you can scale up your world by 2 orders of magnitude, but not seeming useful at normal scale.

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
Reply


Messages In This Thread
RE: Obi Fluid Not Working with Transparent Glass - by josemendez - 18-10-2019, 08:09 AM