qianlim / SCALE

Official implementation of "SCALE: Modeling Clothed Humans with a Surface Codec of Articulated Local Elements", CVPR 2021 https://arxiv.org/abs/2104.07660
https://qianlim.github.io/SCALE
Other
148 stars 12 forks source link

posmap error #17

Closed 1815565 closed 6 months ago

1815565 commented 6 months ago

Excellent work! But why when I run the command" python lib_data/pack_data_example.py", it will appear the error"'Compilation failure for fragment shader:b"0:7(1): error: if a fragment input is (or contains) an integer, then it must be qualified with 'flat'\n0:7(8): error: `gl_PrimitiveID' redeclared"'?

qianlim commented 6 months ago

Hi, this sounds like an OpenGL error which I can't reproduce. On which platform are you using the code?

1815565 commented 6 months ago

Thanks for your quick reply. I use the Ubuntu20.04,and the version of pyopengl is 3.1.0.

1815565 commented 6 months ago

oh~, I just solve the problem by deleting the "in int gl_PrimitiveID;" in "pos_uv.fs".

qianlim commented 6 months ago

Oh sorry for my late response. Great to hear that it's resolved!