Project for Computer Graphics Class using OpenGL / GLUT.
Nota Final: 20/20
$ ./scripts/build.sh
$ ./cg-engine <path>
Para correr o projeto com o vsync desativado (em máquina Linux):
$ export vblank_mode=0 && ./cg-engine <path>
$ ./cg-generator <model> [args] <path>
Model | args |
---|---|
plane |
<length> <divisions> |
box |
<length> <divisions> |
cylinder |
<radius> <height> <slices> |
cone |
<radius> <height> <slices> <stacks> |
sphere |
<radius> <slices> <stacks> |
torus |
<innerRadius> <outerRadius> <slices> <stacks> |
patch |
<bezier_patch> <tesselation> |