Build with:
$ make <math|physics|misc> no=<experiment number under each directory>
Each experiment number corresponds to the prefix of a file under ./lab/<genre>/
.
For example,
$ make physics no=08
and run produced a.out
to see the result.
Most of the experiments support the following user input.
Input | Operation |
---|---|
🖱 | Look around |
W | Go forward |
A | Go left |
S | Go backward |
D | Go right |
T | Take a picture |
P | Switch projection matrices |
0️⃣-9️⃣ | Switch cameras |
No | Category | Experiment |
---|---|---|
01 | CG | Learn how matrices is like in each space |
02 | CG | Orthographic projection. Play with different projection matrices by pressing "P". |
No | Category | Experiment |
---|---|---|
01 | - | Take a picture |
02 | - | Multiple cameras. Switch cameras by pressing numbers. |
03 | Art | You can "touch" a cube with mouse. |