Revision 4 as of 2007-04-12 09:33:36

    PriscillaPham/Assignment 1

Assignment 1

Installation

I built and installed pbrt on Mac OSX 10.4.9, Intel Macbook Pro. It was relatively painless, as was the installation of OpenExr. I had to fiddle with my .cshrc file a bit so that all the correct paths were included and the LD_LIBRARY_PATH variable was set correctly but it wasn't too difficult. Some people doing this on OSX had trouble installing tools because they don't have pkg_config that you can install from fink, but fortunately I did not run into this problem since I had installed it previously for OpenCV. I discovered that Preview for OSX also conveniently displays .exr formats.

Rendering

Initially I found it helpful for my familiarization of the language to change the values of the variables. After a while I found it tedious however and wished there was some gui method for changing the size/position of the lights/head. During the tweaking stage I

  • render 300x300 images
  • sample each output pixel using 2 rays in the Sampler
  • specify 1 level of subdivision for this object
  • sample 2 for area lights

to reduce the time it took to render. Once I found the best positioning of the lights with the low quality rendering, I upped the values to

  • sample each output pixel using 4 rays
  • specify 4 levels of subdivision for this object
  • sample 10 for area lights

for a final high quality image.

I ran a script every time I wanted to review a change: pbrt config_1.pbrt ; exrtotiff lighting.exr config_1.png ; open config_1.png instead of typing in each command repeatedly. An online documentation of pbrt would have proved useful but it seems like the folks who own pbrt are not cool with posting such material online.

Experimentation

Recent