Coder Social home page Coder Social logo

mopa's People

Contributors

yanchxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mopa's Issues

[simple-romp] How to use it?

I tried to use it with simple-romp but it did not work.
I already created an issue at the ROMP repository and described my problem here and here in detail.

The author of the ROMP repository answered there:

About live blender driving, please refer to this repo. https://github.com/yanch2116/CharacterDriven-BlenderAddon My colleague is responsible for maintaining this funciton now. Best regard.

and closed the issue.

@yanch2116 So how to solve it?

My goal is to send the positions and quaternions of ROMP (or any other SMPL based solution) over the VMC protocol to other application (not Blender).
Any ideas, whats the best way to do it?

Where is Panel?

Hello, Thank you for your great job. I am not familiar with blender. Can you help me? I can not find the Panel. Thank you.
image

大佬,求问,不改fbx,怎么驱动骨骼平直的模型

之前问过一个问题,为什么mixamo 无法被直接驱动,后来通过改骨骼可以驱动了。

image

但是现在有个问题阿,我想驱动更多的模型,大部分都是右边的形式,不可能每个模型都取修改骨骼,有些地方也不能修改iafbx,例如UE里面。

此时,要怎么通过修改 输出的Pose数据,来是配更通用的骨骼?

How to run .fbx file to control the charater

Hello. I have successfully run the demo of ROMP, which exported .fbx file. And currently I want to use the .fbx to control the character.
Can you provide steps for the video demo? I can only see the camera one

求教

大佬您好,看了你这个项目很受震惊,因为让一个动漫角色跳舞,是我一直想做但是没有实现思路的地方。
我没有用过Blender,对她不熟悉,所以有个问题想问一下,假设我有一个动漫角色了,比如龙珠里面的孙悟空,obj或者其他的3D格式,然后我想用B站或者油管的跳舞视频进行驱动,让孙悟空跳舞,得到一个GIF或者MP4文件
因为我不用Blender,所以不能使用您的插件,请问实现上述目标的代码在哪里,可以参考一下吗
请原谅我幼稚的问题,期待您的解惑!

What is the role of server.py?

Thanks for your wonderful work! I follow your instruction and run the beta.blender in Blender. But I don't run server.py yet.
image

运行插件时报错

首先感谢您分享这个插件,有个问题希望能帮忙解决
我在运行插件时报错,按space没有产生动作,无法解决,请问是什么原因,谢谢
image
传送是有跑完的
image
Blender:2.93

Use keyframes to prevent pose shaking

I found that the avatar will shake drastically when running the webcam demo. And I set the mode =1 to insert keyframe record the webcam results for playback.

Now, if we set one more condition for inserting keyframe, only the frame_idx % 3 == 0 or frame_idx % 5 == 0. This would allow the avatar to move along these keyframes much smoother.

However, is there a way to let the webcam demo runs in real-time using the keyframe strategy I said? This skip keyframe strategy only seems to work with the recorded playback. The character is still moving on each frame when we are actually running in real-time.

chat room characters

Hello again, and I noticed, in the chat room, there are two characters, which part needs to modify to make it happen, may I ask 👍

位移问题

你好,
非常感觉开发这个插件,我想请教几个问题,

  1. 我注意到你把romp的输出里面的"cam_trans"直接当成世界坐标的位移信息去驱动blender中的人,虽然我也能够用仿照你这样做去给ue中的人物赋予位移信息,但是我并不了解其中的原理。如果想得到真实坐标的物理信息,不是要用到相机内参外参、图像像素点的位移,然后才能去估算世界坐标的位移吗?
  2. 在把网络输出"cam"转成相机外参中的位移信息时,我看其他人的做法是
    cam_s, cam_tx, cam_ty = pred_cam
    trans = [cam_tx, cam_ty, 2*FOCAL_LENGTH/(CROP_SIZE*cam_s + 1e-9)]

感觉和 convert_cam_to_3d_trans不太一样,能说说区别吗?

multiple people

Hey, yanch2116, very impressive job done in visualizing 3D characters. I tested and it works, one question to ask, the code romp_server.py has the setting.show_largest=True, I am thinking, what is the condition with multiple people in the webcamera, when there are many people, the blender character keeps on shifting. Are they ways to solve this?
1, keep on the object tracker in single object_ID
2, visualize multiple 3D characters as input in the camera

插件导入问题

7b9260e25369636c9c3bca4009e8964
d3f0fd46a7730f58b61c3005858b37a
您好感谢您开发的插件,对blender不是很熟悉,我添加了插件但却没有出现在列表里面,这是正常的吗?

141be66e5a767c4792e6324eefae750
8d54144f47f01342acc59c27439095f
在打开模型后执行ROMP中的 webcam_blender.sh一直停在这个界面,好像没有request请求,ctrl+e也没有反应,请问要如何解决呢?

关于‘poses'四元数具体含义

请问,执行代码
`outputs_all = romp_model(image)
if outputs_all is None:
client.send('none'.encode('utf-8'))
continue

        poses = getAxisAngle(outputs_all['smpl_thetas'])[0]
        if 'cam_trans' not in outputs_all:
            trans = convert_cam_to_3d_trans(outputs_all['cam']).tolist()
        else:
            trans = outputs_all['cam_trans'].tolist()

        outputs = {'poses': poses, 'trans': trans[0]}`

得到的poses信息是24*4的
这是会收到poses是24根骨骼的四元数信息吗?如果是的话,那请问这个四元数的四个数具体代表什么呢?

KeyError: 'trans'

when I ues my own npz file, it got wrongs as follows, can you tell me why?
in run
self._target(*self._args, **self._kwargs)
File "server.py", line 26, in tcplink
data = getData()
File "server.py", line 16, in getData
temp = np.append(a[key][0]['poses'], a[key][0]['trans'])
KeyError: 'trans'

key "Pelvis" not found'

Hello,I have some question,I can not solve it. Can you help me? Thanks!!!

Python: Traceback (most recent call last): File "/home/guo/Downloads/CharacterDriven-BlenderAddon-master (1)/CharacterDriven-BlenderAddon-master/blender/Beta.blend/Text", line 42, in modal File "/home/guo/Downloads/CharacterDriven-BlenderAddon-master (1)/CharacterDriven-BlenderAddon-master/blender/Beta.blend/Text", line 98, in process_poses KeyError: 'bpy_prop_collection[key]: key "Pelvis" not found' location: <unknown location>:-1

导入fbx时骨骼方向乱了

@yanch2116 你好,非常酷的工作!我基本把整个项目跑通了,但我有两个问题想进一步请教一下你。 、
1.导入fbx时骨骼的方向错乱了,参见:https://www.bilibili.com/read/cv2520452 。但是这个文章里的方法没有完全解决方向错乱的问题,所以我想请问一下你,你是怎么解决这个问题的呢?
2.我想请教一下,如何将编辑骨架让其和smpl的骨架一致呢?
望不吝赐教!万分感谢!

fix bones运行出错

您好!当我导入mixamo模型,然后点击fix bones,总会报如下错误,请问您应该如何解决
uTools_1685094470971

How to setup an initial space and specific camera position

Hey! Thanks for your tool! It's really cool to drive the avator moving in realtime.

I got two further questions:

  1. Can I init the 3D space with a pre-build model? For example a room model as of .obj file.
  2. How to set the camera's position to a specific point? Let's say one of a corner of the room?

Can't connect ROMP into addon

I use ROMP v1.1 on Windows machine.
But CDBA works with version 1.0 of ROMP
I read installation and using documentation of ROMP v1.0 but i can't figured out all
How can i use this addon properly?
I'm not good at programming i'm animator and interested in your project.
Can you write steps how to install and use ROMP with this addon,please?

image

Error in blender script

Screenshot (42)

@yanch2116 I've pressed Ctrl + E, after completing all frames, it's showing this error. Please help me here.

Hi, Looks like change another mixamo character not work

I have ROMP driven SMPL model looks OK, but when using CDBA (I using script locally) driven mixamo model, result looks wrong:

image

I am using this bone mapper in your repo:

bones_mixamo_smpl_mapper = {
    "Hips": "Pelvis",
    "LeftUpLeg": "L_Hip",
    "RightUpLeg": "R_Hip",
    "Spine2": "Spine3",
    "Spine1": "Spine2",
    "Spine": "Spine1",
    "LeftLeg": "L_Knee",
    "RightLeg": "R_Knee",
    "LeftFoot": "L_Ankle",
    "RightFoot": "R_Ankle",
    "LeftToeBase": "L_Foot",
    "RightToeBase": "R_Foot",
    "Neck": "Neck",
    "LeftShoulder": "L_Collar",
    "RightShoulder": "R_Collar",
    "Head": "Head",
    "LeftArm": "L_Shoulder",
    "RightArm": "R_Shoulder",
    "LeftForeArm": "L_Elbow",
    "RightForeArm": "R_Elbow",
    "LeftHand": "L_Wrist",
    "RightHand": "R_Wrist",
    "LeftHandIndex1": "L_Hand",
    "LeftHandMiddle1": "L_Hand",
    "RightHandMiddle1": "R_Hand",
    "RightHandIndex1": "R_Hand",
}
bones_smpl_mixamo_mapper = {v: k for k, v in bones_mixamo_smpl_mapper.items()}
bone_name_from_index_character = {
    k: bones_smpl_mixamo_mapper[v] for k, v in bone_name_from_index.items()
}

Do u know why?

also the hand look not right.

image

驱动自己的模型

您好大佬,我跑通了你的这个 demo,在 mixamo 上下载的3d 角色模型也能跑通,我现在用 SMPL 模型(T-pose)的 obj 格式 mesh 网格去 mixamo 绑定骨骼,保存位 T-pose 的 fbx 格式(图 1是pose模式下的样子),但是在点击 fixbone 后,模型变成下图 2 这样,然后
也能运行,骨架是错乱的,老哥可以给点建议吗?感激不尽。
1
2

关于driveCharacter函数

作者您好,我有以下两个问题:
1.我注意到您使用四元数来表示旋转的。请问在driveCharacter(rotations, translation)中的rotation参数是如何从romp的结果中转换而来的呢

2.在
1
中,每一个bone的旋转向量的原点是什么呢

Which version of Blender are you using?

I met the following error while running Beta.blend. I'm using blender 2.83.9. What's the expected version?

Read blend: E:\Workspace\blender_test\addons\CharacterDriven-BlenderAddon-master\blender\Beta.blend
0 meshes freed
Error: File written by newer Blender binary (290.0), expect loss of data!

Other characters

Hello. Would your program support run with other characters? And are there any references about building other characters?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.