UUUnmei / RenderLite

my first soft rasterizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RenderLite

my first cpu rasterizer implement some basic technique

Features

  • programmable pipeline, easy to switch shader
  • right hand coordinate, like OpenGL
  • perspective correct
  • face culling
  • cvv clip
  • homogeneous clip
  • orbit camera
  • skybox support
  • ASSIMP integrated,enable to load various model
  • STB_IMAGE integrated, enable to load picture(texture)
  • simple math class(vector, matrix)
  • MSAA4x(deprecated)
  • some extra 2d stuff in Draw2d
  • wireframe or triangle topology

Limitations

  • Windows only
  • a few implementation may not easy to read
  • performance relatively low(release build prefer), generally for only one model

Dependencies

  • stb_image (included already)
  • assimp 5.0.1 (NEED to config VS project settings; only use some basic functions, so maybe is ok to make a difference)

Example

About

my first soft rasterizer


Languages

Language:C 70.0%Language:C++ 30.0%