Kayıtlar

Mayıs, 2018 tarihine ait yayınlar gösteriliyor

Homework 6 - All about BRDF

Resim
In the sixth assignment of CENG795, we are expected to introduce BRDFs for lighning computations, such as: Phong BRDF Modified Phong BRDF Normalized Modified Phong BRDF Blinn-Phong BRDF Modified Blinn-Phong BRDF Normalized Modified Blinn-Phong BRDF  Torrance-Sparrow BRDF  A few notes about my outputs: In killeroo scenes, my outputs are slightly different. I think that, main reason of this result is differences of smooth shading. Probably my way of calculating vertex normals is slightly different.  While my png outputs for tonemapped scenes are similar to the reference outputs, my exr outputs are not same for same exposures. I used OpenCV for image writing, since it handles all file types with one image writing function. I will try to use tinyexr when I'm available. My outputs: brdf_phong_original brdf_phong_modified brdf_phong_modified_normalized brdf_blinnphong_original brdf_blinnphong_modified brdf_blinnphong_modified_...

Homework 5 - Additional Light Sources, Tonemapping, HDR Output

Resim
In the fifth assignment of CENG795, we are expected to introduce many new features to the ray tracer, such as: Directional Light Sources Spot Light Sources Photographic Tonemapping HDR Output In this assignment, I removed lodepng library and added OpenCV library to be able to generate both png and exr outputs. Directional and Spot Light Sources To introduce new light sources, I implemented an virtual base named "Light" for all the light sources. After converting old light types(which are point and area), I implemented Directional and Spot Light sources. My outputs are: cube_directional.png(800x800) is saved in: 72 milliseconds 499 microseconds dragon_spot_light_msaa.png(800x800) is saved in: 20 seconds 363 milliseconds 401 microseconds   Photographic Tonemapping For photographic tonemapping, I followed Reinhard's Photographic Reproduction Technique ( http://www.cmap.polytechnique.fr/~peyre/cours/x2005signal/hdr_photographic.pdf ). Note that...