mcfletch / pyopengl

Repository for the PyOpenGL Project
Other
315 stars 97 forks source link

PyOpenGL3.1.5 #69

Open FlorianBertonBrightClue opened 2 years ago

FlorianBertonBrightClue commented 2 years ago

Hello,

Were you planning to update the version of PyOpenGl. In the latest (3.1.5) there is osmesa, so by using this were not a dependency toward your fork of PyOpenGL.

I made a fork of pyrender (https://github.com/FlorianBertonBrightClue/pyrender) where I change in the setup.py 'PyOpenGL==3.1.0' to 'PyOpenGL>=3.1.5'

And I ran your coverage test. Only one was failling (test_meshes):

E       assert None is not None
E        +  where None = <pyrender.material.MetallicRoughnessMaterial object at 0x7fb4ec8f7d90>.emissiveTexture
E        +    where <pyrender.material.MetallicRoughnessMaterial object at 0x7fb4ec8f7d90> = <pyrender.primitive.Primitive object at 0x7fb4ec8f7df0>.material

tests/unit/test_meshes.py:121: AssertionError