shunsukesaito / PIFu

This repository contains the code for the paper "PIFu: Pixel-Aligned Implicit Function for High-Resolution Clothed Human Digitization"
https://shunsukesaito.github.io/PIFu/
Other
1.75k stars 342 forks source link

OpenGL.error(s) #76

Closed ckxz closed 3 years ago

ckxz commented 3 years ago

Hi @shunsukesaito, I'm currently facing a problem previously reported (and supposedly solved) in issue #16. Running render_data.py on macOS (no GPU) yields a GLError because loadShader fails to compile any shader:

imatge

If I run the same script on a Win64 (with GPU) a different error is raised:

OpenGL error on Windows

Are these errors related only to the OS? I have no access to a Linux machine. I'd really appreciate if you could give me a hand solving this. Keep up the awesome work.

ckxz commented 3 years ago

Hi @electronicliujiang, Could you please share how was your problem discussed in #16 dealt with? What operating system were you working on? Beyond my efforts to make it run on macOS and Windows, I am getting headless rendering related errors (freeglut (foo): failed to open display '') when running it on colab (Linux kernel). Would really appreciate your help!

ckxz commented 3 years ago

Running it on a Linux machine (with libosmesa6-dev and freeglut3-dev installed) did the work.

bluestyle97 commented 3 years ago

I meet this problem on a Linux machine on which libosmesa6-dev and freeglut3-dev have been properly installed. Finally I solve it by export MESA_GL_VERSION_OVERRIDE=3.3 before running render_data.py.