Maya .ma 矩阵比例转换
这也许是一个有点偏离主题的话题,但 Maya 在特定尺度的平移矩阵变换上给了我严重的悲伤,而且我无处可去。
在 Maya 决定添加 .spt 属性(通常为 setAttr ".spt" -type "double3" 1 2 3 ;
)之前,我的 Maya .ma (Maya ASCII) 导入器一切正常。 从这个有点模糊的文档我得出了结论三个 .spt 值进入比例转换矩阵。
我非常非常感谢您就如何在矩阵转换中处理 .spt 提供的任何指示!
A perhaps slightly off-topic subject, but Maya is giving me serious grief on a specific scale translation matrix transformation, and I have nowhere else to turn.
Everything works fine with my Maya .ma (Maya ASCII) importer until Maya descides to add an .spt attribute (typically setAttr ".spt" -type "double3" 1 2 3 ;
). From this somewhat vague documentation I came to the conclusion that the three .spt values go into the scale translate matrix.
I would very, very much appreciate any pointers you could give me on how to handle .spt in my matrix transformations!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我知道这是一个令人讨厌的黑客行为,但是您的导入程序可以添加反向转换来撤消 Maya 在导入时对您的内容所做的操作吗?
I know this is a nasty hack, but could your importer add in the reverse transformation to undo what Maya is doing to your stuff on import?
我太累了,无法正常思考,睡了几个小时后,我意识到问题不在于变换,而在于枢轴。 我设法猜测枢轴是如何构造的,即根据两个属性
.rp + .spt
。达赖喇嘛对于睡眠的看法是正确的。 :)
I was too tired to think straight, and after some hours of sleep I realized that the problem lie not in the transforms, but in the pivot. I managed to guess how the pivot was constructed, namely from the two attributes
.rp + .spt
.Dalai Lama is right about sleep. :)