Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for generating camera animation path

An animation path and camera 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

Active Publication Date: 2019-11-22
BEIJING PIXEL SOFTWARE TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for generating a camera animation path to solve the problem that the camera animation path design work of the game perspective is overly dependent on third-party software

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for generating camera animation path
  • Method and device for generating camera animation path
  • Method and device for generating camera animation path

Examples

Experimental program
Comparison scheme
Effect test

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. Such as 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 po...

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 world coordinate system, if not, execute step S240.

[0033] The world coordinate syst...

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a camera animation path generating method and a device thereof. The camera animation path generating method comprises the steps of acquiring the initial information of the key frames of a path; calculating to obtain the data of the key frames according to the initial information of the key frames of the path, wherein the initial information of the key frames of the path is composed of the position data of key frames, the data of observed target points and animation moments; subjecting the data of key frames to interpolation operation to obtain the intermediate data of the key frames; and generating a camera animation path according to the data of the key frames and the intermediate data of the key frames. According to the technical scheme of the invention, the problem that the design for the camera animation path of a game view angle is excessively depending on the third-party software during the game designing process can be solved. Meanwhile, the related data of the camera animation path are obtained and processed based on the game development software itself, and then the camera animation path is obtained. Therefore, a series of problems, generated due to the dependence on the third-party software, including poor customizability, fewer game special-effect shots, changing coordinate system and the like, can be effectively avoided. Furthermore, the generation of the camera animation path is increased and the user experience is improved.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of game development, in particular to a method and device for generating a camera animation path. Background technique [0002] In the process of 3D game development, the appropriate scene perspective plays a key role in the game experience. Usually in RPG (role-playing) and FPS (first-person shooter) games, the game perspective that the player sees is mainly controlled by the player himself, but in the non-combat state, there are still some "scene animations" and "character close-ups" , "Wonderful moments" and other game perspectives are controlled by non-players. Therefore, how to generate the animation path of the camera in the virtual scene becomes a technical problem. [0003] In the prior art, the artist imports the basic reference model (character or building) in the 3DMax software, adds and adjusts the camera position and direction posture of each key point on the camera a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T13/20
CPCG06T13/20
Inventor 王彦
Owner BEIJING PIXEL SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products