I feel like often times when I run piRender(recipe) as opposed to piRender(filename), I will have forgotten to run piWrite(recipe) beforehand. This has happened multiple times and was a problem Anqi had for a while as well. It can be extra confusing, since it sometimes will render a previous version of the recipe (whatever PBRT file is already in the working directory), thus giving confusing results.
Should we maybe put in an automatic piWrite within piRender when we pass it a recipe?
I feel like often times when I run piRender(recipe) as opposed to piRender(filename), I will have forgotten to run piWrite(recipe) beforehand. This has happened multiple times and was a problem Anqi had for a while as well. It can be extra confusing, since it sometimes will render a previous version of the recipe (whatever PBRT file is already in the working directory), thus giving confusing results.
Should we maybe put in an automatic piWrite within piRender when we pass it a recipe?