-
Notifications
You must be signed in to change notification settings - Fork 316
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
Headless/Offscreen rendering #1900
Comments
As far as I know Kha doesn't support offscreen rendering, there is the node target which can be used to execute Kha applications headless but they won't draw something at all, many functions are just empty on that target. It's good for unit testing Kha applications for example but that's it (I think). Would be nice to have! |
@MoritzBrueckner Is this still valid (Kha not supporting off screen rendering). Is Armory still not supporting headless rendering? |
@Amir-Arsalan I do think so, yes. There is this Kha issue linked to a Kinc issue, maybe ask there if there is any progress. There seems to exist a workaround but I don't know how well it works. |
@MoritzBrueckner Thanks. I took a quick look at that issue and some relevant ones but haven't been able to get a clear answer as some people there is a way around this and some say there isn't. @luboslenco Do you know if it's possible to do headless rendering with Armory? If full background rendering is not supported for Armory/Kha at the moment, is there a workaround for background rendering with Armory with a virtual window? Would the rendering speed does get affected via background rendering with a virtual window? |
@MoritzBrueckner @luboslenco I also have the same issue and haven't been able to run Armory in the background on Ubuntu 16.04, 18.04 and 20.04 after trying some random, and honestly I think somewhat irrelevant, things that I saw on the internet. I just learned about this issue here and learned that I need to change something in Kha but I'm not sure what exactly those changes entail. Would you be able to write a small tutorial on how one can render things in the background with Armory? |
Part of my deployment scenario requires Headless/Offscreen rendering (in this case, inside of Docker containers) - for example, as might be used for rendering movies or streaming games from the server. I'm not seeing a documented way to do this at the moment.
I know this is possible in the general sense (UnrealEngine, for one example), but not whether Kha supports this, or whether it was a planned feature.
The text was updated successfully, but these errors were encountered: