finished first stage of pbrtCreate and pbrtPrint