一种面向游戏仿真引擎的并行视频播放插件系统设计
he Design of Parallel Video Player Plugins for Game Engines
借助于视频播放插件,设计人员可以在游戏引擎中实现对虚拟舞台更加真实的模拟,但在处理多视频时,如同时播放40个视频,只能维持平均约16帧/s,而模拟舞台设计的最低要求为30帧/s。本研究在硬件和软件方面做了充分分析,以找到多视频播放过程中导致帧率下降的主要原因,并在此基础上从软件优化角度来提高帧率。实验基于CryEngine3视频播放插件,通过对插件系统多线程设计,最终在同时播放40个视频时由原来的16帧/s提高到平均54帧/s, 为实现大规模虚拟舞台设计提供了保障,具有很大的实用价值。
With the help of video player plugins of game engines, designers can establish the virtual stage more easily. Videos make the virtual stage more colorful and richer. However, the present known plugins for game engines (e.g. CryEngine3) don't performs well in front of relatively big videos. For example, it can achieve only 16fps in general while playing forty videos at the same time, but the baseline of designing virtual stage is 30fps. Based on full analyses of both software and hardware, this paper aims to find the limits of improving frame rates, and then provide the methods for optimizing video player plugins in software architecture, namely multi-threads optimization. Based on the optimization of video player plugin of CryEngine3,experiments show that our optimization can improve the frame rate from 16fps to 54fps while playing 40 videos at the same time, which makes the establishment of large scale virtual stage become true.
胡涛、丁刚毅、张龙飞、李立杰
电子技术应用计算技术、计算机技术自动化技术、自动化技术设备
计算机仿真智能数字表演游戏引擎并行处理
computer simulationintelligent digital performancegame engineparallel processing
胡涛,丁刚毅,张龙飞,李立杰.一种面向游戏仿真引擎的并行视频播放插件系统设计[EB/OL].(2016-01-15)[2025-08-11].http://www.paper.edu.cn/releasepaper/content/201601-324.点此复制
评论