Commit Graph

64 Commits

Author SHA1 Message Date
Miguel Angel Astor Romero
85ff1de130 Removed an inline. 2017-02-10 13:33:19 -04:00
79b2aa4553 Fixed a bug with the fresnel term. 2017-02-10 03:52:31 -04:00
0cdc7c46ca sphere and disk area lights mostly ready (I think :S). 2017-02-09 23:37:40 -04:00
Miguel Angel Astor Romero
944ae05db7 Added groundwork for area lights. Added irony-mode CDB. 2017-02-07 16:41:58 -04:00
fd1dc0febd More scenes. 2017-01-21 01:17:45 -04:00
337e1deefb More scenes. 2017-01-21 00:13:40 -04:00
Miguel Angel Astor Romero
0eced5e365 New pretty image :P 2017-01-20 12:23:27 -04:00
Miguel Angel Astor Romero
5970be923b Assorted bug fixes. 2017-01-20 12:13:42 -04:00
Miguel Angel Astor Romero
33aba8cae2 Scene loads light sources now. 2017-01-19 09:39:10 -04:00
20a672388f Added scene2.json 2017-01-18 23:40:47 -04:00
e99d390aab Added scene4.json 2017-01-18 23:07:41 -04:00
c242824f71 AGHH! 2017-01-18 21:49:46 -04:00
2823a16b72 Forgot to remove needless includes. 2017-01-18 21:47:50 -04:00
d0ffec8f60 Scene reader reads figures now. 2017-01-18 21:46:24 -04:00
Miguel Angel Astor Romero
5edccd4d30 Started scene reader. Added libjson-spirit dependency. 2017-01-18 17:26:09 -04:00
Miguel Angel Astor Romero
965b04ca39 Added emissive color to material. 2017-01-17 17:20:58 -04:00
Miguel Angel Astor Romero
8d341b9a25 Added image-based lighting with HDR images. 2017-01-17 17:09:25 -04:00
Miguel Angel Astor Romero
04618e518e Added tone mapping with FreeImage. 2017-01-16 12:44:45 -04:00
Miguel Angel Astor Romero
8e2b2a8c2a Added Heidrich-Seidel anisotropic BRDF. 2017-01-13 15:05:13 -04:00
b7f7ba7ee1 Prints with colors! 2017-01-13 00:42:28 -04:00
5857950058 Added some informative prints. 2017-01-13 00:34:52 -04:00
Miguel Angel Astor Romero
e720859918 More farting with the camera. 2017-01-12 17:35:17 -04:00
Miguel Angel Astor Romero
54979c3818 Made some camera attributes private. 2017-01-12 17:29:18 -04:00
Miguel Angel Astor Romero
724a98f8a0 Added camera abstraction. 2017-01-12 17:23:11 -04:00
Miguel Angel Astor Romero
991d339b65 Forgot to update the TODO file. 2017-01-12 14:44:50 -04:00
Miguel Angel Astor Romero
6cce845e57 Farting around with main. 2017-01-12 14:43:56 -04:00
Miguel Angel Astor Romero
7768480b96 Figures can specify BRDF in constructor. 2017-01-12 14:34:44 -04:00
Miguel Angel Astor Romero
d6c2b231ea Added destructor to material. 2017-01-12 14:17:47 -04:00
Miguel Angel Astor Romero
fd510fb137 Added spot lights. 2017-01-12 14:15:59 -04:00
Miguel Angel Astor Romero
f7f912ff82 Moved BRDF to material definition. 2017-01-12 13:38:42 -04:00
Miguel Angel Astor Romero
8c33e46b3d Added recursion depth as a CL option. 2017-01-12 13:03:29 -04:00
Miguel Angel Astor Romero
f93635b03b Better handling of command line arguments. 2017-01-12 10:54:48 -04:00
Miguel Angel Astor Romero
a7b025ce5e Chagned a cast. 2017-01-11 15:28:37 -04:00
Miguel Angel Astor Romero
a6821c429d Minor changes. 2017-01-11 14:54:46 -04:00
Miguel Angel Astor Romero
f150f8f24c Separated BRDF from light source. 2017-01-11 14:51:21 -04:00
Miguel Angel Astor Romero
a9670e93f0 Separated Whitted from Path Tracing. Added FreeImage dependecy. 2017-01-11 13:45:17 -04:00
ea7529f995 Changed the camera a bit. 2017-01-09 21:06:24 -04:00
Miguel Angel Astor Romero
71c09ce6cb Added distant environment lighting. 2017-01-09 12:54:19 -04:00
74bec05883 Farting around with the scene. 2017-01-09 03:12:36 -04:00
185544e0d5 Changed the scene a bit. 2017-01-08 20:33:53 -04:00
681fa9c823 Reflective materials have lightning now. 2017-01-07 21:42:50 -04:00
d46f4abdab Made Tracer an abstract class. 2017-01-05 17:59:04 -04:00
96fe34975e Added indirect illumination. 2017-01-05 06:16:14 -04:00
3f13372071 Added TODO list. 2017-01-04 19:20:46 -04:00
cbc06150ac Better makefile. 2017-01-02 04:41:50 -04:00
720aec886b Cool image. 2017-01-02 04:27:11 -04:00
fb887ae0f0 Added point lights. 2017-01-02 04:23:48 -04:00
a0381b4fff Added modelview matrix. 2017-01-02 02:39:24 -04:00
e9986a923f Removed cmath dependency. 2017-01-02 00:23:04 -04:00
806040018e Added refractions and fresnel. 2017-01-02 00:08:22 -04:00