diff --git a/hw1/index.html b/hw1/index.html index a7458a3..de713e8 100644 --- a/hw1/index.html +++ b/hw1/index.html @@ -1,7 +1,170 @@ -
- - - Homework 1 index.html here - - \ No newline at end of file + + + +Date: Feb 11, 2024
++ Group Member: + Darren Wang, + Jiayi Xu +
++ In this assignment you will implement a simple rasterizer, including + features like drawing triangles, supersampling, hierarchical transforms, + and texture mapping with antialiasing. +
++ In this task, we implemented a naive algorithm for pixel sampling within + triangle shapes. Initially, we utilized the provided helper function + rasterize_line + to draw the edges of the triangles. Subsequently, we determined the + position of the smallest bounding rectangle around the triangle. We then + iterated through every pixel within that rectangle, applying the + Barycentric Coordinate method to ascertain whether each pixel resides + inside the triangle and should be colored. +
+One way that we did to optimize the
++ Barycentric coordinates are commonly used in computer graphics, + particularly in rendering techniques such as triangle interpolation and + texture mapping. +
++ created a cubeman in running posture by doing the following operations. +
++ Level sampling is a technique used in computer graphics for efficient + rendering. It involves sampling pixels at different levels of detail, + starting with a coarse level and gradually refining to finer levels. + This approach balances computational resources with image quality, + optimizing the rendering process for various levels of complexity in + scenes. +
+ +