於擴增實境中虛擬物件的光照與陰影之擬真

No Thumbnail Available

Date

2019

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

隨著硬體設備的型態變得輕巧、支援更多偵測功能以及系統分析的提升,近幾年擴增實境普遍的在行動裝置上應用,人們藉此體驗真實生活裡不存在的情境、和非現實的生物互動,亦或是作為工具測量真實物品、模擬室內擺設,因此越貼近真實生活的應用,虛擬物體與真實環境的不協調問題越加明顯,虛擬物體實質上仍存在於虛擬世界,獲取真實環境數據的多寡直接影響虛實的融合程度,近代攝影技術搭配機器學習試圖即時的從環境中獲取更多環境資訊,但分析一部分的環境畫面與真實世界裡無數光線所累積而成的光照相比,仍舊可以從虛擬物體的陰影與表面發現破綻;而非即時的環境分析雖然會受變化的程度降低靜態數據的效果,但是以較全面的環境圖像補充缺漏的資訊,得以在繪製過程中考慮到整個真實環境的影響。 本研究探討如何讓虛擬物體以合理之姿出現在現實畫面中,透過ARCore即時分析環境以及重構虛擬世界,並以OpenGL ES銜接空間資訊繪製模型,採用環景圖補充缺漏的環境數據,在即時繪製下即使拍攝範圍不足,仍可以計算整個環境對虛擬物體的影響,並進一步提升真實感。
With the development of mobile devices, the augmented reality becomes more common in our daily life. While augmented reality is emerging as one of key technology in life, the problem of combination of virtual objects and real world becomes obvious. The augmented reality system must detect the real objects within the environment. Then, people can interact with this enhanced version of reality. In recent years, developers have tried to analyze environment in real-time. However, based on the camera of mobile devices, it is hard to consider the whole environment lighting from the partial view. Therefore, we use panorama images to get the complete light estimate and improve the reflection effects. In this paper, we analyze equirectangular panorama images and store them as offline data about environment lighting. Then, we detect the environment in real-time and reconstruct a virtual world by ARCore. Finally, we use OpenGL ES to draw the models from those data and the perception of virtual objects can be improved.

Description

Keywords

擴增實境, 環景圖, ARCore, Augmented Reality, ARCore, Equirectangular Panorama

Citation

Collections