Skip to content

A soft renderer using C++ from scratch without any graphics library.

Notifications You must be signed in to change notification settings

xueliuxing28/Soft-Renderer

 
 

Repository files navigation

Soft-Renderer

  The original intention of building such a rendering pipeline from scratch without any graphics library is to get a deeper understanding of the current three-dimensional rendering process. Many theoretical things need practice to fully understand. These days, I have gained a lot from the tortuosity of building a soft renderer, which laid a solid foundation for the learning of Computer Graphics. At present, the soft rendering pipeline I have implemented already contains the basic functions of a traditional fixed pipeline, and I no longer plan to add more features such as transparent fusion, shadow and so on, because it is unnecessary.By the way, I just use Qt to display the pixel and use stb_image to load the images. The core code is not related to Qt at all.

  Here are my personal blogs(in Chinese) if you would like get some more details about how I built it from scratch.

  软渲染器Soft Renderer:3D数学篇

  软渲染器Soft Renderer:光栅化篇

  软渲染器Soft Renderer:进击三维篇

  软渲染器Soft Renderer:光照着色篇(完结)

directionalLight

pointLight

spotlight

ret3

About

A soft renderer using C++ from scratch without any graphics library.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 54.8%
  • C++ 32.6%
  • Makefile 12.0%
  • QMake 0.6%