Skip to content

cfreude/precomputed-radiative-heat-transport

Repository files navigation

Tamashii Renderer - Thermal Simulation

Code for the paper "Precomputed Radiative Heat Transport for Efficient Thermal Simulation" by Christian Freude, David Hahn, Florian Rist, Lukas Lipp and Michael Wimmer

Based on the Vulkan rendering framework by Lukas Lipp.

Shield: CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0

==================================

Coding Conventions

Please read carefully

General Notes

Requirements:

Dependencies:

Notes:

Clone git with submodules

git clone --recursive

If build script is not used, use CMake from root/ like

# Adjust `-G <generator-name>` accordingly or remove it
cmake -H. -B_project -G "Visual Studio 16 2019" -A "x64"

Compiling On Win

Use the provided make.bat file to generate a Visual Studio project in root/_project/. Use make.bat clean to remove all project files. If changes to cmake are not visible, delete root/_project/CMakeCache.txt and run make.bat again.

make # generate project files in 'root/_project/'
make install # install release build in 'root/_install/'
make install <install_dir> # install release build in <install_dir>
make clean # delete 'root/_project/' and 'root/_install/'

Compiling On Linux

Use the provided makefile file to generate a project in root/_project/ or open the CMakeLists.txt file in an IDE like Qt Creator or CLion. Use make clean to remove all project files. If changes to cmake are not visible, delete root/_project/CMakeCache.txt and run make.bat again.

Maybe you have to configure some variables for the Vulkan SDK beforehand.

export VULKAN_SDK=/your_path_to_vulkan_sdk/VulkanSDK/1.0.37.0/x86_64
export PATH=$PATH:$VULKAN_SDK/bin
export LD_LIBRARY_PATH=$VULKAN_SDK/
export VK_LAYER_PATH=$VULKAN_SDK/etc/explicit_layer.d

Command Line Args

# load a given scene when the programm starts
-load_scene "assets/scenes/teapot_animated/scene.gltf"
# set the default camera
-default_camera "Camera"
# set default implementation
-default_implementation "Ray Tracing"
# set window size
-window_size 1280,720