diff --git a/doc/dyttu.docx b/doc/dyttu.docx new file mode 100644 index 00000000..aef5cafc Binary files /dev/null and b/doc/dyttu.docx differ diff --git a/doc/交互设计.md b/doc/交互设计.md new file mode 100644 index 00000000..5ebf8dbf --- /dev/null +++ b/doc/交互设计.md @@ -0,0 +1,26 @@ +# 交互设计 +## 拖拽式添加实体 +## 图表数据格式 +### WAVE图表 +按照一个文件多个曲线来,一行一个曲线 + + + 曲线、曲面每一个类型一个tab页面 最大可以显示9宫格 + + 表格、灯 灯在上方,表格在下方(待定) + + ## 菜单 + ### 文件 + * 新建wordspace + * 打开wordspace + * 保存wordspace + ---- + * 新建曲线 + * 新建曲面 + * 新建表格 + * 新建灯 + + ### 仿真管理 + * 命令运行(手动编辑xml: ) + * 参数编辑:弹出编辑框 + diff --git a/doc/流程图.vsdx b/doc/流程图.vsdx new file mode 100644 index 00000000..8b444531 Binary files /dev/null and b/doc/流程图.vsdx differ diff --git a/doc/预设实体清单.txt b/doc/预设实体清单.txt new file mode 100644 index 00000000..060cde52 --- /dev/null +++ b/doc/预设实体清单.txt @@ -0,0 +1,15 @@ +船: +驱逐机(阿利伯克)、航母(尼米兹) + +卫星: +高轨(静止) + +弹: +高超音速弹(DF21) + +无源干扰: +角反、箔条 + +有源干扰: +弦内、弦外 + diff --git a/src/entities/PathComponent.cpp b/src/entities/PathComponent.cpp index 5d675c2d..e7281a01 100644 --- a/src/entities/PathComponent.cpp +++ b/src/entities/PathComponent.cpp @@ -68,7 +68,7 @@ void PathComponent::Begin() { for (int index = 0; index < num; ++index) { const Transform& transform = transforms[index]; osg::AnimationPath::ControlPoint controlPoint(transform.GetLocation() /*+ osg::Vec3(index * 10, 0, 0)*/, - OsgUtils::HPRToQuat(transform.GetRotation() + osg::Vec3(0, 0, -90.0)), transform.GetScale()); + OsgUtils::HPRToQuat(transform.GetRotation()), transform.GetScale()); animationPath_->insert(steps[index], controlPoint); }