-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hello,
Thank you for the great work(s)!
I set up an environment on WSL, but perhaps due to a flaw in WSL, I couldn't use EGL to render. So, I use OSMESA to render and comment the command:
if 'PYOPENGL-PLATFORM' not in os. environment:
os.environ['PYOPENGL_PLATFORM'] = 'egl'
Revise to:
os.environ['PYOPENGL_PLATFORM'] = 'osmesa'
The demo can run smoothly, but an error occurred:
cam_view = renderer.render_rgba(verts, pointclouds_up + palm + objtrans, cam_t=cam_t, render_res=(224, 224), is_right=True, **misc_args)
The size of the cam-view obtained in this step is (224,224,3) instead of (224,224,4)
so I manually added an alpha_channel=np.ones((cam_view.shape[0], cam_view.shape[1], 1))
cam_view = np.concatenate([cam_view, cam_view], axis=-1)
The final result of visualizing the test2.json file is:
The reconstructed object point cloud is not as good as described in the paper. Is it due to issues with cam-view and not using EGl rendering, or is the result just like this.
