18-12-2019, 11:25 AM
(This post was last modified: 18-12-2019, 11:27 AM by josemendez.)
(18-12-2019, 11:13 AM)duc_nm Wrote: dear all,
I am currently working on a app that needs to create a high viscosity fluid (molten cheese/honey-like substance). I'm wondering if it is possible to use this asset to create such substance.
description of what the substance should be able to do:
- the substance needs to be stretchy with high viscosity and high stickiness (these properties are adjustable on the app)
- when poured from above, the substance should be able to maintain a constant flow up to a certain height.
- like rubber band: it should stretch out by itself and create somewhat of an hourglass shape with the middle part is stretched out thinner than the two ends which kind of blobs out and stick to the surface.
- the longer the distance between the point it is poured from and the contact point below, the more stretched out, and thinner the flow gets
- when the substance is poured from above a certain height, the substance is so stretched out that the flow breaks and snaps - just a little bit- (like when a rubber band tears and snaps).
so in short, I'm hoping to make something that looks that cheese
now i understand many of these properties can be adjust on the app however, I am wondering if it is possible to achieve all of the points above.
thank you for your time and have a good day.
Yes, perfectly doable. However keep in mind that high-viscosity fluids require smaller timesteps to maintain stability (so the computation is costlier), and do not allow for coiling/buckling effects in realtime (these require way more advanced viscosity models than the one we use, based on XSPH).
Here's a pic of the effect you describe, being simulated and rendered at 9 ms/frame in a 4-core CPU: