Virtual camera implementation method and device, electronic equipment and storage medium

The invention provides an implementation method and device of a virtual camera, electronic equipment and a storage medium. The method comprises the following steps: determining a perspective scene according to camera parameters; and shielding and rejecting the object falling in the perspective view...

Full description

Saved in:
Bibliographic Details
Main Authors XIONG JING, XIE GAOSHENG, XU YUWEI, XIA ZEYANG
Format Patent
LanguageChinese
English
Published 01.11.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention provides an implementation method and device of a virtual camera, electronic equipment and a storage medium. The method comprises the following steps: determining a perspective scene according to camera parameters; and shielding and rejecting the object falling in the perspective view body by adopting a depth buffer algorithm, so that the invisible object in the view field is not displayed on a screen during final imaging. The scheme does not need to consider the complexity of the scene, does not need to carry out tedious intersection operation, does not need to render an object which is not displayed finally, and can efficiently carry out the shielding elimination of the scene. 本申请提供一种虚拟相机的实现方法、装置、电子设备及存储介质,该方法包括:根据相机参数确定透视视景体;对落在透视视景体内的物体采用深度缓冲器算法进行遮挡剔除,以使视野中不可见的物体在最终成像时不显示在屏幕上。该方案无需考虑场景的复杂度,无需进行繁琐的求交运算,无需对最终不显示的物体进行渲染,可以高效地进行场景的遮挡剔除。
Bibliography:Application Number: CN202210675661