raytracingDevTeam / raytracing

Raytracing source code from Shirley's Raytracing in One Weekend
MIT License
0 stars 0 forks source link

Feature/command line parameters #34

Closed andrearastelli closed 6 years ago

andrearastelli commented 6 years ago

Command argument parameter functionality.

Now we can define custom image resolution, output and samples, using command arguments.

If no argument is specified, the default values will be used: width 200, height 100, samples 8, output temp.ppm.

I've also updated the run.sh script for windows. Let me know if that causes you some problem.

andrearastelli commented 6 years ago

@Ale32 what do you mean?