mmatl / pyrender

Easy-to-use glTF 2.0-compliant OpenGL renderer for visualization of 3D scenes.
http://pyrender.readthedocs.io/
MIT License
1.31k stars 226 forks source link

pyrender/platforms/osmesa.py", line 19, in init_context from OpenGL.osmesa import ( ImportError: cannot import name 'OSMesaCreateContextAttribs' from 'OpenGL.osmesa' #210

Closed lucasjinreal closed 2 years ago

lucasjinreal commented 2 years ago

pyrender/platforms/osmesa.py", line 19, in init_context from OpenGL.osmesa import ( ImportError: cannot import name 'OSMesaCreateContextAttribs' from 'OpenGL.osmesa'

Please upgrade PyOpenGL requirements to

image

ktiwary2 commented 2 years ago

I'm facing the same issue, were you able to fix it?

lucasjinreal commented 2 years ago

@ktiwary2 No, I uninstalled pyrender, and block this stupid lib forever, it introduced a lot of problem on any platform. I turned using real render, pip install realrender. It was faster than pyrender, gives me realtime render on CPU. while pyrender need about 70ms -80ms, but realrender just need 4ms....