Before installing, please make sure gcc
, make
and cmake
are installed.
Run the following commands to compile the program:
cmake -G "CodeBlocks - Unix Makefiles" ./
make
This will create an executable with the name cse570project2
In order to execute the program, you must provide 2 arguments, the input location and the output location. Here is a sample execution command:
./cse570project2 Data/bunny.obj ./bunny2.obj
This creates a file bunny2.obj which has the subdivided mesh.