/Phongs-illumination-model-cpp-code

Computer Graphics | Phongs illumination model written in c++ | Eigen Library for vector calculations

Primary LanguageC++

Phongs-illumination-model-cpp-code

Computer Graphics Phongs illumination model written in c++

Sirusbeck Algorithm

Calculates

  1. amb_Illum
  2. diff_Illum
  3. phong_Illum

Give input via ill.in file

Run:

g++ -I ./lib/eigen-3.3.9/Eigen Illum.cpp -o eill
./eill < ill.in