- build with cmake as debug (using any toolchain, I love CLion
- using
cd
to change directory tocmake-build-debug
(or any other build directory if you are using other toolchain) - for all normal part, run the code as write up
- for 1-2 boxing extra credit, it is already implemented in the code
- prep for 1-4 extra credit, run the python script jsonGen.py as instructed in my comment, to make you easy, I have already generated the json files under
/sun
/piggy
/transformation_2
- for 1-4 line and curve extra credit, run the code with `.balboa -animation dir"
./balboa -animation ../sun
./balboa -animation ../piggy
./balboa -animation ../transformation_2
- for 1-7, my own scene is under
scenes/hw1/hw_1_7.json
directory, ashw_1_7.json
. The generated image is underoutput
directory ashw_1_7.png
. If you want to run yourself, using the command:
./balboa -hw 1_7 ../scenes/hw1/hw_1_7.json
- for 1-8, line and curve is hard coded. Two lines and Two curve. It is name as hw_1_8.png under
output
directory. If you want to run yourself, using the command:
./balboa -hw 1_8
- for the normal and 1-2 extra credit, the output is under
/output
directory as write up required - for the 1-4 extra credit, the output is under
/output/animation
directory - for the 1-4 source img out, the output is under
/cmake-build-debug
directory withprefix out_[name]
- for 1-8 extra credit, the output is under
/output
directory withhw_1_8.png
name