AutoAvatar
AutoAvatar copied to clipboard
UV maps rendering
Hi, Can somebody help me out, please? If I want to render a custom UV map on top of SMPL body, how can I do it based on this paper's code?
Thanks Again. Great paper guys.
Hi,
To use the UVRender in "utils\render.py", you need 3 things:
- verts_uv: uv vertex coordinates.
- faces_uv: uv triangle connection of uv vertices.
- v2uv: Corresponding uv vertex index of each mesh vertex.
Then you can input them into UVRender to define the layer. If you have a .obj file with all uv information, You can use "def parse_uv_info(obj_path):" in "utils\render.py" to get the above 3 things.
Thanks!
Best regards,
Ziqian Bai