RenderToolbox / RenderToolbox4

Matlab toolbox for managing 3D scenes and physically-based rendering.
MIT License
48 stars 7 forks source link

Put "temp" folder outside normal working folder #5

Open benjamin-heasly opened 8 years ago

benjamin-heasly commented 8 years ago

RenderToolbox sometimes generates large intermediate files like modified scene documents. Currently these end up in the temp folder under a recipe's working folder.

Some users might prefer to send these temp files to a separate location, like a separate scratch drive. In this case, temp files would not be packed up along with the rest of a recipe, so they would not be portable.

We could add an optional tempFolder to the RenderToolbox3 configuration. When supplied, intermediate files would be sent to this folder. Otherwise they would be sent to the default temp folder under the recipe's working folder.