###
计算机系统应用:2018,27(10):196-201
本文二维码信息
码上扫一扫!
基于Unity的数字化车间改进资源动态调度算法
朴美燕1,2, 胡毅2,3, 叶迎萍1,2
(1.中国科学院大学, 北京 100049;2.中国科学院 沈阳计算技术研究所 高档数控国家工程研究中心, 沈阳 110168;3.沈阳高精数控技术有限公司, 沈阳 110168)
Improved Dynamic Resource Scheduling Algorithm on Unity-Based Digital Workshop
PIAO Mei-Yan1,2, HU Yi2,3, YE Ying-Ping1,2
(1.University of Chinese Academy of Sciences, Beijing 100049, China;2.National Engineering Research Center for High-End CNC, Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China;3.Shenyang Golding NC Technology Corporation Ltd., Shenyang 110168, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 58次   下载 89
投稿时间:2018-02-25    修订日期:2018-03-19
中文摘要: 针对基于Unity引擎的车间仿真系统加载过程中内存占用大,导致系统在运行时存在卡顿、不流畅的现象,从模型资源加载角度设计一种资源动态调度算法.首先通过四叉树算法将场景递归的分割成多个叶子节点进行存储,然后结合资源动态调度算法以摄像机位置为中心对周边节点的资源进行预设实例化和预设销毁完成内存的管理.最后根据Unity的内存管理机制,设计并实现了对场景资源的动态调度和内存优化,实验结果表明资源动态管理算法有效控制某时刻内存中加载的数据量相对稳定降低了IO总量,避免了漫游移动时造成的内存颠簸,使系统的运行更加流畅.
Abstract:Unity engine-based manufacturing simulation system occupies large memory when loading, resulting that the system is not fluent at run time and cannot run smoothly. In response to this phenomenon, we design a resource dynamic scheduling algorithm from the perspective of model resource loading. Firstly, the scene is recursively divided into a plurality of leaf nodes for storing through a quad-tree algorithm. Then, combined with the resource dynamic scheduling algorithm, taking the camera position as the center, the resources of surrounding nodes are defaulted instance and destruction of the prefab to complete the memory management. Finally, according to Unity's memory management mechanism, the dynamic scheduling and memory optimization of scene resources are designed and implemented.
文章编号:     中图分类号:    文献标志码:
基金项目:“高档数控机床与基础制造装备”国家科技重大专项(2017ZX04011004)
引用文本:
朴美燕,胡毅,叶迎萍.基于Unity的数字化车间改进资源动态调度算法.计算机系统应用,2018,27(10):196-201
PIAO Mei-Yan,HU Yi,YE Ying-Ping.Improved Dynamic Resource Scheduling Algorithm on Unity-Based Digital Workshop.COMPUTER SYSTEMS APPLICATIONS,2018,27(10):196-201

用微信扫一扫

用微信扫一扫