-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Hunger720 edited this page Apr 23, 2017
·
27 revisions
Welcome to the Raster wiki!
因为最近项目需要,写了一个简单的光栅化渲染器。这个渲染器使用了计算质心坐标的算法来进行光栅化。
重心坐标
塞瓦定理
Software Rasterization Algorithms for Filling Triangles
示例程序输入一个obj文件,包含了一个mesh(顶点坐标为屏幕坐标,即x,y是像素的位置);输出一个obj文件,文件包含光栅化得到的像素信息(对深度进行插值)。
- 输入
- 输出
- Eigen
- OpenMesh