diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..a72236c Binary files /dev/null and b/.DS_Store differ diff --git a/hw1/.DS_Store b/hw1/.DS_Store new file mode 100644 index 0000000..b0474ef Binary files /dev/null and b/hw1/.DS_Store differ diff --git a/hw1/images/.DS_Store b/hw1/images/.DS_Store new file mode 100644 index 0000000..c04733d Binary files /dev/null and b/hw1/images/.DS_Store differ diff --git a/hw1/images/L_NEAREST and P_LINEAR.png b/hw1/images/L_NEAREST and P_LINEAR.png new file mode 100644 index 0000000..3b74482 Binary files /dev/null and b/hw1/images/L_NEAREST and P_LINEAR.png differ diff --git a/hw1/images/L_NEAREST and P_NEAREST.png b/hw1/images/L_NEAREST and P_NEAREST.png new file mode 100644 index 0000000..ab66373 Binary files /dev/null and b/hw1/images/L_NEAREST and P_NEAREST.png differ diff --git a/hw1/images/L_ZERO and P_LINEAR.png b/hw1/images/L_ZERO and P_LINEAR.png new file mode 100644 index 0000000..37193ff Binary files /dev/null and b/hw1/images/L_ZERO and P_LINEAR.png differ diff --git a/hw1/images/L_ZERO and P_NEAREST.png b/hw1/images/L_ZERO and P_NEAREST.png new file mode 100644 index 0000000..115ec35 Binary files /dev/null and b/hw1/images/L_ZERO and P_NEAREST.png differ diff --git a/hw1/images/image1.png b/hw1/images/image1.png new file mode 100644 index 0000000..45b113e Binary files /dev/null and b/hw1/images/image1.png differ diff --git a/hw1/images/image2.png b/hw1/images/image2.png new file mode 100644 index 0000000..754eafd Binary files /dev/null and b/hw1/images/image2.png differ diff --git a/hw1/images/image3.png b/hw1/images/image3.png new file mode 100644 index 0000000..78aab9c Binary files /dev/null and b/hw1/images/image3.png differ diff --git a/hw1/images/image4.png b/hw1/images/image4.png new file mode 100644 index 0000000..a22e7e4 Binary files /dev/null and b/hw1/images/image4.png differ diff --git a/hw1/images/task11.png b/hw1/images/task11.png new file mode 100644 index 0000000..8c07e7d Binary files /dev/null and b/hw1/images/task11.png differ diff --git a/hw1/images/task12.png b/hw1/images/task12.png new file mode 100644 index 0000000..c5b1dc6 Binary files /dev/null and b/hw1/images/task12.png differ diff --git a/hw1/images/task21.png b/hw1/images/task21.png new file mode 100644 index 0000000..317de15 Binary files /dev/null and b/hw1/images/task21.png differ diff --git a/hw1/images/task22.png b/hw1/images/task22.png new file mode 100644 index 0000000..6277843 Binary files /dev/null and b/hw1/images/task22.png differ diff --git a/hw1/images/task23.png b/hw1/images/task23.png new file mode 100644 index 0000000..20d3c17 Binary files /dev/null and b/hw1/images/task23.png differ diff --git a/hw1/images/task31.png b/hw1/images/task31.png new file mode 100644 index 0000000..35f9d46 Binary files /dev/null and b/hw1/images/task31.png differ diff --git a/hw1/images/task41.png b/hw1/images/task41.png new file mode 100644 index 0000000..9bd4efc Binary files /dev/null and b/hw1/images/task41.png differ diff --git a/hw1/images/task42.png b/hw1/images/task42.png new file mode 100644 index 0000000..1245b4f Binary files /dev/null and b/hw1/images/task42.png differ diff --git a/hw1/images/task51.png b/hw1/images/task51.png new file mode 100644 index 0000000..e30249d Binary files /dev/null and b/hw1/images/task51.png differ diff --git a/hw1/images/task52.png b/hw1/images/task52.png new file mode 100644 index 0000000..22d20e8 Binary files /dev/null and b/hw1/images/task52.png differ diff --git a/hw1/images/task53.png b/hw1/images/task53.png new file mode 100644 index 0000000..cc1df15 Binary files /dev/null and b/hw1/images/task53.png differ diff --git a/hw1/images/task54.png b/hw1/images/task54.png new file mode 100644 index 0000000..e49e7fc Binary files /dev/null and b/hw1/images/task54.png differ diff --git a/hw1/index.html b/hw1/index.html index a7458a3..73d459b 100644 --- a/hw1/index.html +++ b/hw1/index.html @@ -1,7 +1,96 @@ - - - - - Homework 1 index.html here - - \ No newline at end of file + + + + +CS 184/284A Rasterizer + + + + + + + +

CS 184/284A: Computer Graphics and Imaging, Spring 2024

+

Homework 1: Rasterizer

+

YOUR NAME

+ +

+ +
+ +

Overview

+

Give a high-level overview of what you implemented in this homework Think about what you've built as a whole. Share your thoughts on what interesting things you've learned from completing the homework.

+ +

Section I: Rasterization

+ +

Part 1: Rasterizing single-color triangles

+ +

Here is an example 2x2 gridlike structure using an HTML table. Each tr is a row and each td is a column in that row. You might find this useful for framing and showing your result images in an organized fashion.

+ +
+ + + + + +
+ + + + +
+ +
Caption goes here.
+
+ +
Caption goes here.
+
+ +
Caption goes here.
+
+ +
Caption goes here.
+
+
+ + +

Part 2: Antialiasing triangles

+ + + +

Part 3: Transforms

+ + + +

Section II: Sampling

+ +

Part 4: Barycentric coordinates

+ + +

Part 5: "Pixel sampling" for texture mapping

+ + +

Part 6: "Level sampling" with mipmaps for texture mapping

+ + + +

Section III: Art Competition

+

If you are not participating in the optional art competition, don't worry about this section!

+ +

Part 7: Draw something interesting!

+ + + diff --git a/hw1/my_robot.svg b/hw1/my_robot.svg new file mode 100644 index 0000000..4cebc16 --- /dev/null +++ b/hw1/my_robot.svg @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +