SRender is a software renderer written from scratch in C++11 with no dependencies (except win32 for display image) for windows platform. The purpose of writing this renderer is mainly for better understanding basic CG knowledge and algorithms.
The number of core codes is about 2000 lines, so it's easy for studying or reading. You can feel free to make changes on this project. Here some screenshots of SRender:
The pre-built binaries can be found in binary_exe_file document. You can start with binaries and obj assets. (Note: the obj document should be placed in the parent directory of binaries)
The obj models are a little bit big, it can also be downloaded from here:
https://pan.baidu.com/s/1_EgKzcFXJLCuDi1o5fhQww
extract code: ghde
If you want to check more details of SRender, the cmakelists.txt file is provided for building project files using CMake.
For visual studio:
mkdir build
cd build
cmake -G "Visual Studio 15 2017" ..
start Renderer.sln
Another way is directly opening the SRender file with CLION, it will automatically configure the project.
zauonlok's implementation of software renderer.
wait for updating...
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。