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

How to use vapory to generate multiple images? #62

Open
tsellou opened this issue Nov 27, 2021 · 3 comments
Open

How to use vapory to generate multiple images? #62

tsellou opened this issue Nov 27, 2021 · 3 comments

Comments

@tsellou
Copy link

tsellou commented Nov 27, 2021

Hello.
I generate one image-scene using the example code provided.
I want to generate more images in a for loop but each time a scene is generated a povray windows pops up and I have to close it in order to generate another one image.
How can I fix this to generate many images at a time?
Thanks in advance.

@snellejelle99
Copy link

Same problem here, I think its a windows thing.

@snellejelle99
Copy link

I managed to get it working by insterting the line:
cmd.append("/EXIT") at line 120
To the render_povstring function in vapory.py

This is a windows specific argument to close the gui after rendering.

@kumari-jaya
Copy link

cmd.append("/EXIT") worked for me too

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

3 participants