DeepMotionEditing / deep-motion-editing

An end-to-end library for editing and rendering motion of 3D characters with deep learning [SIGGRAPH 2020]
BSD 2-Clause "Simplified" License
1.56k stars 256 forks source link

Blender Visualization #143

Closed Hellodan-77 closed 3 years ago

Hellodan-77 commented 3 years ago

Hello! I would like to ask if blender's python API (2.80) needs to be installed in this part of blender_rendering? Can BVH be visualized by running load_bvh.py directly? Because I don’t understand this part in the github page, I hope to receive your reply!

HalfSummer11 commented 3 years ago

If you want a quick visualization just to check the motion quality (instead of rendering a video), you can directly import the BVH file into Blender, which doesn't require any python. The python API is needed for a full rendering.

Hellodan-77 commented 3 years ago

How does the "blender_rendering" part of your code work? Do I need to install any related software? Or just run load_bvh.py directly? Do you have relevant reference links? If so, please share with me, thank you very much!

Hellodan-77 commented 3 years ago

Now I want to use the "blender_rendering" part of your code for BVH visualization. I don't know how to do it at the beginning. I hope to get your help.

PeizhuoLi commented 3 years ago

Blender's Python API is built-in when you install blender. You only need to add scipy module to blender to run the scrip. You can find details about it in Blender Visualization section in README. Also, you can run load_bvh.py with blender to visualize and it is also described in readme.