Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to change the filename for __temp__.pov to enable it to run in parallel sessions? #59

Open
metalaureate opened this issue May 25, 2021 · 3 comments

Comments

@metalaureate
Copy link

I am trying to run multiple provray sessions in parallel (off a job queue), but they conflict over __temp__.pov--when rendering, this file is locked and cannot be opened by a parallel instance. I was wondering if anyone here knew how to make povray operate with non-conflicting temp file resources.

@snellejelle99
Copy link

Hi if your are running povray 3.7 then rendering is already done with multi threading and will utilize your cpu 100%. Opening more instances of povray won't make it go significantly faster since 2 instances will then each get 50%. I therefore suggest that you complete your job queue sequentially.

@kumari-jaya
Copy link

You can try running it sequentially like in a loop . As mentioned by @snellejelle99 , it might crash your system .

@rojizo
Copy link

rojizo commented Feb 1, 2023

You can add tempfile named argument to the render method of the scene

scene.render("image.png", width=1920, height=1080,antialiasing=0.001,tempfile="filename")

I'm using this to use of a cluster to build a video

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants