PBRT scene file parser and writer