基于LinkVR的沉浸式复杂场景构建与优化
2021-10-19项朝阳乔樑钟瑜段丹萍贺昉
项朝阳 乔樑 钟瑜 段丹萍 贺昉



摘 要:基于LinkVR适配技术,构建沉浸式虚拟现实场景;针对场景的布局、结构和特点,运用Profile等相关手段进行性能分析,寻找主机资源消耗的关键点;通过烘焙、遮挡剔除和LOD等技术手段,对虚拟场景进行优化。文章以虚拟ICU为案例,叙述了一种沉浸式场景的构建方式,总结了对沉浸式复杂场景进行性能优化的关键技术。
关键词:虚拟现实技术;沉浸式;复杂场景构建
中图分类号:TP391 文献标识码:A 文章编号:2096-4706(2021)05-0093-05
Construction and Optimization of Immersive Complex Scenario Based on LinkVR
——Take the Construction of a Virtual ICU Scenario as an Example
XIANG Chaoyang,QIAO Liang,ZHONG Yu,DUAN Danping,HE Fang
(Guangdong Food and Drug Vocational College,Guangzhou 510520,China)
Abstract:LinkVR adaptation technology can be used to construct an immersive virtual reality scenario. Aimming at the layout,structure and characteristics of the scenario,the key points of host resource consumption would be found with the performance analysis using Profile and other related means. The virtual scenario is optimized by baking,occlusion elimination and LOD and other technology means. In this paper,taking virtual ICU as an example,the construction way of immersive scenario is narrated,and the key technology for the performance optimization of immersive complex scenarios is summarized.
Keywords:virtual reality technology;immersive;complex scenario construction
0 引 言
在过去几年里,一股沉浸式体验热潮正在世界各地蔓延。制作精良的沉浸式场景能带来颠覆感官的体验效果,但对主机资源的消耗也是巨大的。随着场景复杂度的提升,如何控制和减少主机资源的消耗,确保程序的流畅运行,对沉浸式复杂场景的构建至关重要。营造沉浸式场景的关键在于确保足够的FPS,虚拟场景里的FPS与动画的帧类似,只是虚拟场景里的图像被画到了屏幕,画一帧到屏幕被称为渲染一帧,渲染的速度以每秒渲染的帧数来衡量。现在大多数虚拟场景都是以60 FPS为目标,当低于30 FPS时,图像可能会卡顿,用户体验下降。对于沉浸式场景,更要确保足够而稳定的FPS才能拥有良好的体验效果。
本案例设计的虚拟ICU包括病房(分为普通病房和器官移植病房)、护士站、治疗室、医护办公室、仪器室、库房、打包间、消毒间、污物处理间,以及病人通道、医护通道和探视通道等区域,每个区间配置各种医疗设施,病房内配有多功能吊桥、心电监护仪、呼吸机、除颤仪、输液泵、注射泵及空气层流过滤装置等设备。……
