OpenMotionLab / MotionGPT

[NeurIPS 2023] MotionGPT: Human Motion as a Foreign Language, a unified motion-language generation model using LLMs
https://motion-gpt.github.io
MIT License
1.5k stars 93 forks source link

Person textures for generated ply files #104

Open 42nick opened 1 month ago

42nick commented 1 month ago

Hi, does anyone know how to add image textures to the generated meshes?

Instead of having the mesh alone (screenshot taken from demo video) I would like to add different textures to generate more realistic videos.

image

I tried out loading image texture like e.g. the one here, but it does not fit.

ChenFengYe commented 1 month ago

Interesting Problem. The current code does not support this texture(UV) function. Suppose you want to render the textured meshed with blender. You need to add the uv part ( you can copy from a previous textured smpl, like the officially provided one). Otherwise, you can modify the saved ply with additional uv for other rendering engines. mGPT/render/blender/meshes.py