Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualize 2 avatars in the same scene, just like the introduction page #63

Open
9jtiger opened this issue Apr 7, 2024 · 1 comment
Open

Comments

@9jtiger
Copy link

9jtiger commented Apr 7, 2024

Thank you, for your awesome work!! It's really cool.

Implementing your awesome project, I have few questions....

I want to visualize 2 different avatars in the same scene, just like the introduction page.
However, when I ran the code by following README, only 1 avatar was displayed, in 2 different angles.

Can you give me the code which enables visualizing 2 different avatars in the same scene?

I want to display just like the first photo, but I cannot figure out how to.

스크린샷 2024-04-07 220023
스크린샷 2024-04-07 220051

@evonneng
Copy link
Collaborator

evonneng commented May 8, 2024

Hi! Sorry for the delay in response. I don't have plans yet to release the script that allows you to render both at the same time since it's a bit messy, but I can describe the process in detail.

  1. You will need to render both people/2 avatars and change the render script to reflect this here, where you are getting the render parameters of a person:
    body_renderer.render_full_video(
    render_data_block,
    animation_save_path,
    audio_sr=audio_per_frame * 30,
    render_gt=args.render_gt,
  2. In this function, you will then need to get the correct geometry of both ppl with respect to one another. So you might have to alter the geometry so that they are in the same space.
    default_inputs_copy["lbs_motion"],
  3. You will then need to modify this class to update the parameters of rendering, that is including the number of vertices in the mesh, texture, etc. This is a bit tricky, so I can provide a release with the updated code for this part sometime. I will ping when released.

Hope this helps to unblock for now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants