Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.07 KB

README-EN.md

File metadata and controls

43 lines (34 loc) · 1.07 KB

plaid

简体中文

🚧🚧🚧 UNFINISHED 🚧🚧🚧

plaid is a software renderer in C++。It is consist of three parts:

  • core The rendering pipeline implementation.
  • json Parse json to dom
  • viewer Loading and displaying the model.

Hello triangle!

Progress

  • Programmable rendering pipeline
  • Triangle rasterization
  • Programmable vertex shader and fragment shader
  • Common color format transition
  • Render passes (untested)
  • Parse a json to a dom
  • Load simple .obj
  • Move the surround camera
  • WIN32 window

TODO

  • The code is so mess,I will try to improve the readability.
  • Load from glTF
  • Custom viewport
  • MSAA
  • A half-baked idea: using coroutine to implement ddx, ddy, and mipmap

Environments

  • CMake
  • Windows SDK 10.0.17134.0 or higher

viewer run on Windows only now,because my window system only written for win32 now.

Build

cmake -B.build
cmake --build .build

If there are any Environment issue/Compiling error/Bug, add it to issue,or send to: [email protected], please.