News for hackers. Stuff that matters.
Re:Skymont: Intel's E-Cores reach for the Sky by seanmcdirmid on Saturday January 18, 2025 @11:26PM (#42753599)
NVIDIA's physX has its own cloth physics abstractions: https://docs.nvidia.com/gameworks/content/gameworkslibrary/p..., so I'm sure it is a thing we do on GPUs already, if only for games. These are old demos anyways:

https://www.youtube.com/watch?v=80vKqJSAmIc

I wonder what the difference is between the cloth physics you are talking about and the one NVIDIA has been doing for I think more than a decade now? Is it scale? It sounds like, at least, there are alternatives that do it on the GPU and there are questions if Blender will do it on the GPU:

https://blenderartists.org/t/any-plans-to-make-cloth-simulat...

Re:Skymont: Intel's E-Cores reach for the Sky by dragontamer on Sunday January 19, 2025 @12:08AM (#42753848)
Cloth / Hair physics in those games were graphics-only physics.

They could collide with any mesh that was inside of the GPU's memory. But those calculations cannot work on any information stored on CPU RAM. Well... not efficiently anyway.

---------

When the Cloth simulator in Blender runs, it generates all kinds of information the CPU needs for other steps. In effect, Blender's cloth physics serves as an input to animation frames, which is all CPU-side information.

Again: i know cloth physics executes on GPUs very well in isolation. But I'd be surprised if BLENDER's specific cloth physics would ever be efficient on a GPU. Because as it turns out, calculations kind of don't matter in the big-picture. There's a lot of other things you need to do after those calculations (animations, key frames, and other such interactions). And if all that information is stored randomly in 100GB of CPU RAM, it'd be very hard to untangle that data and get it to a GPU (and back).

PCIe is very slow compared to RAM.