Lens attribute adjustment method, device, equipment and storage medium

CN116899223BActive Publication Date: 2026-09-25NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310738242.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-20
Publication Date
2026-09-25
Estimated Expiration
2043-06-20

AI Technical Summary

Technical Problem

[0004]本发明的主要目的在于解决解决现有技术中由于场景和角色位置各异,无法应用已有的镜头运动库的技术问题

Benefits of technology

[0017]本发明通过响应于当前视角镜头的位置调整操作,将当前视角镜头与镜头运动库中各镜头运动位姿在目标帧的相机进行绑定,生成对应的移动节点;构建各移动节点与镜头运动库中各镜头运动位姿在目标帧的相机之间的父子节点关系;计算当前视角镜头调整后各移动节点的转换数据;根据父子节点关系和各移动节点的转换数据,确定当前视角镜头调整后,镜头运动库中各镜头运动位姿的相机在目标帧的位置信息。本发明提供一种根据当前视角镜头定位反求镜头运动库中指定帧相机位置的方式,通过将视角镜头与镜头运动库中的相机的指定帧进行绑定,生成移动节点,并通过构建父子节点关系方式,使得当前视角镜头发生调整时,由于带动绑定生成的移动节点移动,进而通过父子节点关系带动镜头运动库中的相机的指定帧的移动,确定相机在指定帧的位置,实现对应的镜头运动库中镜头效果。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116899223B_ABST
    Figure CN116899223B_ABST
Patent Text Reader

Abstract

The present application relates to the field of data processing, and provide a lens attribute adjustment method, device, equipment and storage medium, wherein, the method comprises: in response to the position adjustment operation of the current view angle lens, the camera of the target frame between the current view angle lens and each lens motion pose in the lens motion library is bound, and the corresponding mobile node is generated; the parent-child node relationship between each mobile node and the camera of the target frame between each lens motion pose in the lens motion library is constructed; the conversion data of each mobile node after the current view angle lens adjustment is calculated; according to the parent-child node relationship and the conversion data of each mobile node, the position information of the camera of each lens motion pose in the lens motion library in the target frame after the current view angle lens adjustment is determined. The present application provides a way of positioning the specified frame camera position in the lens motion library according to the current view angle lens, which can reverse match the lens motion according to the position set in the production while keeping the relative motion of the original lens.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing, and more particularly to a method, apparatus, device, and storage medium for adjusting lens attributes. Background Technology

[0002] In the development of games such as SRPGs and JRPGs, numerous simple event animations are required to advance the game's plot and enhance the gaming experience. These event animations are relatively simple in content, quick to produce, and not particularly difficult to create, with no strong customization requirements. They primarily consist of static dialogue animations of characters, accompanied by looping actions.

[0003] Because of the large production volume and relatively low difficulty, involving the piecing together and combining of numerous resources, and because such animations are mostly handled by planners—that is, non-professional film and television production personnel—the existing camera motion library can be immediately accessed after the character positioning in the scene is completed. This allows for verification of the visual effects, iteration, and output. However, the positions of the characters in each animation's scene differ from their positions when the camera motion library was created, necessitating adjustments to the existing camera motion library to match the new animation. Summary of the Invention

[0004] The main objective of this invention is to solve the technical problem that existing camera motion libraries cannot be applied due to the different positions of scenes and characters in the prior art.

[0005] The first aspect of this invention provides a lens attribute adjustment method, the method comprising:

[0006] In response to the current viewpoint camera position adjustment operation, the current viewpoint camera is bound to the camera of each camera motion pose in the camera motion library in the target frame, and the corresponding motion node is generated.

[0007] Construct the parent-child node relationship between each of the aforementioned mobile nodes and the camera in the target frame for each lens motion pose in the lens motion library;

[0008] Calculate the transformation data of each moving node after the current viewpoint camera is adjusted;

[0009] Based on the parent-child node relationship and the transformation data of each of the moving nodes, the position information of the camera in the target frame for each lens motion pose in the lens motion library after the current viewpoint lens adjustment is determined.

[0010] A second aspect of the present invention provides a lens property adjustment device, comprising:

[0011] The binding module is used to respond to the position adjustment operation of the current viewpoint camera, bind the current viewpoint camera to the camera of each camera motion pose in the camera motion library in the target frame, and generate the corresponding motion node;

[0012] The relationship building module is used to build the parent-child node relationship between each of the mobile nodes and the camera in the lens motion library at the target frame.

[0013] The calculation module is used to calculate the transformation data of each moving node after the current viewpoint camera is adjusted;

[0014] The position determination module is used to determine the position information of the camera in the target frame of each lens motion pose in the lens motion library after the current viewpoint lens adjustment, based on the parent-child node relationship and the transformation data of each of the moving nodes.

[0015] A third aspect of the present invention provides a lens attribute adjustment device, comprising: a memory and at least one processor, wherein the memory stores instructions, and the memory and the at least one processor are interconnected via a circuit; the at least one processor invokes the instructions in the memory to cause the lens attribute adjustment device to perform the steps of the lens attribute adjustment method described above.

[0016] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the steps of the lens attribute adjustment method described above.

[0017] This invention, in response to a current viewpoint lens position adjustment operation, binds the current viewpoint lens to cameras in the target frame corresponding to each lens motion pose in the lens motion library, generating corresponding motion nodes; constructs parent-child node relationships between each motion node and cameras in the target frame corresponding to each lens motion pose in the lens motion library; calculates the transformation data of each motion node after the current viewpoint lens adjustment; and determines the position information of cameras in the target frame corresponding to each lens motion pose in the lens motion library after the current viewpoint lens adjustment based on the parent-child node relationships and the transformation data of each motion node. This invention provides a method for inversely determining the camera position in a specified frame of the lens motion library based on the current viewpoint lens position. By binding the viewpoint lens to a specified frame of a camera in the lens motion library to generate motion nodes, and by constructing parent-child node relationships, when the current viewpoint lens is adjusted, the bound motion nodes move, thereby causing the specified frame of the camera in the lens motion library to move through the parent-child node relationships, determining the camera position in the specified frame, and achieving the corresponding lens effect in the lens motion library.

[0018] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.

[0019] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0020] Figure 1 This is a schematic diagram of one embodiment of the lens attribute adjustment method in this invention;

[0021] Figure 2 This is a schematic diagram of another embodiment of the lens attribute adjustment method in this invention;

[0022] Figure 3 This is a schematic diagram of another embodiment of the lens attribute adjustment method in this invention;

[0023] Figure 4 This is a schematic diagram of one embodiment of the lens attribute adjustment device in this invention;

[0024] Figure 5 This is a schematic diagram of another embodiment of the lens attribute adjustment device in this invention;

[0025] Figure 6 This is a schematic diagram of one embodiment of the lens attribute adjustment device in this invention. Detailed Implementation

[0026] This invention provides a lens attribute adjustment method, apparatus, device, and storage medium. In response to a current viewpoint lens position adjustment operation, the current viewpoint lens is bound to cameras in the target frame corresponding to each lens motion pose in the lens motion library, generating corresponding motion nodes. A parent-child node relationship is constructed between each motion node and the cameras in the target frame corresponding to each lens motion pose in the lens motion library. The transformation data of each motion node after the current viewpoint lens adjustment is calculated. Based on the parent-child node relationship and the transformation data of each motion node, the position information of the cameras in the target frame corresponding to each lens motion pose in the lens motion library after the current viewpoint lens adjustment is determined. This invention also provides a method for inversely determining the camera position in a specified frame of the lens motion library based on the current viewpoint lens position. By binding the viewpoint lens to a specified frame of a camera in the lens motion library, generating motion nodes, and constructing parent-child node relationships, when the current viewpoint lens is adjusted, the bound motion nodes move, thereby causing the specified frame of the camera in the lens motion library to move, determining the camera position in the specified frame, and achieving the corresponding lens effect in the lens motion library.

[0027] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” or “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 The first embodiment of the lens attribute adjustment method in this invention includes:

[0029] 101. In response to the position adjustment operation of the current viewpoint camera, bind the current viewpoint camera to the camera of each camera motion pose in the camera motion library in the target frame, and generate the corresponding motion node.

[0030] In this embodiment, the current viewpoint is the camera angle presented by the software when the user uses DCC (Digital Content Creation) software, including Maya, Houdini, Nuke, Unreal Engine, etc. The user can adjust the position of the current viewpoint in various ways, such as using a trackball to control the direction of the 3D view. The viewpoint can be changed by clicking and dragging on the trackball, or by creating and setting up cameras in DCC software, allowing the user to observe the scene from any position. In the main view window, select the "Camera" or "Camera" option, and then create a new camera. Camera parameters such as position, rotation, and lens focal length can be adjusted. This embodiment does not limit the customization of the viewpoint position for adjusting the current viewpoint position. When a change in viewpoint position occurs, the subsequent steps of this method are performed. In this embodiment, the camera motion library refers to a software library or toolset used to store and manage various camera motion effects, including translation, rotation, scaling, shaking, and other dynamic effects.

[0031] In practical applications, the camera pairs corresponding to the various camera motion effects in the camera motion library are implemented in different poses such as movement, rotation, scaling, and shaking in different frames. By connecting the effects captured by the cameras in different frames, the camera motion effect can be achieved. In this embodiment, the user specifies the number of frames for the cameras in the camera motion library in advance. The specified number of frames is the target frame. The current viewpoint camera and the camera of each camera motion pose in the camera motion library at the target frame are bound together. A movement node related to the position of the current viewpoint camera and the position of the camera of each camera motion pose in the camera motion library at the target frame is generated. This movement node is the Transform node, which is the most basic node in DCC software. It provides Translate, Rotate, and Scale attributes, representing the position information of a point in the three-dimensional world.

[0032] 102. Construct the parent-child node relationship between each moving node and each camera in the camera motion library at the target frame;

[0033] In practical applications, the DCC software used contains multi-level tree nodes. A multi-level tree node refers to a hierarchical structure in which each node can have multiple child nodes, and each child node can also have its own child nodes, and so on. In the world coordinate system, the child node will completely inherit the transformation of the parent node. Therefore, in this embodiment of the invention, as long as the child node is matched, the position of the parent object can be calculated by using the inverse matrix of the child object, achieving the effect of matching the position of the specified object while maintaining the relative motion of the child object. In this embodiment of the invention, the generated moving node is automatically identified and selected as the parent node, and the camera in the lens motion library is selected as the child node. Then, the connection tool is used to connect the selected child-child nodes with the parent node to build the parent-child node relationship.

[0034] 103. Calculate the transformation data of each moving node after the current viewpoint camera is adjusted;

[0035] In this embodiment, since the conversion data of the moving node is related to the position of the current viewpoint camera, the conversion data of the moving node will also change when the position of the current viewpoint camera changes. Therefore, the conversion data of the moving node after the current viewpoint camera is adjusted can be recalculated according to the moving node generation process in the above steps.

[0036] 104. Based on the parent-child node relationship and the transformation data of each moving node, determine the position information of the camera in the target frame for each lens motion pose in the lens motion library after the current viewpoint lens adjustment.

[0037] In practical applications, in DCC software, child nodes inherit the Transform data of their parent nodes. This inheritance is achieved through a hierarchical structure. Each node has a transform attribute that describes its position, rotation, and scaling. When a node is a child node of another node, it automatically inherits the transform attribute of its parent node. Therefore, in this embodiment, through the parent-child constraints between parent and child nodes, the cameras in each lens pose in the lens motion library inherit the transformation data of each moving node after the current viewpoint lens adjustment, thereby moving the cameras in each lens pose in the head motion library to the corresponding positions and determining the position information of those positions.

[0038] In this embodiment, in response to the current viewpoint lens position adjustment operation, the current viewpoint lens is bound to the cameras in the target frame corresponding to the lens motion poses in the lens motion library, generating corresponding motion nodes; a parent-child node relationship is constructed between each motion node and the cameras in the target frame corresponding to the lens motion poses in the lens motion library; the transformation data of each motion node after the current viewpoint lens adjustment is calculated; based on the parent-child node relationship and the transformation data of each motion node, the position information of the cameras in the target frame corresponding to the lens motion poses in the lens motion library after the current viewpoint lens adjustment is determined. This invention provides a method for inversely determining the camera position in a specified frame of the lens motion library based on the current viewpoint lens position. By binding the viewpoint lens to a specified frame of the camera in the lens motion library to generate motion nodes, and by constructing parent-child node relationships, when the current viewpoint lens is adjusted, the bound motion nodes move, thereby causing the specified frame of the camera in the lens motion library to move through the parent-child node relationship, determining the camera position in the specified frame, and realizing the corresponding lens effect in the lens motion library.

[0039] Please see Figure 2 Another embodiment of the lens attribute adjustment method in this invention includes:

[0040] 201. In response to the current viewpoint lens position adjustment operation, perform matrix operation on the first transformation data of the camera in the target frame for each lens motion pose to generate the corresponding first transformation matrix;

[0041] In this embodiment, the first transformation data includes one or more of the camera position value, rotation value, or scaling value of each lens motion pose in the target frame; the step of performing matrix operations on the first transformation data of each lens motion pose in the target frame in response to the current viewpoint lens position adjustment operation to generate the corresponding first transformation matrix includes: in response to the current viewpoint lens position adjustment operation, generating matrices corresponding to the position value, rotation value, and scaling value in the first transformation data according to a preset matrix generation algorithm, respectively obtaining a position matrix, a rotation matrix, and a scaling matrix; multiplying the position matrix, rotation matrix, and scaling matrix to obtain the first transformation matrix corresponding to the first transformation data.

[0042] Specifically, the camera in the lens motion library is called CamOri, and the current viewpoint lens is called CamDes. When adjusting the position of the current viewpoint lens, CamDes obtains the position value L1 and rotation value R1 of CamOri in world coordinates at the input frame number T, which is the target frame. It creates a matrix Matrix1, which is the first transformation matrix, by generating the translation matrix, rotation matrix, and scaling matrix corresponding to the position value L1, rotation value R1, and scaling value Scale, Scale, Scale vectors. Then, it multiplies these three matrices to form the final transformation matrix, which is the first transformation matrix.

[0043] 202. Multiply the inverse of the first transformation matrix by the position and rotation values ​​of the origin in world coordinates to obtain the second transformation data;

[0044] In this embodiment, the inverse matrix InvMatrix1 of the first transformation matrix Matrix1 is multiplied by the origin coordinates L0 (0, 0, 0) to obtain the new world coordinate value L2. This is equivalent to moving the current camera Cam1 from L1 to L0, which requires the parent object to move from L0 to L2. Furthermore, the inverse matrix InvMatrix1 of the first transformation matrix Matrix1 is multiplied by the origin coordinates R0 (0, 0, 0) to obtain the new world coordinate rotation value R2. This is equivalent to rotating the current camera Cam1 from R1 to R0, which requires the parent object to rotate from R0 to R2. The resulting new world coordinate values ​​L2 and R2 constitute the second transformation data.

[0045] 203. Generate the corresponding fourth transformation data based on the binding algorithm, each second transformation data, and the third transformation data of the current viewpoint camera;

[0046] In this embodiment, generating corresponding fourth transformation data based on the second transformation data and the third transformation data of the current viewpoint lens includes: performing matrix operations on each third transformation data to generate a second transformation matrix corresponding to each third transformation data; multiplying each second transformation matrix with the second transformation data to obtain a corresponding multiplication result; calculating the scaling value of each moving node based on the scaling value of the camera in the target frame of the lens motion pose in the first transformation data; and generating corresponding fourth transformation data based on each multiplication result and the scaling value of each moving node.

[0047] Specifically, the position value LD and rotation value RD of the current viewpoint camera CamDes in world coordinates are obtained. Through a similar generation process as the first transformation matrix, a matrix Matrix2, which is the second transformation matrix, is created by multiplying the L2 position value in the second transformation data by the second transformation matrix Matrix2. The new world coordinate value L3 is obtained by multiplying the L2 rotation value in the second transformation data by the second transformation matrix Matrix2. The new world rotation value R3 is obtained by multiplying the L2 rotation value in the second transformation data by the second transformation matrix Matrix2. Based on the camera's scaling value Scale,Scale,Scale vector in the target frame of the first transformation data, a vector with a scaling value of 1 / Scale is calculated.

[0048] 204. Create motion nodes for each camera motion pose in the camera motion library, and use the fourth transformation data as the transformation data for the corresponding motion node;

[0049] In this embodiment, a new mobile node is created by transforming a vector with a scaling value of 1 / Scale. The new world coordinate value L3 and the new world rotation value R3 are the position and rotation values ​​of the mobile node, respectively, thus obtaining the new mobile node.

[0050] 205. Construct the parent-child node relationship between each moving node and each camera in the camera motion library in the target frame;

[0051] 206. Calculate the transformation data of each moving node after the current viewpoint camera is adjusted;

[0052] 207. Based on the parent-child node relationship and the transformation data of each moving node, determine the position information of the camera in the target frame for each lens motion pose in the lens motion library after the current viewpoint lens adjustment.

[0053] In this embodiment, steps 205-207 are similar to steps 102-104 in the previous embodiment, and will not be described again here.

[0054] In this embodiment, in response to the current viewpoint lens position adjustment operation, the current viewpoint lens is bound to the cameras in the target frame corresponding to the lens motion poses in the lens motion library, generating corresponding motion nodes; a parent-child node relationship is constructed between each motion node and the cameras in the target frame corresponding to the lens motion poses in the lens motion library; the transformation data of each motion node after the current viewpoint lens adjustment is calculated; based on the parent-child node relationship and the transformation data of each motion node, the position information of the cameras in the target frame corresponding to the lens motion poses in the lens motion library after the current viewpoint lens adjustment is determined. This invention provides a method for inversely determining the camera position in a specified frame of the lens motion library based on the current viewpoint lens position. By binding the viewpoint lens to a specified frame of the camera in the lens motion library to generate motion nodes, and by constructing parent-child node relationships, when the current viewpoint lens is adjusted, the bound motion nodes move, thereby causing the specified frame of the camera in the lens motion library to move through the parent-child node relationship, determining the camera position in the specified frame, and realizing the corresponding lens effect in the lens motion library.

[0055] Please see Figure 3 Another embodiment of the lens attribute adjustment method in this invention includes:

[0056] 301. In response to the position adjustment operation of the current viewpoint camera, bind the current viewpoint camera to the camera of each camera motion pose in the camera motion library in the target frame, and generate the corresponding motion node.

[0057] 302. Construct the parent-child node relationship between each moving node and each camera in the camera motion library at the target frame;

[0058] 303. Calculate the transformation data of each moving node after the current viewpoint camera is adjusted;

[0059] In this embodiment, steps 301-303 are similar to steps 101-103 in the first embodiment, and will not be described again here.

[0060] 304. Based on the parent-child node relationship, the transformation data of each moving node is inherited to the camera in the target frame corresponding to the lens motion pose in the lens motion library, so that the camera in the target frame with each lens motion pose can adjust its position and determine the position information of the camera in the target frame with each lens motion pose.

[0061] In this embodiment, a parent-child constraint is formed by establishing a parent-child node relationship between the constructed motion node and each camera motion pose in the camera of the target frame. This parent-child constraint is a tool used to control the parent-child node relationship. For example, in animation, the movement of a child object can be restricted to its parent object, preventing it from being affected by other factors. The parent-child constraint allows one object to move or rotate relative to another object without losing their parent-child node relationship. In this embodiment, the offset of the motion node after adjustment at the current camera viewpoint position can be calculated. Through the parent-child node relationship, this offset is inherited by the child object. The child object calculates its position based on the offset of its parent object. The calculation relationship for the translation amount is as follows:

[0062] P_sub = P_parent + P_relative

[0063] Where P_sub is the position of the child object, P_parent is the position of the parent object, and P_relative is the offset of the child object in the coordinate system of the parent object.

[0064] The calculation relationship for the rotation amount is as follows:

[0065] R_sub_world=R_parent_world+R_relative_parent

[0066] Where R_sub_world is the rotation of the child object, R_parent_world is the rotation of the parent object, and R_relative_parent is the rotation offset of the child object in the parent object's coordinate system.

[0067] The scaling factor is calculated as follows:

[0068] S_sub = S_parent * S_relative

[0069] Here, S_sub is the scaling of the child object, S_parent is the scaling of the parent object, and S_relative is the scaling offset of the child object in the parent object's coordinate system. Based on these calculations, the position information of the child object, i.e., the camera's position in the target frame, for each lens's motion pose, can be calculated.

[0070] 305. Obtain the relative positional relationship between the camera in the target frame and other frames other than the target frame for each camera motion pose in the camera motion library;

[0071] It should be noted that the relative position, rotation, and scaling relationships of the camera in each lens motion pose in the lens motion library are determined at any given frame. When needed, this information can be directly retrieved from the pre-stored storage location. In this embodiment, the given frame is the target frame.

[0072] 306. Based on the relative positional relationships and the position information of the camera in the corresponding camera motion pose in the lens motion library in the target frame, calculate the position information of the camera in the lens motion pose in the lens motion library after the current viewpoint lens is adjusted, except for the target frame.

[0073] In this embodiment, when the position information of a specified frame is determined, the position information of the frames before and after the specified frame can be calculated based on the relative position relationship, rotation relationship, scaling relationship, etc. between the specified frame and the frames before and after the specified frame. The frames before and after the specified frame are then used as specified frames for calculation again. By iterating in a loop, the position information of the camera in all frames of the lens motion pose can be calculated.

[0074] 307. Based on the position information of the camera in all frames after the current viewpoint lens is adjusted, realize the motion effect of the camera in the current viewpoint lens after the current viewpoint lens is adjusted.

[0075] In this embodiment, by adjusting the position information of the camera in all frames after adjusting the motion pose of each lens using the front-view lens, and then moving the lens again to take pictures, the lens motion effect of the camera after adjusting the motion pose of each lens using the current-view lens can be achieved.

[0076] In this embodiment, in response to the current viewpoint lens position adjustment operation, the current viewpoint lens is bound to the cameras in the target frame whose lens motion poses are in the lens motion library, generating corresponding motion nodes; a parent-child node relationship is constructed between each motion node and the cameras in the target frame whose lens motion poses are in the lens motion library; the transformation data of each motion node after the current viewpoint lens adjustment is calculated; and based on the parent-child node relationship and the transformation data of each motion node, the position information of the cameras in the target frame whose lens motion poses are in the lens motion library after the current viewpoint lens adjustment is determined. This invention provides a method for inversely determining the camera position in a specified frame of the lens motion library based on the current viewpoint lens position. By binding the viewpoint lens to a specified frame of the camera in the lens motion library, generating motion nodes, and constructing parent-child node relationships, when the current viewpoint lens is adjusted, the bound motion nodes move, thereby causing the specified frame of the camera in the lens motion library to move through the parent-child node relationship, determining the camera position in the specified frame, and realizing the corresponding lens effect in the lens motion library.

[0077] The lens attribute adjustment method in the embodiments of the present invention has been described above. The lens attribute adjustment device in the embodiments of the present invention will be described below. Please refer to [link / reference]. Figure 4 One embodiment of the lens attribute adjustment device in this invention includes:

[0078] The binding module 401 is used to respond to the position adjustment operation of the current viewpoint lens, bind the current viewpoint lens to the camera of each lens motion pose in the lens motion library in the target frame, and generate the corresponding motion node.

[0079] The relationship building module 402 is used to build the parent-child node relationship between each of the mobile nodes and the camera in the lens motion library at the target frame.

[0080] The calculation module 403 is used to calculate the transformation data of each moving node after the current viewpoint lens is adjusted;

[0081] The position determination module 404 is used to determine the position information of the camera in the target frame of each lens motion pose in the lens motion library after the current viewpoint lens adjustment, based on the parent-child node relationship and the transformation data of each of the moving nodes.

[0082] In this embodiment, in response to the current viewpoint lens position adjustment operation, the current viewpoint lens is bound to the cameras in the target frame corresponding to the lens motion poses in the lens motion library, generating corresponding motion nodes; a parent-child node relationship is constructed between each motion node and the cameras in the target frame corresponding to the lens motion poses in the lens motion library; the transformation data of each motion node after the current viewpoint lens adjustment is calculated; based on the parent-child node relationship and the transformation data of each motion node, the position information of the cameras in the target frame corresponding to the lens motion poses in the lens motion library after the current viewpoint lens adjustment is determined. This invention provides a method for inversely determining the camera position in a specified frame of the lens motion library based on the current viewpoint lens position. By binding the viewpoint lens to a specified frame of the camera in the lens motion library to generate motion nodes, and by constructing parent-child node relationships, when the current viewpoint lens is adjusted, the bound motion nodes move, thereby causing the specified frame of the camera in the lens motion library to move through the parent-child node relationship, determining the camera position in the specified frame, and realizing the corresponding lens effect in the lens motion library.

[0083] Please see Figure 5 Another embodiment of the lens attribute adjustment device in this invention includes:

[0084] The binding module 401 is used to respond to the position adjustment operation of the current viewpoint lens, bind the current viewpoint lens to the camera of each lens motion pose in the lens motion library in the target frame, and generate the corresponding motion node.

[0085] The relationship building module 402 is used to build the parent-child node relationship between each of the mobile nodes and the camera in the lens motion library at the target frame.

[0086] The calculation module 403 is used to calculate the transformation data of each moving node after the current viewpoint lens is adjusted;

[0087] The position determination module 404 is used to determine the position information of the camera in the target frame of each lens motion pose in the lens motion library after the current viewpoint lens adjustment, based on the parent-child node relationship and the transformation data of each of the moving nodes.

[0088] In one feasible implementation, the binding module 401 specifically includes:

[0089] The first conversion unit 4011 is used to generate corresponding second conversion data in response to the current viewpoint lens position adjustment operation, based on the first conversion data of the camera in the target frame for each lens motion pose in the lens motion library.

[0090] The second conversion unit 4012 is used to generate corresponding fourth conversion data based on each of the second conversion data and the third conversion data of the current viewpoint lens;

[0091] The node creation unit 4013 is used to create motion nodes for each lens motion pose in the lens motion library, and uses the fourth transformation data as the transformation data for the corresponding motion node.

[0092] In one feasible implementation, the first conversion unit 4011 is specifically used for:

[0093] In response to the current viewpoint camera position adjustment operation, matrix operations are performed on the first transformation data of the camera in the target frame for each camera motion pose to generate the corresponding first transformation matrix;

[0094] The inverse of the first transformation matrix is ​​multiplied by the position and rotation values ​​of the origin in world coordinates to obtain the second transformation data.

[0095] In one feasible implementation, the first conversion data includes one or more of the following information: the camera position value, rotation value, and scaling value of each lens motion pose in the target frame; the first conversion unit 4011 is further configured to include:

[0096] In response to the current viewpoint camera position adjustment operation, matrices corresponding to the position value, rotation value and scaling value in the first transformation data are generated according to the preset matrix generation algorithm, respectively, to obtain the position matrix, rotation matrix and scaling matrix;

[0097] Multiplying the position matrix, rotation matrix, and scaling matrix yields the first transformation matrix corresponding to the first transformation data.

[0098] In one feasible implementation, the second conversion unit 4012 is specifically used for:

[0099] Perform matrix operations on each third transformation data to generate the second transformation matrix corresponding to each third transformation data;

[0100] Multiply each of the second transformation matrices with the second transformation data to obtain the corresponding multiplication result;

[0101] The scaling value of each moving node is calculated based on the scaling value of the camera in the target frame of the lens motion pose in the first conversion data.

[0102] The corresponding fourth transformation data is generated based on the multiplication results and the scaling values ​​of the moving nodes.

[0103] In one feasible implementation, the position determination module 404 is specifically configured to include:

[0104] Based on the parent-child node relationship, the transformation data of each mobile node is inherited to the camera in the target frame corresponding to the lens motion pose in the lens motion library, so that the position of the camera in the target frame is adjusted and the position information of the camera in the target frame is determined.

[0105] In one feasible implementation, the lens attribute adjustment device further includes an effect implementation module 405, which is specifically used for:

[0106] The relative positional relationship between the camera in the target frame and other frames other than the target frame is obtained from the motion poses of each lens in the lens motion library.

[0107] Based on the relative positional relationships and the position information of the camera in the corresponding lens motion pose in the lens motion library in the target frame, calculate the position information of the camera in each lens motion pose in the lens motion library in other frames besides the target frame after the current viewpoint lens adjustment;

[0108] Based on the camera's position information in all frames after adjusting the motion pose of each lens from the current viewpoint, the motion effect of the camera after adjusting the motion pose of each lens from the current viewpoint is achieved.

[0109] In this embodiment, in response to the current viewpoint lens position adjustment operation, the current viewpoint lens is bound to the cameras in the target frame whose lens motion poses are in the lens motion library, generating corresponding motion nodes; a parent-child node relationship is constructed between each motion node and the cameras in the target frame whose lens motion poses are in the lens motion library; the transformation data of each motion node after the current viewpoint lens adjustment is calculated; and based on the parent-child node relationship and the transformation data of each motion node, the position information of the cameras in the target frame whose lens motion poses are in the lens motion library after the current viewpoint lens adjustment is determined. This invention provides a method for inversely determining the camera position in a specified frame of the lens motion library based on the current viewpoint lens position. By binding the viewpoint lens to a specified frame of the camera in the lens motion library, generating motion nodes, and constructing parent-child node relationships, when the current viewpoint lens is adjusted, the bound motion nodes move, thereby causing the specified frame of the camera in the lens motion library to move through the parent-child node relationship, determining the camera position in the specified frame, and realizing the corresponding lens effect in the lens motion library.

[0110] above Figure 4 and Figure 5 The lens attribute adjustment device in this embodiment of the invention is described in detail from the perspective of modular functional entities. The lens attribute adjustment device in this embodiment of the invention is described in detail from the perspective of hardware processing.

[0111] Figure 6 This is a schematic diagram of a lens attribute adjustment device 600 provided in an embodiment of the present invention. The lens attribute adjustment device 600 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 610 (e.g., one or more processors) and a memory 620, and one or more storage media 630 (e.g., one or more mass storage devices) storing application programs 633 or data 632. The memory 620 and storage media 630 can be temporary or persistent storage. The program stored in the storage media 630 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the lens attribute adjustment device 600. Furthermore, the processor 610 may be configured to communicate with the storage media 630 and execute a series of instruction operations in the storage media 630 on the lens attribute adjustment device 600 to achieve the following steps:

[0112] In response to the current viewpoint lens position adjustment operation, the current viewpoint lens is bound to the cameras in the target frame corresponding to the lens motion poses in the lens motion library, generating corresponding motion nodes; a parent-child node relationship is constructed between each motion node and the cameras in the target frame corresponding to the lens motion poses in the lens motion library; the transformation data of each motion node after the current viewpoint lens adjustment is calculated; based on the parent-child node relationship and the transformation data of each motion node, the position information of the cameras in the target frame corresponding to the lens motion poses in the lens motion library after the current viewpoint lens adjustment is determined. This invention provides a method for inversely determining the camera position in a specified frame of the lens motion library based on the current viewpoint lens position. By binding the viewpoint lens to a specified frame of the camera in the lens motion library to generate motion nodes, and by constructing parent-child node relationships, when the current viewpoint lens is adjusted, the bound motion nodes move, thereby causing the specified frame of the camera in the lens motion library to move through the parent-child node relationship, determining the camera position in the specified frame, and realizing the corresponding lens effect in the lens motion library.

[0113] Optionally, in response to the current viewpoint camera position adjustment operation, binding the current viewpoint camera with the camera of each lens motion pose in the lens motion library in the target frame and generating corresponding motion nodes includes: in response to the current viewpoint camera position adjustment operation, generating corresponding second conversion data based on the first conversion data of each lens motion pose in the lens motion library in the target frame; generating corresponding fourth conversion data based on each of the second conversion data and the third conversion data of the current viewpoint camera; creating motion nodes for each lens motion pose in the lens motion library, and using each of the fourth conversion data as the conversion data of the corresponding motion node.

[0114] The above method calculates the conversion data of the current viewpoint lens and the camera of each lens motion pose in the lens motion library in the target frame, and obtains the motion node related to both, thereby realizing the binding of the current viewpoint lens and the camera of each lens motion pose in the lens motion library in the target frame.

[0115] Optionally, the above-mentioned response to the current viewpoint lens position adjustment operation, generating corresponding second transformation data based on the first transformation data of each lens motion pose in the target frame camera in the lens motion library includes: responding to the current viewpoint lens position adjustment operation, performing matrix operations on the first transformation data of each lens motion pose in the target frame camera to generate a corresponding first transformation matrix; multiplying the inverse matrix of the first transformation matrix by the position value and rotation value of the origin in world coordinates respectively to obtain the second transformation data.

[0116] The above method generates a transformation matrix corresponding to the first transformation data of the camera in the target frame through a preset matrix generation algorithm, and multiplies the corresponding inverse matrix with the transformation data of the origin in world coordinates, so that when the camera in the target frame moves to the origin, the parent object needs to move from the origin to the corresponding position.

[0117] Optionally, the first conversion data mentioned above includes one or more of the following information: the camera position value, rotation value, and scaling value of each lens motion pose in the target frame;

[0118] The step of responding to the current viewpoint lens position adjustment operation by performing matrix operations on the first transformation data of the camera in the target frame for each lens motion pose to generate the corresponding first transformation matrix includes: responding to the current viewpoint lens position adjustment operation by generating matrices corresponding to the position value, rotation value and scaling value in the first transformation data according to a preset matrix generation algorithm, respectively obtaining the position matrix, rotation matrix and scaling matrix; and multiplying the position matrix, rotation matrix and scaling matrix to obtain the first transformation matrix corresponding to the first transformation data.

[0119] The above method generates matrices of different transformed data, and multiplies and integrates them to obtain the transformation matrix corresponding to the first transformed data.

[0120] Optionally, the above-described method of generating corresponding fourth transformation data based on the second transformation data and the third transformation data of the current viewpoint includes: performing matrix operations on each third transformation data to generate a second transformation matrix corresponding to each third transformation data; multiplying each second transformation matrix with the second transformation data to obtain a corresponding multiplication result; calculating the scaling value of each moving node based on the scaling value of the camera in the target frame of the lens motion pose in the first transformation data; and generating corresponding fourth transformation data based on each multiplication result and the scaling value of each moving node.

[0121] The above method uses the first conversion data of the target frame camera and the fourth conversion data calculated by the third conversion of the current viewpoint lens as the conversion data of the moving node to achieve the binding between the target frame camera and the current viewpoint lens.

[0122] Optionally, the determination of the camera position information of each lens motion pose in the target frame after the current viewpoint lens adjustment based on the parent-child node relationship and the transformation data of each of the moving nodes includes: inheriting the transformation data of each of the moving nodes to the corresponding camera in the target frame in the lens motion library according to the parent-child node relationship, so that the camera in the target frame with each lens motion pose is adjusted, and the position information of the camera in the target frame with each lens motion pose is determined.

[0123] The above method, by establishing a parent-child node relationship, allows the transformation data of each mobile node to be inherited by the corresponding camera in the camera motion library at the target frame, so that when the mobile node moves, the camera in the target frame at each camera motion pose adjusts its position under parent-child constraints.

[0124] Optionally, after determining the position information of the camera in each lens motion pose in the lens motion library in the target frame according to the parent-child node relationship and the transformation data of each of the moving nodes, the method further includes: obtaining the relative positional relationship between the camera in each lens motion pose in the lens motion library in the target frame and in other frames besides the target frame; calculating the position information of the camera in each lens motion pose in the lens motion library in other frames besides the target frame after the current viewpoint lens adjustment, based on the relative positional relationship and the position information of the camera in the corresponding lens motion pose in the lens motion library in the target frame; and realizing the motion effect of the camera in each lens motion pose after the current viewpoint lens adjustment based on the position information of the camera in each lens motion pose in all frames.

[0125] The above method uses the fixed relationship between the camera's position in the frame before and after the target frame and the change in the relative position of the target frame in the lens motion library. After calculating the position of the camera in the target frame after the position adjustment, the position of the camera in other frames in the lens motion library is calculated to obtain the position of the camera in all frames in the lens motion library, thereby realizing the camera motion effect of lens motion pose.

[0126] The lens attribute adjustment device 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input / output interfaces 660, and / or one or more operating systems 631, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 6 The illustrated lens property adjustment device structure does not constitute a limitation on the lens property adjustment device provided by the present invention. It may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0127] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the following steps:

[0128] In response to the current viewpoint lens position adjustment operation, the current viewpoint lens is bound to the cameras in the target frame corresponding to the lens motion poses in the lens motion library, generating corresponding motion nodes; a parent-child node relationship is constructed between each motion node and the cameras in the target frame corresponding to the lens motion poses in the lens motion library; the transformation data of each motion node after the current viewpoint lens adjustment is calculated; based on the parent-child node relationship and the transformation data of each motion node, the position information of the cameras in the target frame corresponding to the lens motion poses in the lens motion library after the current viewpoint lens adjustment is determined. This invention provides a method for inversely determining the camera position in a specified frame of the lens motion library based on the current viewpoint lens position. By binding the viewpoint lens to a specified frame of the camera in the lens motion library to generate motion nodes, and by constructing parent-child node relationships, when the current viewpoint lens is adjusted, the bound motion nodes move, thereby causing the specified frame of the camera in the lens motion library to move through the parent-child node relationship, determining the camera position in the specified frame, and realizing the corresponding lens effect in the lens motion library.

[0129] Optionally, in response to the current viewpoint camera position adjustment operation, binding the current viewpoint camera with the camera of each lens motion pose in the lens motion library in the target frame and generating corresponding motion nodes includes: in response to the current viewpoint camera position adjustment operation, generating corresponding second conversion data based on the first conversion data of each lens motion pose in the lens motion library in the target frame; generating corresponding fourth conversion data based on each of the second conversion data and the third conversion data of the current viewpoint camera; creating motion nodes for each lens motion pose in the lens motion library, and using each of the fourth conversion data as the conversion data of the corresponding motion node.

[0130] The above method calculates the conversion data of the current viewpoint lens and the camera of each lens motion pose in the lens motion library in the target frame, and obtains the motion node related to both, thereby realizing the binding of the current viewpoint lens and the camera of each lens motion pose in the lens motion library in the target frame.

[0131] Optionally, the above-mentioned response to the current viewpoint lens position adjustment operation, generating corresponding second transformation data based on the first transformation data of each lens motion pose in the target frame camera in the lens motion library includes: responding to the current viewpoint lens position adjustment operation, performing matrix operations on the first transformation data of each lens motion pose in the target frame camera to generate a corresponding first transformation matrix; multiplying the inverse matrix of the first transformation matrix by the position value and rotation value of the origin in world coordinates respectively to obtain the second transformation data.

[0132] The above method generates a transformation matrix corresponding to the first transformation data of the camera in the target frame through a preset matrix generation algorithm, and multiplies the corresponding inverse matrix with the transformation data of the origin in world coordinates, so that when the camera in the target frame moves to the origin, the parent object needs to move from the origin to the corresponding position.

[0133] Optionally, the first conversion data mentioned above includes one or more of the following information: the camera position value, rotation value, and scaling value of each lens motion pose in the target frame;

[0134] The step of responding to the current viewpoint lens position adjustment operation by performing matrix operations on the first transformation data of the camera in the target frame for each lens motion pose to generate the corresponding first transformation matrix includes: responding to the current viewpoint lens position adjustment operation by generating matrices corresponding to the position value, rotation value and scaling value in the first transformation data according to a preset matrix generation algorithm, respectively obtaining the position matrix, rotation matrix and scaling matrix; and multiplying the position matrix, rotation matrix and scaling matrix to obtain the first transformation matrix corresponding to the first transformation data.

[0135] The above method generates matrices of different transformed data, and multiplies and integrates them to obtain the transformation matrix corresponding to the first transformed data.

[0136] Optionally, the above-described method of generating corresponding fourth transformation data based on the second transformation data and the third transformation data of the current viewpoint includes: performing matrix operations on each third transformation data to generate a second transformation matrix corresponding to each third transformation data; multiplying each second transformation matrix with the second transformation data to obtain a corresponding multiplication result; calculating the scaling value of each moving node based on the scaling value of the camera in the target frame of the lens motion pose in the first transformation data; and generating corresponding fourth transformation data based on each multiplication result and the scaling value of each moving node.

[0137] The above method uses the first conversion data of the target frame camera and the fourth conversion data calculated by the third conversion of the current viewpoint lens as the conversion data of the moving node to achieve the binding between the target frame camera and the current viewpoint lens.

[0138] Optionally, the determination of the camera position information of each lens motion pose in the target frame after the current viewpoint lens adjustment based on the parent-child node relationship and the transformation data of each of the moving nodes includes: inheriting the transformation data of each of the moving nodes to the corresponding camera in the target frame in the lens motion library according to the parent-child node relationship, so that the camera in the target frame with each lens motion pose is adjusted, and the position information of the camera in the target frame with each lens motion pose is determined.

[0139] The above method, by establishing a parent-child node relationship, allows the transformation data of each mobile node to be inherited by the corresponding camera in the camera motion library at the target frame, so that when the mobile node moves, the camera in the target frame at each camera motion pose adjusts its position under parent-child constraints.

[0140] Optionally, after determining the position information of the camera in each lens motion pose in the lens motion library in the target frame according to the parent-child node relationship and the transformation data of each of the moving nodes, the method further includes: obtaining the relative positional relationship between the camera in each lens motion pose in the lens motion library in the target frame and in other frames besides the target frame; calculating the position information of the camera in each lens motion pose in the lens motion library in other frames besides the target frame after the current viewpoint lens adjustment, based on the relative positional relationship and the position information of the camera in the corresponding lens motion pose in the lens motion library in the target frame; and realizing the motion effect of the camera in each lens motion pose after the current viewpoint lens adjustment based on the position information of the camera in each lens motion pose in all frames.

[0141] The above method uses the fixed relationship between the camera's position in the frame before and after the target frame and the change in the relative position of the target frame in the lens motion library. After calculating the position of the camera in the target frame after the position adjustment, the position of the camera in other frames in the lens motion library is calculated to obtain the position of the camera in all frames in the lens motion library, thereby realizing the camera motion effect of lens motion pose.

[0142] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system, device, or unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0143] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0144] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for adjusting lens attributes, characterized in that, The lens attribute adjustment method includes: In response to the current viewpoint camera position adjustment operation, the current viewpoint camera is bound to the camera of each camera motion pose in the camera motion library in the target frame, and the corresponding motion node is generated. Construct parent-child node relationships between each of the aforementioned mobile nodes and the cameras in the target frame whose motion poses are in the lens motion library; Calculate the transformation data of each moving node after the current viewpoint camera is adjusted; Based on the parent-child node relationship and the transformation data of each of the moving nodes, determine the camera position information of each lens motion pose in the lens motion library in the target frame after the current viewpoint lens adjustment; The step of responding to the current viewpoint camera position adjustment operation by binding the current viewpoint camera with the camera positions of each camera in the camera motion library in the target frame and generating the corresponding motion node includes: In response to the current viewpoint lens position adjustment operation, the corresponding second conversion data is generated based on the first conversion data of the camera's motion pose of each lens in the lens motion library in the target frame; Generate corresponding fourth conversion data based on each of the second conversion data and the third conversion data of the current viewpoint camera; Create motion nodes for each camera motion pose in the camera motion library, and use the fourth transformation data as the transformation data for the corresponding motion nodes.

2. The lens attribute adjustment method according to claim 1, characterized in that, The step of responding to the current viewpoint camera position adjustment operation by generating corresponding second conversion data based on the first conversion data of the camera's motion poses in the target frame from the camera motion library includes: In response to the current viewpoint camera position adjustment operation, matrix operations are performed on the first transformation data of the camera in the target frame for each camera motion pose to generate the corresponding first transformation matrix; The inverse of the first transformation matrix is ​​multiplied by the position and rotation values ​​of the origin in world coordinates to obtain the second transformation data.

3. The lens attribute adjustment method according to claim 2, characterized in that, The first conversion data includes one or more of the following information: the camera position value, rotation value, and scaling value of each lens motion pose in the target frame.

4. The lens attribute adjustment method according to claim 1, characterized in that, The step of generating corresponding fourth conversion data based on the second conversion data and the third conversion data of the current viewpoint camera includes: Perform matrix operations on each third transformation data to generate the second transformation matrix corresponding to each third transformation data; Multiply each of the second transformation matrices with the second transformation data to obtain the corresponding multiplication result; The scaling value of each moving node is calculated based on the scaling value of the camera in the target frame of the lens motion pose in the first conversion data. The corresponding fourth transformation data is generated based on the multiplication results and the scaling values ​​of the moving nodes.

5. The lens attribute adjustment method according to claim 1, characterized in that, The step of determining the camera position information of each camera motion pose in the target frame after adjusting the current viewpoint lens based on the parent-child node relationship and the transformation data of each moving node includes: Based on the parent-child node relationship, the transformation data of each mobile node is inherited to the camera in the target frame corresponding to the lens motion pose in the lens motion library, so that the position of the camera in the target frame is adjusted and the position information of the camera in the target frame is determined.

6. The lens attribute adjustment method according to any one of claims 1-5, characterized in that, After determining the camera position information of each camera motion pose in the target frame based on the parent-child node relationship and the transformation data of each moving node, the method further includes: The relative positional relationship between the camera in the target frame and other frames other than the target frame is obtained from the motion poses of each lens in the lens motion library. Based on the relative positional relationships and the camera position information of the corresponding camera motion pose in the lens motion library in the target frame, calculate the position information of the camera in each of the lens motion poses in the lens motion library in other frames besides the target frame after the current viewpoint lens adjustment; Based on the camera's position information in all frames after adjusting the motion pose of each lens from the current viewpoint, the motion effect of the camera after adjusting the motion pose of each lens from the current viewpoint is achieved.

7. A lens property adjustment device, characterized in that, The lens property adjustment device includes: The binding module is used to respond to the position adjustment operation of the current viewpoint camera, bind the current viewpoint camera to the camera of each camera motion pose in the camera motion library in the target frame, and generate the corresponding motion node; The relationship building module is used to build the parent-child node relationship between each of the mobile nodes and the camera in the lens motion library at the target frame. The calculation module is used to calculate the transformation data of each moving node after the current viewpoint camera is adjusted; The position determination module is used to determine the position information of the camera in the target frame of each lens motion pose in the lens motion library after the current viewpoint lens adjustment, based on the parent-child node relationship and the transformation data of each of the moving nodes. The binding module specifically includes: The first conversion unit is used to generate corresponding second conversion data in response to the current viewpoint lens position adjustment operation, based on the first conversion data of the camera in the target frame for each lens motion pose in the lens motion library. The second conversion unit is used to generate corresponding fourth conversion data based on each of the second conversion data and the third conversion data of the current viewpoint lens; The node creation unit is used to create motion nodes for each lens motion pose in the lens motion library, and uses the fourth transformation data as the transformation data for the corresponding motion node.

8. A lens property adjustment device, characterized in that, The lens property adjustment device includes: a memory and at least one processor, wherein the memory stores instructions; The at least one processor invokes the instructions in the memory to cause the lens attribute adjustment device to perform the steps of the lens attribute adjustment method as described in any one of claims 1-6.

9. A computer-readable storage medium storing instructions thereon, characterized in that, When the instruction is executed by the processor, it implements the steps of the lens attribute adjustment method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Game lens control method and device

    CN111957042A

  • Viewing angle adjusting method and device, electronic equipment and storage medium

    CN115970269A