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

weird mocap rendering result #28

Closed
hangg7 opened this issue Jul 12, 2020 · 9 comments
Closed

weird mocap rendering result #28

hangg7 opened this issue Jul 12, 2020 · 9 comments

Comments

@hangg7
Copy link

hangg7 commented Jul 12, 2020

Hi, thanks for sharing this codebase! I'm trying your mocap script (10_mocap.py) by following this command:

blender --background --python ./10_mocap.py ${ANIM_FRAMES_OPTION} -- ./assets/motion/102_01.bvh ${OUT_DIR}/10/frame_ ${RESOLUTION} ${SAMPLINGS}

Yet the results I got seems pretty weird,
frame_0001

I'm rather new to blender and cannot quite debug it on my end. I imagine it might be caused by wrong ambient value of the scene. What is your idea?

@yuki-koyama
Copy link
Owner

Hi, I'm aware of this problem. Sorry!

The reason for this vivid pink is that Blender could not find linked texture files. The floor and wall objects in this scene use Concrete07 textures, but I guess they are missing in your local directory.

This repository includes texture files via git submodule and it requires git lfs, which makes the cloning procedure really complicated. (I want to simplify this mechanism but I could not find time to work on this yet)

Possible quick fixes are:

@yuki-koyama
Copy link
Owner

If you could successfully clone the repository, then the local directory should look like this:
image

@hangg7
Copy link
Author

hangg7 commented Jul 12, 2020

thanks for your quick reply! correctly cloning submodules fixes my issue. maybe adding an init script that recursively update submodules can make setup a bit easier ;)

@hangg7 hangg7 closed this as completed Jul 12, 2020
@yuki-koyama
Copy link
Owner

Thank you for the suggestion!

@bsridatta
Copy link
Contributor

Thanks a lot for the amazing repo. Sorry to bring this up again, I have downloaded the zip file provided and placed it in external like in the file structure image above. But it still not able find them and background is pink. Am I missing something or should it be clone using git lfs commands? I have tried and see all files in proper location but somethings is missing? should I install them somehow? Please let me know thanks.

image

@yuki-koyama
Copy link
Owner

Hi, sorry for the inconvenience! Does the [2K]Concrete07 directory contain necessary texture files (i.e., Concrete07_AO.jpg, Concrete07_col.jpg, Concrete07_disp.jpg, Concrete07_nrm.jpg, Concrete07_rgh.jpg)?

Also, it would be helpful if you could attach the console log as well. Thanks!

@bsridatta
Copy link
Contributor

Thanks a lot for you quick response.
I finally understood it ! The materials from zip file and by clone were corrupt for some reason. I was wondering why I am not seeing the thumbnail preview and downloaded new materials online and it seems to work. Thanks

@yuki-koyama
Copy link
Owner

corrupt for some reason

I guess this is because git lfs failed to pull the actual binary files correctly somehow.

Anyway, thank you for reporting the issue! I believe this discussion will be helpful for other users.

@bsridatta
Copy link
Contributor

Yes, it's weird but the mistake is on my end. But it could be something folks can check if the materials are not rendered.
Thanks a lot for the help!

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

3 participants