OpenGL.error
Taylorminer opened this issue · 3 comments
Taylorminer commented
littlejiumi commented
mmatl/pyrender#86 (comment)
Maybe this can help you~
xiwang1212 commented
I encountered the same problem which seems to be caused by EGL, and need to change to OSMesa following the steps described here: https://pyrender.readthedocs.io/en/latest/install/index.html.
To run the demo, the following setting needs to be changed from 'egl' to 'osmesa' in both demo.py and utils/vibe_renderer.py
import os
os.environ['PYOPENGL_PLATFORM'] = 'osmesa' # 'egl' --> 'osmesa'
Then I need to make another somehow weird change at
PARE/pare/utils/vibe_renderer.py
Line 126 in 03f084d
to
output_img = rgb * valid_mask + (1 - valid_mask) * img
mkocabas commented
Thanks for the proposed solutions @xiwang1212, @littlejiumi!