Generates random computer graphics math problem .tex
files.
- 2d collision (point and line)
- Camera translation
- Lighting (Phong lighting, single light)
- Rasterization
- Bezier curves
- Window to viewport mapping
- Clipping
In the root directory:
py src/make_all.py
or
py src/make_all.py 25
if you want a specific number of problems of each type (in this case, 25). The default is set as 5. You can also use the bat/bash scripts which accept the optional count argument as well. This will produce .tex
output in the directory ./tex/out/
.
The tests are mostly aimed at the solvers and partially the generators. There are scripts in the root folder to run them (which should be run from the root).