17-10-2022, 07:33 AM
(17-10-2022, 02:36 AM)Ocean Wrote: Why Obi Cloth can not works in Compute Shader(GPU)?For example, the collision detection of TressFX works in GPU.So I think all can works in GPU(RTX4090).Hi!
Never said it couldn't, said it currently doesn't. I've been working on a GPU physics backend for Obi for more than a year. It will ship as part of Obi 7, by the end of this year.
(17-10-2022, 02:36 AM)Ocean Wrote: By the way,the velocity information of SDF may be recorded in the RT(render texture).
Storing velocity is trivial, that's not the problem. At least in my experience, the naive approach of calculating per-vertex velocities on the mesh and resampling them on a grid doesn't work well because resampling + linear interpolation breaks them enough to not be useable for CCD unless your SDF is very high-resolution.