计算机图形学
仿佛若有光i
这个作者很懒,什么都没留下…
展开
-
Games 101 作业2 超详细说明
首先是main函数中的矩阵变换函数,这个部分在作业1已经实现过了,可以直接进行复制。 Eigen::Matrix4f get_projection_matrix(float eye_fov, float aspect_ratio, float zNear, float zFar) { // TODO: Copy-paste your implementation from the previous assignment. Eigen::Matrix4f projection = E原创 2021-11-23 11:54:43 · 3764 阅读 · 2 评论 -
games 101 作业1
#include "Triangle.hpp" #include "rasterizer.hpp" #include <math.h> #include "Eigen" #include <iostream> #include <opencv2/opencv.hpp> using namespace Eigen; using namespace std; constexpr double MY_PI = 3.1415926; Eigen::Matrix4f get_v.原创 2021-11-20 20:15:38 · 1824 阅读 · 0 评论