1 Star 1 Fork 0

孜然肉片 / SRender

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

SRender

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:

Image-based lighting

Blinn-Phong Shading

Main Features

  • Blinn-Phong shading
  • Perspective correct interpolation
  • Back-face culling
  • Homogeneous clipping
  • Cubemap skybox
  • Physically based rendering (PBR)
  • Metallic-roughness workflow
  • Image-based lighting (IBL)
  • movable camera

Binaries for Usage

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

Build

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.

Control of Camera

  • Rotation: holding left mouse button
  • Pan: holding right mouse button
  • Zoom: mouse wheel

Reference

zauonlok's implementation of software renderer.

wait for updating...

空文件

简介

暂无描述 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/freshmeat/SRender.git
git@gitee.com:freshmeat/SRender.git
freshmeat
SRender
SRender
master

搜索帮助