Flim is a simulation and rendering project with a structured CMake-based build system. It includes support for shaders, textures, and various simulations. It seamlessly integrates Vulkan and Kokkos, bridging their APIs so that both frameworks can share the same buffers on the device.
To compile Flim, you need:
To set up the development environment, use the setup-dev.sh script. This script will install required dependencies using Mamba or Conda and setup the cmake build/ folder.
$ ./setup-dev.shAlternatively, you can manually create the environment using env.yml:
$ mamba env create -f env.yml # Or use conda instead of mambaActivate the environment:
$ mamba activate flim-env # Replace with `conda activate flim-env` if using CondaFlim uses CMake for building. To build the project, run:
$ mkdir -p build && cd build
$ cmake ..
$ make -j$(nproc)Feel free to open issues or submit pull requests to improve Flim!
If facing an issue with libpthread on archlinux while trying to compile the project, please check https://bbs.archlinux.org/viewtopic.php?id=244500.