摘要
根据舰船损害管制指挥训练系统需求,构建了虚拟舱体模型数据库,定义了基于四边形面绘图模式的舱体模型数据结构,给出了模型面的着色方法和舱体组成单元的标识规则,运用OpenGL库函数绘制了舱体模型。叙述了改变舱体面颜色和隐藏部分舱面的技巧,讨论了模型平动、转动、缩放以及视角变换等操作的程序实现方法和步骤,提供了一种灵活构建可操作三维模型的方法。
According to the demands of warship damage control command training system, the database of virtual hull model is constructed, the hull model structure based on the quadrilateral plotting mode is defined, the rendering method of model face and marking rules of hull units are presented, and the hull model using OpenGL functions is drawn. The skill of changing model face color and hiding parts of hull are described, and the steps and methods of realizing operations such as model moving, rotation, zooming and visual angle switching are discussed.
出处
《工程图学学报》
CSCD
北大核心
2008年第6期62-67,共6页
Journal of Engineering Graphics
关键词
计算机应用
舰船损害管制
虚拟训练舱
实时操作
computer application
warship damage control
virtual training hull
real-time operation