QQ登录

只需一步,快速开始

查看: 5758|回复: 7
打印 上一主题 下一主题

XML配置文件-模型旋转动作

[复制链接]

主题

好友

22

积分

报考学院待录取

跳转到指定楼层
楼主
发表于 2016-1-19 16:05:30 |只看该作者 |倒序浏览

<type>rotate</type>   --旋转
<object-name>rudder</object-name>---方向舵
<factor>100</factor>      ----旋转100度
...
<center>
<x-m>1.3</x-m>
<y-m>0.3</y-m>
<z-m>2.5</z-m>
</center>


请问各位,这个center指的是什么意思???指的是什么中心???
分享到: QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
分享分享0 收藏收藏0

主题

好友

22

积分

报考学院待录取

沙发
发表于 2016-1-19 16:07:44 |只看该作者
补充:在三维软件中,rudder模型有xyz坐标值
回复

使用道具 举报

主题

好友

19

积分

报考学院待录取

板凳
发表于 2016-1-20 03:06:21 |只看该作者
The <center> means the point that your 3D model actually rotate around. It is NOT necessary to be your geometric center or your original center of the entire 3D object. It just a point of rotation or spinning.

Hope this help.
回复

使用道具 举报

主题

好友

22

积分

报考学院待录取

地板
发表于 2016-1-20 14:02:56 |只看该作者
多谢。。。这么说,有道理。
请问,这个解释出处?
回复

使用道具 举报

主题

好友

19

积分

报考学院待录取

5#
发表于 2016-1-20 16:20:27 来自手机 |只看该作者
JinStrong 发表于 2016-1-20 14:02
多谢。。。这么说,有道理。
请问,这个解释出处?

I am developing aircrafts for the Official FlightGear repo, so I don't think I need any 出处. This is not a theory, but just simply how the FlightGear's animation system works. FlightGear ignores the local coordination system of a single object, and it only uses global coordination. This is why the center is just a point of the rotation. If you are doing your academic project and need a formal reference or citation, I can't help, sorry. (抱歉无输入法,中文不方便)
回复

使用道具 举报

主题

好友

19

积分

报考学院待录取

6#
发表于 2016-1-20 16:24:57 来自手机 |只看该作者
In order to find this center point, you need to know how to find the point of (0, 0, 0) of your entire aircraft model firstly, and then, the rotation center point is a related point of the center of entire aircraft.
回复

使用道具 举报

主题

好友

22

积分

报考学院待录取

7#
发表于 2017-7-19 22:33:55 |只看该作者
感谢姑射冰尘的回答,rudder的centre就是旋转中心
回复

使用道具 举报

主题

好友

22

积分

报考学院待录取

8#
发表于 2017-7-19 22:34:18 |只看该作者
感谢姑射冰尘的回答,rudder的centre就是旋转中心
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入FG

本版积分规则

手机版|联系我们| FlightGear ( 吉ICP备19002044号-7 )

GMT+8, 2024-4-27 02:38

Powered by Discuz! X3.2

© 2001-2013 FlightGear Inc.

返回顶部