wuye9036/SalviaRenderer
关于
SALVIA 是一款基于光栅化器的软件渲染器,目标是支持 Direct3D 10 及更高版本。
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Project build guide
Acknowledgement
- We would like to thank JetBrains for their donating licenses to their excellent products to develop Salvia.
- In this project we are using:
- PyCharm
- CLion
- Reshaper C++
Requirements and build steps
Prerequisites for ALL platforms
Note: CMake and Git may installed with OS, IDEs or build essentials. Please check the installed versions and the activated toolchains.
Windows 10/11
- Install latest Visual Studio 2022 with C++, CMake, and Git.
- Install vcpkg side-by-side with source code. For example, if your project is located at
D:\path\salvia, then vcpkg should be installed atD:\path\vcpkg. Otherwise, you need to specify the vcpkg toolchain file by the config_windows/toolchainFileinCMakePreset_Woodblocks.json. - Open the folder
D:\path\salviawith Visual Studio 2022 - Select the preset
msvc_dbg_winormsvc_rel_winin the CMake Presets tab and build it.
Linux/WSL
gccabove 12.0 orclangabove 14.0 is required- Clone the project to
path-to-salvia. - Install vcpkg by your OS package system (for e.g.
apton 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/toolchainFileinCMakePreset_Woodblocks.json. - Open the folder
path-to-salviawith 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.
Mac
- Install latest XCode Commad Line Tools.
gccabove 12.0 orclangabove 14.0 is required.- Clone the project to
path-to-salvia. - Install vcpkg by your OS package system (for e.g.
brewon 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/toolchainFileinCMakePreset_Woodblocks.json. - Open the folder
path-to-salviawith 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.
Suggestions for IDEs
- Windows: We recommend using Visual Studio 2022 and open salvia as folder. VSCode is also available, but only the official C++ intellisense plugin was supported when build with MSVC and its experience is relatively bad.
- Linux/WSL: CLion is our recommended IDE. If you are using VSCode, we suggest use clangd as the language server. For your convience, the build script generates
compile_commands.jsonand copy to root for clangd by default. And we also highly recommend you to installclang-tidyandclang-formatfor better code quality. - Mac: Same as Linux.
Known issues
All interactive demos are not supported on Linux and Mac because we don't have GUI support on these platforms.
Support Info
If you have any question, please contact: wuye9036 at gmail dot com
探索相关项目
加载中…