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

Problem of alignment in Blender when processing new poses #72

Open
TianyuanYang opened this issue Mar 2, 2023 · 1 comment
Open

Problem of alignment in Blender when processing new poses #72

TianyuanYang opened this issue Mar 2, 2023 · 1 comment

Comments

@TianyuanYang
Copy link

Hello, thanks for the great work!
I have the following questions when processing the novel poses according to the instructions in #42:

  1. If the goal is to make the human foot on the ground, why can't we just translate and rotate the body to the ground without changing the scale? Is the change to scale must be done?
  2. What criteria should be used to determine the appropriate values for the translation, rotation, and scale? Can you give some practical guidance or tips for implementation?
  3. Why is the human body much smaller than the background and seems to be in the wrong position when I use the same values in code to align them in Blender during the reproduction?

222530530-d955328f-0307-4d47-801d-f0296947b1f3
222531041-86373b17-130e-4ad8-8d32-374168432195

@jiangwei221
Copy link

  1. Yes, You have to the scale. It’s because we read the raw mocap data(AMASS), the scale of human in AMASS is very different from the scale from COLMAP. But I think it is possible to fix this by reading the scale from preprocessed data.
  2. Tips: 1. Scale: You can use something in the point cloud as a reference, say a car/door/bike, then you roughly how to scale the human up to match that reference object. Rotation: You can import concatenate multiple human pcd(from different time steps) to a gigantic point cloud, this will allow you to use the whole motion sequence to align the feet. Translation: Define the camera trajectory first, render a sample bkg video, then put the human into the visible area, it will make sure the human is visible in the compositional rendering.
  3. When you dumping the pcd of human, you wan to use the else brach , not the if branch:
    else:
    manual_trans = np.array([0, 0, 0])
    manual_rot = np.array([0, 0, 0]) / 180 * np.pi
    manual_scale = 1

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