Skip to content

shiyin1014/SoftRenderQt

Repository files navigation

SoftRenderQt

本项目是一个基于c++编写的软光栅化渲染器,除了使用opencv和qt进行界面展示和交互外无其他任何依赖,整体代码量约为1700行左右。

主要特性

  • Blinn-Phong reflection model
  • Shader-based
  • Perspective correct interpolation
  • Back-face culling
  • Homogeneous clipping
  • Tangent space normal mapping
  • Wire frame
  • Depth testing
  • Orbital camera

截图展示

Release版本

在"release"文件夹中包含了可运行程序,将其下载到本地并运行source文件中的"SoftRenderQt.exe"即可体验。

相机控制

  • 按住鼠标左键并拖动以实现旋转
  • 滚动鼠标滚轮切换Zoom(轨道相机的直径)大小
  • 按住滚轮并拖动以改变中心点

参考

About

This is a shader-based soft renderer with a simple interface added via Qt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published