This Real-Time 3D Fluid Sim Runs on One CPU Core.

Описание к видео This Real-Time 3D Fluid Sim Runs on One CPU Core.

Follow me on Twitter for updates:   / programmerlin  

This was a research project that aimed to find a real-time realistic fluid simulation that was able to handle moderately complex scenes without taxing the GPU horribly or wiping out the entire CPU. It's a hybrid lagrangian-eulerian method based on the work by "Hu, Yuanming and Fang, Yu and Ge, Ziheng and Qu, Ziyin and Zhu, Yixin and Pradhana, Andre and Jiang, Chenfanfu" (2018). Special thanks to Grant Kot for his epic fluid simulations, for without him I never would've believed CPU fluid simulation was possible and tore my hair out trying to figure out how he made his stuff look so awesome. Give him a follow for even cooler water stuff: twitter.com/kotsoft

The entire core of the simulation, as well as the CPU-GPU transfers (which, sadly, actually have a big impact on frame times) is executed on the same main thread and is mostly accelerated using AVX2. The GPU is of course used to do all of the particle & scene rendering, and if it used multithreading the rendering could definitely appear smoother. It uses C++ and Vulkan, and was ran on a base i7-8700K and 2080 Ti.

Spoilers: This is going in the game I've been showcasing, hence not wanting to bottleneck the entire system. Expect to see this in a prettier environment soon! ;)

Комментарии

Информация по комментариям в разработке