Method for dragging camera to make displacement in scene based on unity3D
A camera and displacement technology, which is applied in the field of dragging the camera to move in the scene, can solve the problems that the scene cannot completely follow the finger dragging and the operation is blunt, and achieve the effect of improving the simulation effect, reducing the error range and wide application range.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] Such as figure 1 As shown, a method of dragging the camera to move in the scene based on unity3D includes the following steps:
[0020] Step 1. Determine whether it is an orthogonal camera, if so, go to step 4, otherwise, go to step 2;
[0021] Step 2. Obtain the straight-line distance d from the camera to the center point of the field of view and the camera angle of view FOV;
[0022] Step 3. Calculate the horizontal displacement X and the vertical displacement Y according to the linear distance d and the camera viewing angle FOV: X=d×2×tan(FOV÷2), Y=X÷screen aspect ratio, wherein, The screen aspect ratio mentioned above is the screen aspect ratio that comes with the unity3D engine, skip to step 5;
[0023] Step 4. Calculate the horizontal displacement X and the vertical displacement Y according to the size of the camera: X=2×size×picture aspect ratio, Y=2×size; wherein, the picture aspect ratio is provided by the unity3D engine Screen aspect ratio, the camera size ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com