-
Notifications
You must be signed in to change notification settings - Fork 0
/
exercises.json
201 lines (200 loc) · 5.65 KB
/
exercises.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
[
{
"title": "01 Introduction to the exercises: Setup and index into a linearized array",
"entries":
[
{
"title": "Fill Screen",
"description": "Fill the entire buffer with a constant RGBA color #FF0000FF (red)",
"file": "fillscreen.html"
}
]
},
{
"title": "02 Creating patterns",
"entries":
[
{
"title": "Gradient",
"description": "Fill the buffer with a gradient from black to white (horizontal)",
"file": "gradient.html"
},
{
"title": "Checkerboard",
"description": "Create a checkerboard in the buffer by alternating between black and white patches",
"file": "checkerboard.html"
},
{
"title": "Simple Circle",
"description": "Warm up in thinking about distances",
"file": "circlesimple.html"
},
{
"title": "Circle",
"description": "Circle with movable center",
"file": "circle.html"
}
]
},
{
"title": "03 Quantisation",
"entries":
[
{
"title": "Grayscale",
"description": "Convert an RGB image to brightness values",
"file": "grayscale.html"
},
{
"title": "Quantisation to 4 brightness values",
"description": "Posterize an RGB image to 4 brightness values",
"file": "quantisegrayscale.html"
},
{
"title": "Quantisation to 4 values per color channel",
"description": "Posterize an RGB image to 4 brightness values per color channel",
"file": "quantisecolor.html"
},
{
"title": "Quantisation with intensity sampling",
"description": "Posterize an RGB image to 4 brightness values with intensity sampling",
"file": "quantisecoloradaptive.html"
},
{
"title": "Gamma correction",
"description": "Perform gamma correction on an image",
"file": "gammacorrection.html"
}
]
},
{
"title": "04 Lines",
"entries":
[
{
"title": "Simple DDA",
"description": "Draw a single line with the DDA algorithm",
"file": "ddasimple.html"
},
{
"title": "Simple Bresenham",
"description": "Draw a single line with the Bresenham algorithm",
"file": "bresenhamsimple.html"
},
{
"title": "DDA",
"description": "Draw lines with the DDA algorithm",
"file": "dda.html"
},
{
"title": "Bresenham",
"description": "Draw lines with the Bresenham algorithm",
"file": "bresenham.html"
}
]
},
{
"title": "05 Raytracing",
"entries":
[
{
"title": "Basic Raytracing",
"description": "Raytrace a single sphere",
"file": "raytracing.html"
},
{
"title": "Enhanced Raytracing",
"description": "Raytrace many spheres",
"file": "manyspheres.html"
}
]
},
{
"title": "06 Phong",
"entries":
[
{
"title": "Basic Lighting",
"description": "Introduce lighting in your scene",
"file": "phong.html"
}
]
},
{
"title": "07 Transformations",
"entries":
[
{
"title": "Basic Transformations",
"description": "Transform objects with matrices",
"file": "matrix.html"
}
]
},
{
"title": "08 Scene Graph",
"entries":
[
{
"title": "Basic Scene Graphs",
"description": "Arrange objects in a hierarchical data structure and render them",
"file": "scenegraph.html"
}
]
},
{
"title": "09 Rasterization",
"entries":
[
{
"title": "WebGL",
"description": "Understand rasterisation with WebGL",
"file": "rasterisation.html"
}
]
},
{
"title": "10 Shading",
"entries":
[
{
"title": "Shading and Texturing",
"description": "Use Phong lighting and texturing to improve the rendering",
"file": "shading.html"
}
]
},
{
"title": "11 Perspective",
"entries":
[
{
"title": "",
"description": "Bring in perspective",
"file": "perspective.html"
}
]
},
{
"title": "12 Animation",
"entries":
[
{
"title": "",
"description": "Make it move",
"file": "animation.html"
}
]
},
{
"title": "13 Quaternions",
"entries":
[
{
"title": "",
"description": "A different way to express rotations",
"file": "quaternions.html"
}
]
}
]