2 Mayıs 2017 Salı

Homework 7

External libraries used:
- tinyxml2 (tinyxml2.h, tinyxml2.cpp are provided in the homework files.)
- lodepng (lodepng.h, lodepng.cpp are provided in the homework files.) 
- Eigen (Can be obtained from http://eigen.tuxfamily.org/) 
- jpeglib

Command to compile:
g++ -I /usr/include/eigen3/ -std=c++11 -O3 main.cpp RayTracer.cpp ray.cpp shape.cpp light.cpp tinyxml2.cpp lodepng.cpp BVH.cpp texture.cpp -o RayTracer -ljpeg

Computer specs:
Intel Core i7-2630QM CPU @ 2.00 GHz, 6 GB RAM

Running the ray tracer:
./RayTracer command should be fed by the relative path of the input file, e. g.,
./RayTracer 795_input_set_06/skybox.xml

This week's task was to implement bump mapping which creates a sense of depth in texture mapping. 
File Name: bump_mapping_basic.xml
Anti-Aliasing: MSAA with 36 sample per pixel
File Name: sphere_bump_nobump.xml
Anti-Aliasing: MSAA with 36 sample per pixel

File Name: killeroo_bump_walls.xml
Anti-Aliasing: MSAA with 16 sample per pixel
Render Time: 1 minute 51.583 seconds

File Name: bump_mapping_transformed.xml
Anti-Aliasing: MSAA with 36 sample per pixel
Comments: Scaling problem in spheres seems to be solved. However, cobblestone texture does not seems to rotated exactly in the outputs provided probably due to a small bug.

Hiç yorum yok:

Yorum Gönder