计算机工程与应用 ›› 2020, Vol. 56 ›› Issue (3): 42-48.DOI: 10.3778/j.issn.1002-8331.1908-0023

• 理论与研发 • 上一篇    下一篇

面向三维模型轻量化的自私羊群优化算法研究

朱惠娟,王永利,陈琳琳   

  1. 1.南京理工大学紫金学院 计算机学院,南京 210046
    2.南京理工大学 计算机科学与工程学院,南京 210094
  • 出版日期:2020-02-01 发布日期:2020-01-20

Research on Selfish Herd Optimization Algorithm for 3D Model Lightweight

ZHU Huijuan, WANG Yongli, CHEN Linlin   

  1. 1.College of Computer Science, Nanjing University of Science and Techonlogy Zijin College, Nanjing 210046, China
    2.School of Computer Science and Technology, Nanjing University of Science and Technology, Nanjing 210094, China
  • Online:2020-02-01 Published:2020-01-20

摘要: 针对传统三维仿真模型优化的费时、费力、占用大量内存以及渲染时的画面丢帧、报错等问题,提出一种基于自私羊群智能优化的三维模型轻量化方法3DL-SHO,在确保三维数据准确性的基础上,降低冗余类型、减少场景的数据量、加快模型的优化速度,同时利用3DMax脚本语言MAXScript实现了轻量化处理方法,方便烘焙。通过对BIM系统以及电厂三维仿真系统的几种智能优化算法的对比实验证明,采用该方法可快速执行所有3DMax批量化操作,显著提高了建模和优化的效率。

关键词: 三维仿真, 自私羊群优化, 轻量化建模, MAXScript

Abstract: The optimization of traditional three-dimensional simulation model is time-consuming, laborious, occupying a large amount of memory and losing frames and reporting errors in rendering. Targeting these problems, this paper proposes a three-dimensional lightweight modeling method based on selfish herd intelligent optimization algorithm, called 3DL-SHO, according to the type of redundancy of three-dimensional model, which intelligently reduces the amount of scene data, speeds up the optimization of the model, and facilitates mapping baking on the basis of ensuring the accuracy of three-dimensional data. The optimization experiments of BIM system and power plant three-dimensional simulation system show that all batch operations of 3D Max can be executed quickly and efficiently through the proposed method implemented by MAXScript, which greatly improves the efficiency of modeling and optimization.

Key words: 3D simulation, selfish herd intelligent optimization, lightweight modeling, MAXScript