计算机应用 ›› 2018, Vol. 38 ›› Issue (9): 2666-2672.DOI: 10.11772/j.issn.1001-9081.2018030552

• 虚拟现实与多媒体计算 • 上一篇    下一篇

基于一种形式化方法的3D虚拟祭祀场景建模语言与环境

徐晓丹1, 李秉杰1, 李伯森1, 吕舜2   

  1. 1. 民政部 一零一研究所, 北京 100070;
    2. 北京航空航天大学 计算机学院, 北京 100191
  • 收稿日期:2018-03-19 修回日期:2018-04-16 出版日期:2018-09-10 发布日期:2018-09-06
  • 通讯作者: 李秉杰
  • 作者简介:徐晓丹(1979—),女,辽宁本溪人,高级工程师,硕士研究生,主要研究方向:可视化技术、人机交互;李秉杰(1978—),男,内蒙古鄂尔多斯人,高级工程师,博士研究生,主要研究方向:可视化技术、人机交互;李伯森(1965—),男,山东潍坊人,会计师,主要研究方向:殡葬管理;吕舜(1992—),男,内蒙古呼伦贝尔人,助理工程师,硕士研究生,主要研究方向:计算机软件理论、软件工程。
  • 基金资助:
    财政部重大专项(1181501100001)。

New 3D scene modeling language and environment based on BNF paradigm

XU Xiaodan1, LI Bingjie1, LI Bosen1, LYU Shun2   

  1. 1. Institute No. 101, Ministry of Civil Affairs, Beijing 100070, China;
    2. School of Computer Science and Engineering, Beihang University, Beijing 100191, China
  • Received:2018-03-19 Revised:2018-04-16 Online:2018-09-10 Published:2018-09-06
  • Contact: 李秉杰
  • Supported by:
    This work is partially supported by Ministry of Finance Major Special Funds(1181501100001).

摘要: 针对现有三维(3D)场景建模方法普遍存在着业务耦合度高,复杂场景对象属性和特征描述能力不强、不丰富,不能很好地解决3D虚拟祭祀场景建模的问题,提出了基于一种形式化方法的场景建模语言与建模环境。首先,通过引入场景对象、场景对象模板、场景对象模板属性三个层次的概念对3D虚拟祭祀场景的构成特点进行了详细分析;然后,提出了一种基于形式化松耦合、属性描述能力强、语言通用性灵活的3D场景建模语言;其次,设计了场景建模语言的操作,使得该语言可以通过应用程序编程接口(API)调用的方式完成编辑,实现了该语言对界面化建模的支持;最后定义了一套该语言的可扩展标记语言(XML)映射方法,使场景建模结果以XML文本格式进行存储,提升了建模结果的可复用性,并展示了建模的应用案例。应用结果表明,所提方法在增强新增数据类型特性支持的同时完善了序列属性、结构体属性类型的描述,使得对复杂场景对象属性和特征描述能力的通用性、灵活性更强,可复用程度高,在界面化建模支持程度上优于Su等(束搏,邱显杰,王兆其.基于图像的几何建模技术综述.计算机研究与发展,2010,47(3):549-560)提出的方法,解决了3D虚拟祭祀场景建模问题。所提方法同样适用于其他组成粒度低、属性成分多、业务耦合度高的3D场景建模,并能提升建模效率。

关键词: 3D建模, 虚拟祭祀, 祭祀场景, 建模环境, 形式化

Abstract: Due to the problems of high degree of business coupling, insufficient description ability to object attributes and characteristics of complex scenes in the existing Three-Dimensional (3D) scene modeling models, a new scene modeling language and environment based on BNF (Backus-Naur Form) was proposed to solve the problems of 3D virtual sacrifice scene modeling. Firstly, the 3D concepts of scene object, scene object template and scene object template attribute were introduced to analyze the constitutional features of the 3D virtual sacrifice scene in detail. Secondly, a 3D scene modeling language with loose coupling, strong attribute description capability and flexible generality was proposed. Then, the operations of the scene modeling language were designed, so that the language could be edited by Application Programming Interface (API) calls, and the language supported the interface modeling. Finally, a set of Extensible Markup Language (XML) mapping methods was defined for the language. It made the scene modeling results stored in XML text format, improved the reusability of modeling results, and demonstrated the application of modeling. The application results show that the method enhances the support of new data type features, and improves the description of sequence attributes and structure attribute types, and improves the description capabilities, the versatility, the flexibility of complex scenes. The proposed method is superior to the method proposed by SHU et al. (SHU B, QIU X J, WANG Z Q. Survey of shape from image. Journal of Computer Research and Development, 2010, 47(3):549-560), and solves the problem of 3D virtual sacrifice scene modeling. The proposed method is also suitable for modeling 3D scenes with low granularity, multiple attribute components, and high coupling degree, and can improve modeling efficiency.

Key words: 3D (Three-Dimensional) modeling, virtual sacrifice, sacrifice scene, modeling environment, formalization

中图分类号: