Open yogwoggf opened 2 months ago
I think this issue will heavily use our new trunk-based development--it's not necessarily high priority but could potentially bring far more pros than cons. Basically, it might be in low development for a while
Was doing some ideation, fairly simple
scaleFactor
in the SimData object. Should be a divisor, not a coefficient, i.e: 100 instead of 0.01.scaleFactor
.scaleFactor
from SimData into the constant buffersscaleFactor
(this is why we used a divisor, a mul
instead of a div
for each vertex is great)That should just.. work. Will try later.
Context
It's a long standing issue, the FleX simulation is extremely unstable for several reasons.
My proposal is to shrink the local space of the entire fluid simulation by some arbitrary factor, and then apply the Source Engine's ambient conditions in hammer units, which are then transformed by previously mentioned arbitrary factor.
This should work as the entire force applied upon the particles will be relatively smaller than what wouldve been applied if we kept the same unit dimensions. In fact, FleX really has only ever been known to work stably when the particle radius is about 0.01-0.5, several times smaller than the typical Gelly particle radius.
Scope
Acceptance Criteria
Simulation Change
Simulation Correctness
Other
No response