scenejs-render icon indicating copy to clipboard operation
scenejs-render copied to clipboard

Please allow us to specify the folder for .scene_cache (problem when running multiple instances at the same time)

Open vesper8 opened this issue 3 years ago • 2 comments

I'm trying to run multiple instances of render at the same time to speed up the process of creating thousands of animations. This works fine on my system except for the fact that the .pngs get mixed up as all instances are trying to use the same cache folder for temporary pngs

This would be easily remedied by allowing us to specify the folder cache.. or perhaps better yet, if it could be randomized every time render is run to prevent collision.

I hope you consider adding this! Many thanks!

vesper8 avatar Oct 04 '22 17:10 vesper8

@vesper8

Okay I'll consider it. maybe in next week

daybrush avatar Oct 10 '22 18:10 daybrush

@vesper8

@scenejs/render's new version is released.

--cacheFolder arg is added

$ render --cacheFolder .scene_cache1
$ render --cacheFolder .scene_cache2

And this issue https://github.com/daybrush/scenejs-render/issues/18 is solved. Check it again.

Thank you :)

daybrush avatar Dec 14 '22 19:12 daybrush