How do you use headless contexts in a loop? #453
Unanswered
mehulshinde
asked this question in
Q&A
Replies: 1 comment
-
Looks like you're creating multiple headless contexts? You should only create one and use that in each loop. Also, you cannot use OpenGL rendering in threads, it's not supported. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the headless context to build images of
glb
files. My code looks very similar to the headless example. However, when I run the method in a loop to generate images of multipleglb
files, I run into the following error:I am not sure how threading works in this set up so excuse me if there is an obvious thing I am missing here.
Beta Was this translation helpful? Give feedback.
All reactions