HW #5
Hello everybody.
For this phase, I have added two new types of light sources: directional lights and spot lights. Neither of two was too complex to implement and results -especially for spot lights- look really nice. There is a tiny difference between my image and the reference image in dragon_spot_light_msaa scene but it is not related with spot lights, I guess. (It is probably an epsilon issue)
In the second part, tonemapping and EXR support are added. I have used OpenEXR 2.2.1 ( http://www.openexr.com/ ) for EXR support and even if building the library is a little bit time consuming task, it is pretty easy to use.
The technique used for tonemapping is the one described in "Photographic Tone Reproduction for Digital Images" by Reinhard et al (2002). However, my result and the reference image do not match completely. Mine is slightly darker than the reference one. I will update this post when I fix this problem.
Here are my results:
Thanks for reading.
UPDATE: I finally solved the tonemapping problem. Here is the new output for cube_point_hdr:
For this phase, I have added two new types of light sources: directional lights and spot lights. Neither of two was too complex to implement and results -especially for spot lights- look really nice. There is a tiny difference between my image and the reference image in dragon_spot_light_msaa scene but it is not related with spot lights, I guess. (It is probably an epsilon issue)
In the second part, tonemapping and EXR support are added. I have used OpenEXR 2.2.1 ( http://www.openexr.com/ ) for EXR support and even if building the library is a little bit time consuming task, it is pretty easy to use.
The technique used for tonemapping is the one described in "Photographic Tone Reproduction for Digital Images" by Reinhard et al (2002). However, my result and the reference image do not match completely. Mine is slightly darker than the reference one. I will update this post when I fix this problem.
Here are my results:
0.536589s
cube_directional (800x800, 1spp)
0.555880s
dragon_spot_light_msaa (800x800, 100spp)
153.085846s
Thanks for reading.
UPDATE: I finally solved the tonemapping problem. Here is the new output for cube_point_hdr:





Comments
Post a Comment