pyrender
pyrender copied to clipboard
RGBA flag fails when using osmesa backend
Following #4, I set the bg_color and RenderFlags as follow, but the output color has a shape of h x w x 3 (h x w x 4 is expected).
scene = pyrender.Scene(bg_color=[1.0, 1.0, 1.0, 0.0]) \ flags = pyrender.RenderFlags.RGBA \ r = pyrender.OffscreenRenderer(h, w) \ color, depth = r.render(scene, flags=flags)
Additionally, I set os.environ["PYOPENGL_PLATFORM"] = "osmesa", which is the only difference between my testing script with other demo (https://github.com/JonathanLehner/Colab-collection/blob/master/pyrender_hand.ipynb).
Hi, @Hellomodo
I met the same problem, have solved this problem?
B.R.
Not yet, I have to use EGL backend。
Same issue here. Any solution yet?
Same issue !! Any solution yet?
Hi, I also have this issue
having the same issue. any ideas about workarounds? using a server without GPU, so EGL is not an option
@mmatl can you please comment? any chance this will be solved?
bug not fixed yet