News for hackers. Stuff that matters.
Re:Improving the foundation of our falling sand simulator by panzerboiler on Wednesday May 18, 2022 @01:21AM (#31419492)
Very nice job. You did some massive improvements since the previous article. I will try to follow along with a GPGPU implementation. Thank you!
Re:Improving the foundation of our falling sand simulator by jasonjmcghee on Wednesday May 18, 2022 @01:29AM (#31419537)
Thank you! I'd be very interested to see that. I've had a couple of fun Sundays now. I'm looking forward to the next pieces- but moving the logic to the gpu (either by shaders or GPGPU) has not been something I've been planning to do.
Re:Improving the foundation of our falling sand simulator by panzerboiler on Wednesday May 18, 2022 @01:36AM (#31419568)
The simulation being massively parallel, it is a perfect fit for a fragment shader. Since the interactions between the particles are mostly local, taking advantage of the fact that the GPU loads a block of neighbouring fragments in the cache to be able to compute the standard derivatives, it should run very well. I will notify you when I find some time to play with it.