/RayTracer-in-C

Windows Edition of BC-RayTracer

Primary LanguageC++

RayTracer-in-C

Windows edition of BC-RayTracer

Usage

  • First, clone this repo.

    git clone https://github.com/NUISTGY/RayTracer-in-C.git

  • Using g++ command with O3 optimization which is necessary.

    g++ -O3 Raytracer.cpp -o a.out

  • Then, Redirect to .ppm format.

    a.out > output.ppm

  • Run show.py to view the output image: