-
Notifications
You must be signed in to change notification settings - Fork 440
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
windows may not support EGL #969
Labels
bug
Something isn't working
Comments
Thanks for the hint, should now be fixed in v2.6.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue
Hey,
Thank you for this nice repo. I achieved automated rendering process with BlenderProc v2.5.0, on the Windows platform.
Now, I have upgraded the project to v2.6.0, but I am unable to run my preivous work.
I noticed that pyrender is used in BopWriterUtility.py.
set 'os.environ['PYOPENGL_PLATFORM'] = 'egl''
However, there is no EGL implementation on the Windows platform. headless render work in linux platform
As commenting out this line, I can use my render pipeline.
Perhaps this part needs to be distinguished based on the operating platform.
Minimal code example
Files required to run the code
No response
Expected behavior
import sys
if sys.platform == 'linux':
os.environ['PYOPENGL_PLATFORM'] = 'egl'
pylint: disable=wrong-import-position
import pyrender
pylint: enable=wrong-import-position
BlenderProc version
v2.6.0
The text was updated successfully, but these errors were encountered: