Rendering - Project#3 Reflection Models

R96944043 PB

http://www.cmlab.csie.ntu.edu.tw/~zho/

 

 

Project #3

This project intends to get you familiar with pbrt's reflection models and you are asked to add plugins for data-driven reflection models to pbrt.

Implementation

Program factor.exe convert brdf data file to factorized data format.

factor.exe [input file] [options..]

where options:
-o FILE The output factorized file.
-k NUM The k value , default is 3.
-d NUM1 NUM2 The table resolution, default is 16 64.

There are factorized data files used in result.

spheres.pbrt
green-metallic-paint.fatorized
blue-rubber.factorized

Result


green-metallic-paint, the left sphere is tabulated material, the right is factorized material with k=3 table 16 x 64.


green-metallic-paint, 16 samples only, the right sphere is factorized material with importance sampling.


green-metallic-paint, the left killeroo is tabulated material, the right one is factorized material with importance sampling. Both resize to 1/2.


green-metallic-paint, the left is the tabulated material and the right is the factorized one.


blue-rubber, the left sphere is tabulated material, the right is factorized material with k=3 table 16 x 64.


green-metallic-paint, the left is the tabulated material and the right is the factorized one.


blue-rubber, the left is the tabulated material and the right is the factorized one.


Reference