Enhancing Simplicity and Performance in Headless (glTF) Rendering #13596
Unanswered
vincent-herlemont
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to do a headless glTF rendering. I found a very simple example here: https://bevyengine.org/examples/3D%20Rendering/load-gltf/
However, for headless rendering.
I found this example: headless_renderer.rs.
The headless renderer example raises some questions for me about its complexity, the need to communicate between the “main world” and the “render world”. Isn’t it possible that at the end of the setup we could take a screenshot without needing multiple “worlds”? To render the image immediately after loading it, without needing the update system described here
headless_renderer.rs#L476-L547
.In other words, is there a simpler way to do a headless renderer?
There might also be a performance concern, as it takes ~2 seconds to generate the image with this example. Is there a faster way to do it?
Beta Was this translation helpful? Give feedback.
All reactions