Camera animation path generating method and device
An animation path and generation device technology, applied in the field of game development, can solve the problem of excessive reliance on third-party software in the design of camera animation path, and achieve the effect of improving generation efficiency and user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] figure 1 It is a schematic flow chart of a method for generating a camera animation path in Embodiment 1 of the present invention. This embodiment is applicable to the case of designing a camera animation path of a game perspective, and the method can be executed by a device for generating a camera animation path. It can be realized by means of software and / or hardware. like figure 1 As shown, the method includes:
[0020] S110. Obtain initial path key frame information, and calculate key frame data according to the path key frame initial information, where the path key frame initial information includes key frame position data, observation target point data, and animation time.
[0021] The initial information of the path keyframe is set by the game developer according to the scene design plan of the game perspective. The generation of a complete animation path needs to obtain the initial information of multiple path keyframes.
[0022] Wherein, the key frame posit...
Embodiment 2
[0029] figure 2 It is a schematic flow chart of a method for generating a camera animation path in Embodiment 2 of the present invention. On the basis of Embodiment 1, this embodiment adds the judgment operation of the coordinate system of the camera animation path, such as figure 2 , the method includes:
[0030] S210. Obtain initial path key frame information, and calculate key frame data according to the path key frame initial information, where the path key frame initial information includes key frame position data, observation target point data, and animation time.
[0031] S220. Perform an interpolation operation on the key frame data to obtain key frame intermediate data, and generate a camera animation path according to the key frame data and the key frame intermediate data.
[0032] S230. Determine whether the reference object of the camera animation path is at the origin of the century coordinate system, if not, execute step S240.
[0033] The world coordinate sy...
Embodiment 3
[0040] image 3 It is a schematic flow chart of a method for generating a camera animation path in Embodiment 3 of the present invention. On the basis of the above-mentioned embodiments, this embodiment describes in detail the method for generating a camera animation path, as image 3 As shown, the method includes:
[0041] S310. Calculate and obtain camera orientation data according to the key frame position data and the observation target point data.
[0042] The camera orientation data represents: the relative distance between the key frame position and the observation target point corresponding to the key frame position data and the observation target point data.
[0043] For example, suppose the key frame position data is Pos i (x,y,z), observe the target point data as Target i (x,y,z), the animation moment is Time i , the camera orientation data is Dir, and the specific calculation formula is Dir=Target–Pos.
[0044] Optionally, normalization processing may be perfo...
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