SALVIA is the rasterizer based software renderer. The goal of SALVIA is capacity of Direct3D 10+.
OTHER License
Note: CMake and Git may installed with OS, IDEs or build essentials. Please check the installed versions and the activated toolchains.
D:\path\salvia
, then vcpkg should be installed at D:\path\vcpkg
. Otherwise, you need to specify the vcpkg toolchain file by the config _windows/toolchainFile
in CMakePreset_Woodblocks.json
.D:\path\salvia
with Visual Studio 2022msvc_dbg_win
or msvc_rel_win
in the CMake Presets tab and build it.gcc
above 12.0 or clang
above 14.0 is requiredpath-to-salvia
.apt
on ubuntu). The default installation path of vcpkg is at ~/vcpkg
. If it was installed elsewhere, you need to specify the vcpkg toolchain file by the config _linux/toolchainFile
in CMakePreset_Woodblocks.json
.path-to-salvia
with your IDE (VSCode, VIM or CLion).NOTE for CLion on WSL: If you are working on WSL with CLion, please make sure that the correct CMake and Git and compiler in CLion was selected. You can check or edit the toolchains in Settings > Build, Execution, Deployment > Toolchains
.
gcc
above 12.0 or clang
above 14.0 is required.path-to-salvia
.brew
on Mac). The default installation path of vcpkg is at ~/Library/vcpkg
. If it was installed elsewhere, you need to specify the vcpkg toolchain file by the config _macos/toolchainFile
in CMakePreset_Woodblocks.json
.path-to-salvia
with your IDE (VSCode, VIM or CLion).NOTE for CLion on Mac: Please download M1 version of CLion if you are using M1 Mac. Otherwise, you may encounter some issues when building the project.
compile_commands.json
and copy to root for clangd by default. And we also highly recommend you to install clang-tidy
and clang-format
for better code quality.All interactive demos are not supported on Linux and Mac because we don't have GUI support on these platforms.
If you have any question, please contact: wuye9036 at gmail dot com