ROMP icon indicating copy to clipboard operation
ROMP copied to clipboard

关于转换fbx的脚本中trans参数的顺序

Open MioChiu opened this issue 3 years ago • 1 comments

您好,请教一下关于convert_fbx.py中写入位移的代码 bones[bone_name_from_index[0]].location = Vector((100trans[1], 100trans[2], 100*trans[0])) - pelvis_position 这里的顺序为什么是trans[1][2][0]呢?不是按XYZ的顺序吗

MioChiu avatar Dec 28 '21 06:12 MioChiu

这里主要是坐标系的朝向不太一样。ROMP里默认是垂直于图像平面是z方向,图片水平方向是x方向,图片垂直方向是y方向。但Blender里不是这样的。为了能和图片展示的位移一致就进行了这样的变换。

Arthur151 avatar Dec 28 '21 08:12 Arthur151