THU-DA-6D-Pose-Group / Self6D-Diff-Renderer

The differentiable rendering code for "Self6D: Self-Supervised Monocular 6D Object Pose Estimation (ECCV 2020, oral)"
Apache License 2.0
105 stars 15 forks source link

How to prepare customized object models #9

Closed DaoyiG closed 3 years ago

DaoyiG commented 3 years ago

Hi!

Thanks for sharing this renderer!

I would like to render my customized object models which come already in .obj format (Wavefront) with texture. To add color information on each vertex I use "Filters/Color Creation and Processing/Ambient Occlusion" in MeshLab, and this will indeed make each vertex contains the RGB information, e.g. v -0.016006 0.029566 0.032946 0.964706 0.964706 0.964706 However, the object in the rendered images still seems to have no color and it's basically purely in white. So I wonder what I should do to solve this issue.

Thanks!

wangg12 commented 3 years ago

Because the color of your model is nearly white: 0.964706 0.964706 0.964706. You need to assign the actual color for the .obj file.

DaoyiG commented 3 years ago

Thanks! Problem solved!