This project uses framework from the sparkium renderer by @LazyJazz.
In this project, our team built up a scene from scratch. It portrays a serene bedroom at sunrise, inspired by Van Gogh’s famous painting. We implemented a powerful renderer with many features, including customized BSDF, texture mapping, skybox, chromatic dispersion, volumetric rendering etc. These features are specially adjusted to make our work more vivid and painterly.
Sparkium Renderer 是一个基于 Vulkan API 的渲染器,旨在提供一个简单易用的渲染器框架,以便于学习和研究。 星火取自“星星之火,可以燎原”,希望这个渲染器能够为更多人点燃学习和研究渲染的火花,同时点点星火也隐含着光源在渲染中的重要性。
本渲染器基于 Vulkan Ray Tracing 扩展,因此需要支持 Vulkan Ray Tracing 的显卡才能运行。 一般来说,以下常见显卡型号支持 Vulkan Ray Tracing:
- NVIDIA GeForce RTX 20 系列及以上
- AMD Radeon RX 6000 系列及以上
- Intel Arc 系列
如果你的显卡不支持 Vulkan Ray Tracing,请不要尝试运行本渲染器。
免责声明: 本渲染器仅供学习和研究使用,不保证其在所有环境下都能正常运行。目前作者仅在 NVIDIA 显卡上测试过本渲染器,其他显卡可能存在兼容性问题。
本项目依赖以下外部内容:
请提前安装或克隆好以上依赖项。
- 克隆项目
git clone <link-to-this repository>- 进入项目目录
cd Sparkium- 创建 build 目录
mkdir build
cd build- 配置 CMake
cmake -DCMAKE_TOOLCHAIN_FILE=<path-to-vcpkg>/scripts/buildsystems/vcpkg.cmake ..- 编译项目
cmake --build .- 运行项目
./code/sparkium/sparkiumvcpkg 安装的库可能会有不同版本,如果编译出现问题,请检查 vcpkg 安装的库版本是否正确。
vcpkg 在下载库时可能会出现下载失败的情况,可以尝试多次下载或者使用代理。
