erebus

diff liberebus/src/erebus_impl.h @ 31:53a98c148bf8

- introduced SurfaceGeometry to carry all the geometric information input to BRDF sampling and evaluation functions. - made Reflectance keep an (optional) pointer to its material - simplified PhongRefl::sample_dir, with the help of SurfaceGeometry - worked around microsoft's broken std::thread implementation's deadlock on join
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 07 Jun 2014 09:14:17 +0300
parents c8a6fb04fefa
children 9d6368850fe1
line diff
     1.1 --- a/liberebus/src/erebus_impl.h	Sat Jun 07 06:10:21 2014 +0300
     1.2 +++ b/liberebus/src/erebus_impl.h	Sat Jun 07 09:14:17 2014 +0300
     1.3 @@ -28,7 +28,7 @@
     1.4  	Image<float> accum;	// sample accumulator per pixel
     1.5  	Option options[ERB_NUM_OPTIONS];
     1.6  
     1.7 -	ThreadPool tpool;
     1.8 +	ThreadPool *tpool;
     1.9  
    1.10  	// render state
    1.11  	float inv_gamma;