Liquid Crystal Demo 2024
A downloadable game for Windows
A simple demo of the engine I'm working on showing different materials as well as a sparse and adaptive liquid simulation.
Current development focus is on adding features and not yet optimization. Performs poorly on some machines.
Controls | Mouse/KB | Gamepad |
---|---|---|
Toggle Fullscreen | Alt + Enter | View |
Movement | WASD | Left Joystick |
Move Up/Down | Q/E | A/B |
Look Around | Mouse/Arrow Keys | Right Joystick |
Attract Liquid/Sand | Left Button | Right Trigger |
Attract Worms | Right Button | Left Trigger |
Place Blocks (Hold while moving to create larger boxes) | Shift | RB |
Remove Blocks | Control | LB |
Set Particle Detail Level | 1-4 |
Ship voxel model by Niklas Mäckle (@knosvoxel)
Status | In development |
Platforms | Windows |
Rating | Rated 2.0 out of 5 stars (1 total ratings) |
Author | kotsoft |
Genre | Simulation |
Tags | Physics, Sandbox |
Download
Install instructions
Run LiquidCrystalGame.exe
Performance Tips:
Efficiency Cores | The simulator likes high core counts. On my 13900HX, they do add a major performance uplift. |
Resizable BAR | For AMD/Intel GPUs, you might need a Windows Insider build for Resizable BAR to work, as I use the GPU Upload Heaps feature they are adding to the DX12 Agility SDK. For Nvidia GPUs I'm able to use NVAPI to take advantage of ReBAR. |
Overclocking | Fully ok to enable, but note that this simulator uses AVX2/512 and all cores. |
Comments
Log in with itch.io to leave a comment.
it keeps turning to a white screen then crashing is this because I don't have the windows insider build for resizable bar?
image:
also the MPM sandbox tech demo and the liquid crystal demo works but not this one
It could be the resizable bar thing if not Nvidia. This one also allocates really large volume textures on the GPU so could be amount of VRAM. I have some new stuff coming out soon that will have better compatibility and use sparse volumes and compression.
oh ok if it it the resizable bar is there a way you can change that? Because the Liquid crystal demo (the one with the jello and water thing not this one) works without me needing resizable bar.
actually I don't think it's not working because of resizable bar because the cpu stress test works and im pretty sure that uses resizable bar.
I think it just might be the large amount of memory & VRAM it uses. The simulation domain for this one increased from 128^3 to 512x512x128 (16x increase). I have more compatible/optimized stuff on the way.
do you know how much memory and VRAM it needs to run?
Nice! Is it still MPM?
Thanks! Yes it is MPM here. Some speedups from turning on/off "material features". The liquids don't track deformation gradient but the dirt/elastics does.
Wow! I didn't expect it to be able to run so fast. Is it an explicit time integration? May I ask what grid resolution is used? It doesn't seem to be particularly coarse
Yeah it is explicit time integration, single step per frame. Grid resolution is 512x512x128, particles res adaptive with 8 per cell at surface
Mind blowing tech! Can't wait to see it fully optimised and with some more fleshed out rendering. It already runs insanely well on my PC, considering the complexity of the simulation. Whatever game you make out of this will be truly impressive.
love it! keep it up.
Thanks!
what the skibidi
It's really fun to play around with, even when my PC is a bit stressed. I would like to see a version in which I can define the sources myself and a possibility to delete particles. Looking forward to a new version. Good job. :)
Thanks for trying it out! I'm going to work on the scene and particle structuring systems this week. There's also a lot of reorganizing and code cleanup.