3 ms·
That bugs me too. I have started a small project to make a more realistic water simulation, and found it to be quite a bit more involved than I had expected. Ju
by Zaak 15y ago
That bugs me too. I have started a small project to make a more realistic water simulation, and found it to be quite a bit more involved than I had expected. Just adding pressure would fix the problem you mentioned, and would probably be pretty easy to do. Adding velocity so that the water sloshes properly seems to be the hard part.
- baq 15y agofluid dynamics is anything but easy. current sandbox games (minecraft, dwarf fortress, terraria) implement water flows as cellular state machines. this is clearly wrong, because pressure is non-local, but computational expense of doing water correctly is prohibitive.
- psykotic 15y ago> current sandbox games (minecraft, dwarf fortress, terraria) implement water flows as cellular state machines. this is clearly wrong, because pressure is non-local Dwarf Fortress's algorithm actually supports global pressure propagation, albeit in an ad-hoc fashion: http://www.gamasutra.com/view/feature/3549/interview_the_making_of_dwarf_.php?page=9 http://www.gamasutra.com/view/feature/3549/interview_the_mak... http://www.gamasutra.com/view/feature/3549/interview_the_making_of_dwarf_.php?page=10 http://www.gamasutra.com/view/feature/3549/interview_the_mak...
- ubernostrum 15y agoThere are some mods that try this. Finite Liquid (http://www.youtube.com/watch?v=XlnUXXzc1Fg http://www.youtube.com/watch?v=XlnUXXzc1Fg) for Minecraft, for example, implements a simple pressure system, along with pipes, pumps and other flow/flow-control tools.