A method and device for determining the depth of field of a virtual scene
A virtual scene and depth of field technology, applied in the field of determining the depth of field of virtual scenes, can solve problems such as modification of unfavorable depth of field effects, and achieve the effect of shortening the debugging cycle and improving development efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0020] like figure 1 What is shown is a flow chart of the method for determining the depth of field of a virtual scene provided by the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown.
[0021] In step S101, the parameter information of the virtual scene, the horizontal resolution and the viewing distance of the display device are acquired.
[0022] In the embodiment of the present invention, firstly, various information for calculating the depth of field of objects in the virtual scene are obtained when building the virtual scene or after the virtual scene is built, wherein, various information required for calculating the depth of field of objects in the virtual scene include but are not limited to : The parameter information of the virtual scene, the horizontal resolution of the display device and the viewing distance; the parameter information of the virtual scene includes but not limited to:...
Embodiment 2
[0051] Figure 4 The structural schematic diagram of the device for determining the depth of field of a virtual scene provided by the present invention, for the convenience of description, only shows the part related to the embodiment of the present invention. in:
[0052] The virtual scene parameter acquiring unit 41 is configured to acquire parameter information of the virtual scene, horizontal resolution and viewing distance of the display device.
[0053] In the embodiment of the present invention, the parameter information of the virtual scene includes but is not limited to: the distance between the reference plane and the virtual camera in the virtual scene, the distance between two virtual cameras in the virtual scene, and the distance between objects in the virtual scene and the reference plane , the frustum angles of the two cameras in the virtual scene.
[0054] The depth of field calculation unit 42 is configured to calculate the depth of field of objects in the v...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 