Is is possible to make liquids spill when some nodes or beams are broken? so, when you crash the TastiCola truck down a hill, all the TastiCola leaks out and if you drive in it with another car in it it acts like water.
Liquid is hell to simulate to the point that engineers wanting accurate simulation with either spend days to simulate a couple of minutes or hire time on a supercomputer. While I would love to see accurate liquid simulation in games I seriously doubt I'll see it in the next 30 years unless we get a major breakthrough in home computing.
Oil and fuel leaking from damaged cars would be a great feature. We already have the "fueltank ruptured" occurrence. I think oil and fuel puddles stamped on the road, similar to tiremarks and without any animation, should be possible.
GPU simulated realistic liquids its very much done already. But only Nvidia has been shown to be able to do it, and even if you could do something similar with AMD, it would mean having unique liquid simulation per GPU type.
No it wouldn't. The only GPGPU computing option available to AMD users is OpelCL which also works on nvidia cards. CUDA on nvidia cards tends to perform faster than OpenCL on AMD which in turn it's slightly faster than OpenCL on NVidia. It's very much possible on AMD. Even on nvidia it's never been shown as possible in real-time along with a useful load though. It eats into gpu performance to be performing GPGPU computing at the same time
But then its the same issue. This would make prioritizing a GPU over the other, and there are SOME people that use integrated GPU cards.
well yeah, prioritizing the GPU will always be the issue. But OpenCL is also supported on integrated cards
Smash a cola truck, bottles come out, not straight up cola. It's packaged. A few pallets fall out, some smash and expose some bottles, and 2-3 bottles break open maybe
I think a simpler way to do something like this would be to have the "liquid" spilled out onto the ground just change the color in that particular area... you know... like an oil spill would do. Perhaps some slight simulation to figure out where it would go, but that's it. Then the area with a different color on the ground would also have a different friction coefficient. This way we could simulate oil or... I suppose "cola" spills and keep the heavy duty simulation at its minimum. It wouldn't look as good as a simulated wave pouring out of a tipped tanker truck, but it also wouldn't take a week to simulate either.