WO2022012349A1 - 动画处理方法、装置、电子设备及存储介质 - Google Patents
动画处理方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2022012349A1 WO2022012349A1 PCT/CN2021/104074 CN2021104074W WO2022012349A1 WO 2022012349 A1 WO2022012349 A1 WO 2022012349A1 CN 2021104074 W CN2021104074 W CN 2021104074W WO 2022012349 A1 WO2022012349 A1 WO 2022012349A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- animation
- model
- sample
- augmented reality
- model unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/20—Three-dimensional [3D] animation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating three-dimensional [3D] models or images for computer graphics
- G06T19/006—Mixed reality
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating three-dimensional [3D] models or images for computer graphics
- G06T19/20—Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2219/00—Indexing scheme for manipulating 3D models or images for computer graphics
- G06T2219/20—Indexing scheme for editing of 3D models
- G06T2219/2012—Colour editing, changing, or manipulating; Use of colour codes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2219/00—Indexing scheme for manipulating 3D models or images for computer graphics
- G06T2219/20—Indexing scheme for editing of 3D models
- G06T2219/2016—Rotation, translation, scaling
Definitions
- Embodiments of the present invention relate to virtual reality technology, and in particular, to an animation processing method, device, electronic device, and storage medium.
- Augmented Reality is a technology in which real information and virtual information are superimposed.
- the computer system processes the real information, and generates virtual information that matches and contains virtual objects, sounds or texts according to the real information; then, the virtual information is superimposed on the human-computer interaction interface that displays the real information, thereby enhancing the user's understanding of the real world. perception.
- augmented reality animations for landmark buildings are pre-baking animations.
- the content of the pre-made animation is fixed.
- the pre-recorded animation content is played. Playing the pre-recorded animation lacks interaction with the user, the pre-recorded image cannot be adjusted according to the user's operation, and the usability is poor.
- the present invention provides an animation processing method, device, electronic device and storage medium, so as to realize the adjustment of model animation according to user operation and improve the usability.
- an animation processing method applied to a shader, including:
- the augmented reality model consists of multiple model units
- an embodiment of the present invention further provides an animation generation device, applied to a shader, including:
- the animation sample acquisition module is used to obtain the animation sample of the model unit
- the external interaction parameter acquisition module is used to acquire the external interaction parameters of the augmented reality model, and the augmented reality model consists of multiple model units;
- the driving module is used to output the augmented reality model, and drive the animation sample of the model unit in the output augmented reality model according to the external interaction parameters.
- an embodiment of the present invention further provides an electronic device, where the electronic device includes:
- processors one or more processors
- the one or more processors implement the animation processing method shown in the embodiments of the present disclosure.
- an embodiment of the present invention further provides a storage medium containing computer-executable instructions, and the computer-executable instructions, when executed by a computer processor, are used to execute the animation processing method shown in the embodiments of the present disclosure.
- embodiments of the present invention further provide a computer program product, including computer program instructions, the computer program instructions enable a computer to execute the animation processing method shown in the embodiments of the present disclosure.
- an embodiment of the present invention further provides a computer program, which, when the computer program runs on a computer, causes the computer to execute the animation processing method shown in the embodiment of the present disclosure.
- the animation processing solution disclosed in the embodiment of the present disclosure can generate an animation sample of a model unit with a parameter transfer interface, acquire external interaction parameters of the augmented reality model when the user triggers the augmented reality, and use the external interaction parameters to drive the animation sample of the model unit example. Compared with the current user's inability to control the preset model change animation, the ease of use is poor.
- the embodiment of the present disclosure can drive the animation sample of the model unit according to the external interaction parameters, realize the adjustment of the model animation according to the user operation, and improve the usability.
- Embodiment 1 is a flowchart of an animation processing method in Embodiment 1 of the present invention.
- FIG. 2 is a schematic structural diagram of an animation processing device in Embodiment 2 of the present invention.
- FIG. 3 is a schematic structural diagram of an electronic device in Embodiment 3 of the present invention.
- Embodiment 1 is a flowchart of an animation processing method provided in Embodiment 1 of the present invention. This embodiment can be applied to the situation of playing augmented reality model animations in augmented reality.
- the method can be executed by an electronic device that implements augmented reality, and the device can For terminals such as smart phones and tablet computers, it specifically includes the following steps:
- Step 110 Obtain an animation sample of the model unit.
- Animation samples can be made in advance through 3D Digital Content Creation (DCC) software.
- 3D digital content creation software can be Houdini for procedural animation.
- the animation example is also called demo, and the augmented reality model involved in the embodiment of the present disclosure is composed of model units. Model units can be fixed shapes, such as cube boxes.
- the animation sample obtained in step 110 is a motion or deformation animation of a model unit. Different types of animation samples can be edited to match the display of the augmented reality model.
- the pre-generated animation samples can be stored in the local storage, or the animation samples can be downloaded from the server and cached locally to obtain the animation samples of the model unit.
- the animation sample is the first animation sample.
- step 110 may be implemented as obtaining a first animation sample of the model unit, where the first animation sample represents the animation of rotating the model unit along a preset coordinate axis at the center point of the model unit.
- the model unit is edited to complete the production of the first animation example.
- the first animation sample provides a preset coordinate axis setting interface or a rotation angle setting interface, or the like.
- the reference axis when the model unit is rotated can be set through the preset coordinate axis setting interface, and the rotation angle of the model unit on the preset coordinate axis can be set through the rotation angle setting interface.
- a cube-shaped model unit may be set to rotate continuously along a preset coordinate axis, or a cube-shaped model unit may be set to rotate a preset angle along a preset coordinate axis in a preset direction.
- the animation sample is the second animation sample.
- step 110 may be implemented as acquiring a second animation sample of the model unit, where the second animation sample represents the animation of the model unit jumping on the preset coordinate axis.
- the model unit is edited to complete the production of the second animation example.
- the second animation sample provides a preset coordinate axis setting interface, a beating frequency setting interface, or a beating amplitude setting interface, and the like.
- the reference coordinate axis of the model unit beating can be set through the preset coordinate axis setting interface, and the beating direction of the model unit is parallel to the reference coordinate axis.
- a preset coordinate axis for the beating of the model unit in the shape of a cube may be set, and the height or frequency of the beating of the model unit in the shape of a cube may be set on the preset coordinate axis.
- the animation sample is a third animation sample.
- step 110 may be implemented as obtaining a third animation sample of the model unit, where the third animation sample indicates that the surface texture or color of the model unit changes periodically.
- the animation sample can also change the surface texture of the model element.
- the surface of the model unit is a preset color or preset texture.
- the surface graphics of the model unit changes from the initial state (such as preset color or preset texture) to the target state, and then from the target state. Restore to the original state.
- the target state includes a target color or a target texture
- the target color can be a color with a fixed color difference from the preset color
- the target texture can be the actual surface texture of the object to which the augmented reality model is mapped. If the model element is a cube element, the color of a certain surface of the cube is the average color of the four vertices of the surface.
- the interface provided by the above animation example can receive different types of parameter data.
- a floating-point argument can be received.
- the floating-point parameter is no longer a simple 0-1 trigger (0/1 means triggering a certain animation or not triggering a certain animation).
- the floating-point parameter can achieve smooth interaction.
- Implementing procedural animation through shaders Using a graphics processing unit (GPU) to calculate the motion of each vertex, complex visual effects can be accomplished in real time and efficiently.
- GPU graphics processing unit
- the embodiment of the present disclosure is applied to a graphics processor GPU, and the graphics processor operates on each model unit in the augmented reality model in a parallel manner, thereby enabling each model unit in the augmented reality model to synchronously execute animation samples.
- Step 120 Acquire external interaction parameters of the augmented reality model, where the augmented reality model is composed of multiple model units.
- step 120 can acquire external interaction parameters of the augmented reality model, and then control the model unit through the external interaction parameters.
- Real-time sensing data can be obtained through the terminal sensor, and the sensing data can be converted into external interaction parameters that can be used to drive the animation sample according to the interface provided by the animation sample.
- the user may activate the augmented reality function in the preset application, and the preset application may be the camera function of the terminal, or the application having the augmented reality function.
- the terminal camera acquires the current image, and the terminal displays the acquired current image on the preview page. If it is recognized that there is a corresponding augmented reality model for the photographed object in the current image, the augmented reality model is mapped onto the building image.
- the photographed objects may be landmark buildings, or may be entities corresponding to other pre-made enhanced display models such as vehicles.
- the shape of the model unit is a cube unit for illustration.
- the model unit is a cube unit;
- the augmented reality model is a building model; and
- the building model is composed of multiple cube units.
- the preset coordinate axis in the first animation example can be determined according to any one of the following methods: the preset coordinate axis is determined according to the sliding direction of the sliding track input by the user on the terminal screen; or, according to the augmented reality model. The preset coordinate axis is determined by the mapped object and the shooting direction of the terminal; or, the preset coordinate axis is determined according to the moving direction of the camera of the terminal.
- the preset coordinate axis in the first animation example is the reference rotation axis when the model unit rotates.
- the touch screen can detect the trajectory corresponding to the sliding operation.
- the rotation axis can be determined according to the sliding direction of the track.
- the rotation axis can be selected from the three coordinate axes of the three-dimensional coordinate system.
- the three coordinate axes are the x-axis, the y-axis, and the z-axis.
- the x-axis represents the horizontal direction and the horizontal direction
- the y-axis is vertical to the vertical plane.
- the z-axis represents the horizontal plane longitudinal direction.
- the sliding direction of the sliding track can be used as the tangent direction when the cube unit rotates, and then the rotation axis can be determined. For example, if the user slides along the x-axis direction, the preset coordinate axis is determined, that is, the rotation axis is the z-axis.
- the preset coordinate axis may also be determined according to the shooting direction of the shooting object mapped by the augmented reality model and the terminal.
- the shooting direction is mapped to the surface of the shooting object, and then the rotation direction of the cube unit is determined, and then the preset coordinate axis is determined.
- the direction is the negative x-axis direction, which is the rotation direction of the cube unit.
- the preset coordinate axis is the z-axis.
- the user can move.
- the vertical movement performed by the user may be determined by the size of the content in the image acquired by the camera, and the lateral movement performed by the user may be determined by the displacement of the object in the image acquired by the camera.
- the main movement direction can be determined from the vertical movement and the horizontal movement, and the coordinate axis corresponding to the main movement direction is used as the preset coordinate axis.
- the rotation angle can be a fixed value, for example, a rotation of 90 degrees. It is also possible to rotate the cube unit without interruption after determining the axis of rotation. Further, the rotation speed, angle, etc. of the cube unit can also be adjusted according to the user's operation.
- the world coordinates of the center point of the cube element can be stored into each vertex of the cube element. Each vertex is rotated around the center point in the vertex shader. The color of the vertices uses the color of the center coordinates.
- the overall process animation of the building is a process animation of flipping a certain surface or multiple cube units on a certain axis in turn to achieve a wave-like flip.
- the beating amplitude of the model unit beating on the preset coordinate axis in the second animation sample is determined according to the beat, rebeat or music intensity of the target audio.
- the beating amplitude of the model unit may be determined according to the beat, rebeat or music intensity of the target audio.
- the target audio may be an audio selected by the user, or may be a target audio that is read by the terminal after recognizing the augmented reality model and bound to the augmented reality model.
- the target audio can be the introduction audio of the museum, or the background music currently playing in the museum.
- the surface patterns of the model elements in the third animation example are processed according to the Perlin noise algorithm.
- Perlin Noise can be combined with model Vertex Attributes and interactive control parameters. Introducing Perlin noise to model vertices so that the vertices of the cube model elements are distributed according to the building's solid surface characteristics, making the effect more solid rather than flat.
- the building surface texture is obtained through the terminal camera, and the surface pattern close to the actual building surface texture is simulated by the Perlin noise algorithm. Make this surface pattern the target texture in the third animation sample. In this case, after the surface pattern of the model unit is changed to the surface pattern, the surface pattern may not be restored to the initial state, and the surface pattern may be maintained.
- the third animation sample can be combined with the first animation sample and the second animation sample to realize that after the surface pattern of the model unit is subjected to Perlin noise processing, the rotation or second animation shown in the first animation sample is performed. The bouncing shown in the animation sample.
- the attribute information of the model unit is set, and the attribute information includes one or more of vertex coordinates, center point coordinates, rotation start parameters or jump start parameters.
- the rotation start parameters indicate whether the first animation sample is allowed to be driven, and the jump start parameters
- the parameter indicates whether to allow the second animation sample to be driven.
- the properties of the model element itself can also be edited.
- the vertex coordinates can be the coordinates of each vertex of the cube.
- the coordinates of the center point can be the coordinates of the center point of the cube.
- the jump start parameter indicates whether to allow the vertex to move, and it can be allowed or prohibited by a boolean value.
- the rotation enable parameter indicates whether the model element is allowed to rotate, and can be allowed or prohibited by a Boolean value.
- the rotation start parameter represents the identity of the axis around which it is represented, such as the Y-axis, X-axis or Z-axis, which can be represented using integer data. If the rotation of only two axes is enabled, such as the Y axis and the Z axis, a Boolean value can be used to identify the Y axis or the Z axis, respectively.
- Step 130 output the augmented reality model, and drive an animation sample of the model unit in the output augmented reality model according to the external interaction parameters.
- the model elements in the model are in the initial state. If the user-triggered external interaction parameter is acquired in step 120, it is passed to the shader through the shader's uniform, and each model unit is processed separately in the shader.
- the animation sample may be a combination of one or more of the first animation sample, the second animation sample, or the third animation sample.
- each cube unit executes the animation sample and outputs the corresponding animation effect. For example, when the user slides the screen, the animation effect of the cube unit rolling in waves along the x-axis can be triggered, or when the terminal camera moves upwards, the animation effect of the cube unit rolling up in waves can be triggered, etc.
- the adjustment parameters are determined according to bone detection or face detection, and the adjustment parameters are used to control the driving degree of the first animation sample, the second animation sample or the third animation sample; Model units are adjusted.
- the terminal can try to obtain new external interaction parameters, and then update the driven animation sample.
- Bone detection or face detection can be performed during or after playing an animation sample.
- Skeleton detection can detect the actions made by the user in the air, such as: a certain gesture or body movement (such as nodding, running or jumping, etc.).
- Face detection can detect the facial expression of the user, and the user can be the target person to be photographed (acquired by the rear camera) or the user of the handheld terminal (acquired by the front camera).
- Adjustment parameters can be determined from facial expressions or actions.
- the adjustment parameter can be to increase or decrease the amplitude of the current animation sample according to the preset adjustment unit. In turn, the animation samples can be adjusted more precisely by the user.
- the animation processing method disclosed in the embodiment of the present disclosure can generate an animation sample of a model unit with a parameter transfer interface, acquire external interaction parameters of the augmented reality model when the user triggers the augmented reality, and use the external interaction parameters to drive the animation sample of the model unit example. Compared with the current user's inability to control the preset model change animation, the ease of use is poor.
- the embodiment of the present disclosure can drive the animation sample of the model unit according to the external interaction parameters, realize the adjustment of the model animation according to the user operation, and improve the usability.
- FIG. 2 is a schematic structural diagram of an animation processing apparatus provided by Embodiment 2 of the present disclosure. This embodiment is applicable to the situation of playing an augmented reality model animation in augmented reality.
- the method can be executed by a device that implements augmented reality, and the device can be Smart phone, tablet computer, etc., the device includes: an animation sample acquisition module 210 , an external interaction parameter acquisition module 220 and a driving module 230 . in:
- An animation sample acquisition module 210 used for acquiring animation samples of the model unit
- the external interaction parameter acquisition module 220 is used for acquiring external interaction parameters of the augmented reality model, and the augmented reality model is composed of a plurality of model units;
- the driving module 230 is configured to output an augmented reality model, and drive an animation example of a model unit in the output augmented reality model according to external interaction parameters.
- animation sample acquisition module 210 is used for:
- first animation sample of the model unit where the first animation sample represents the animation of rotating the model unit along the preset coordinate axis at the center point of the model unit;
- model element attribute setting module for:
- the attribute information includes one or more of vertex coordinates, center point coordinates, rotation start parameters or jump start parameters.
- the rotation start parameters indicate whether the first animation sample is allowed to be driven, and the jump start parameters indicate whether Allows driving a second animation sample.
- animation sample acquisition module 210 is used for:
- the third animation sample of the model unit is obtained, and the third animation sample represents that the surface texture or color of the model unit changes periodically.
- the external interaction parameter acquisition module 220 is used for:
- the surface patterns of the model elements in the third animation example are processed according to the Perlin noise algorithm.
- an adjustment module for determining adjustment parameters according to bone detection or face detection, and the adjustment parameters are used to control the driving degree of the first animation sample, the second animation sample or the third animation sample;
- the model units in the output augmented reality model are adjusted according to the adjustment parameters.
- model unit is a cube unit;
- augmented reality model is a building model;
- building model is composed of a plurality of cube units.
- the animation sample acquisition module 210 generates an animation sample of a model unit with a parameter transfer interface, and when the user triggers the augmented reality, the external interaction parameter acquisition module 220 acquires the external interaction parameters of the augmented reality model , the driving module 230 uses the external interaction parameters to drive the animation instance of the model element.
- the ease of use is poor.
- the embodiment of the present disclosure can drive the animation sample of the model unit according to the external interaction parameters, realize the adjustment of the model animation according to the user operation, and improve the usability.
- the animation processing apparatus provided by the embodiment of the present invention can execute the animation processing method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
- Terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers, portable android devices), PMPs (portable multimedia devices) Players, personal multimedia players), mobile terminals such as in-vehicle terminals (such as in-vehicle navigation terminals), etc., as well as fixed terminals such as digital TV (television, television), desktop computers, and the like.
- the electronic device shown in FIG. 3 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
- the electronic device 800 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 801, which may be based on a program stored in a read-only memory (ROM) 802 or from a storage device 808 programs loaded into random access memory (RAM) 803 to perform various appropriate actions and processes. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored.
- the processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804.
- An input/output (I/O) interface 805 is also connected to bus 804 .
- I/O interface 805 the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD) Output device 807 , speaker, vibrator, etc.; storage device 808 including, eg, magnetic tape, hard disk, etc.; and communication device 809 .
- Communication means 809 may allow electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 3 shows electronic device 800 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
- the computer program may be downloaded and installed from the network via the communication device 809, or from the storage device 808, or from the ROM 802.
- the processing device 801 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
- Computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read-only memory (electrical programmable ROM, EPROM or flash memory), optical fiber, portable compact disk read-only memory (compact disc ROM, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
- Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: acquires at least two Internet Protocol addresses; A node evaluation request for an Internet Protocol address, wherein the node evaluation device selects an Internet Protocol address from the at least two Internet Protocol addresses and returns it; receives the Internet Protocol address returned by the node evaluation device; wherein the obtained The Internet Protocol address indicates an edge node in the content distribution network.
- the above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the electronic device, the electronic device: receives a node evaluation request including at least two Internet Protocol addresses; From the at least two Internet Protocol addresses, the Internet Protocol address is selected; the selected Internet Protocol address is returned; wherein, the received Internet Protocol address indicates an edge node in the content distribution network.
- the present disclosure also provides a computer program, which enables a computer to execute the animation processing method provided by the above embodiments.
- Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
- the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer ( For example, using an Internet service provider to connect via the Internet).
- LAN local area network
- WAN wide area network
- Internet service provider for example, using an Internet service provider to connect via the Internet.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
- the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner.
- the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first obtaining unit may also be described as "a unit that obtains at least two Internet Protocol addresses".
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Architecture (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
Claims (18)
- 一种动画处理方法,其特征在于,应用于着色器,包括:获取模型单元的动画样例;获取增强现实模型的外部交互参数,所述增强现实模型由多个所述模型单元组成;输出所述增强现实模型,根据所述外部交互参数在输出的所述增强现实模型中驱动所述模型单元的动画样例。
- 根据权利要求1所述的方法,其特征在于,所述获取模型单元的动画样例,包括:获取模型单元的第一动画样例,所述第一动画样例表示在所述模型单元的中心点沿预设坐标轴旋转所述模型单元的动画;获取模型单元的第二动画样例,所述第二动画样例表示所述模型单元在预设坐标轴上跳动的动画。
- 根据权利要求2所述的方法,其特征在于,在输出所述增强现实模型之前,还包括:设置模型单元的属性信息,所述属性信息包括顶点坐标、中心点坐标、旋转启动参数或跳动启动参数中的一种或多种,所述旋转启动参数表示是否允许驱动所述第一动画样例,所述跳动启动参数表示是否允许驱动所述第二动画样例。
- 根据权利要求3所述的方法,其特征在于,所述获取模型单元的动画样例,包括:获取模型单元的第三动画样例,所述第三动画样例表示所述模型单元的表面纹理或颜色进行周期性变化。
- 根据权利要求4所述的方法,其特征在于,所述获取增强现实模型的外部交互参数,包括:根据下述任意一种方式确定第一动画样例中的预设坐标轴:根据用户在终端屏幕中输入的滑动轨迹的滑动方向确定所述预设坐标轴;或者,根据所述增强现实模型映射到的拍摄物与终端所呈拍摄方向确定所述预设坐标轴;或者,根据终端的摄像头的移动方向确定所述预设坐标轴;根据目标音频的节拍、重拍或音乐强度确定第二动画样例中模型单元在预设坐标轴上跳动的跳动幅度;根据柏林噪声算法处理第三动画样例中模型单元的表面图案。
- 根据权利要求5所述的方法,其特征在于,在根据所述外部交互参数在输出的所述增强现实模型中驱动所述模型单元的动画样例之后,还包括:根据骨骼检测或人脸检测确定调整参数,所述调整参数用于控制所述第一动画样例、所述第二动画样例或所述第三动画样例的驱动程度;根据所述调整参数对输出的增强现实模型中模型单元进行调整。
- 根据权利要求1-6中任一项所述的方法,其特征在于,所述模型单元为立方体单元;所述增强现实模型为建筑模型;所述建筑物模型由多个所述立方体单元组成。
- 一种动画生成装置,其特征在于,应用于着色器,包括:动画样例获取模块,用于获取模型单元的动画样例;外部交互参数获取模块,用于获取增强现实模型的外部交互参数,所述增强现实模型由多个所述模型单元组成;驱动模块,用于输出所述增强现实模型,根据所述外部交互参数在输出的所述增强现实模型中驱动所述模型单元的动画样例。
- 根据权利要求8所述的动画生成装置,其特征在于,所述动画样例获取模块用于:获取模型单元的第一动画样例,所述第一动画样例表示在所述模型单元的中心点沿预设坐标轴旋转所述模型单元的动画;获取模型单元的第二动画样例,所述第二动画样例表示所述模型单元在预设坐标轴上跳动的动画。
- 根据权利要求9所述的动画生成装置,其特征在于,所述动画生成装置还包括模型单元属性设置模块,用于:设置模型单元的属性信息,所述属性信息包括顶点坐标、中心点坐标、旋转启动参数或跳动启动参数中的一种或多种,所述旋转启动参数表示是否允许驱动所述第一动画样例,所述跳动启动参数表示是否允许驱动所述第二动画样例。
- 根据权利要求10所述的动画生成装置,其特征在于,所述动画样例获取模块用于:获取模型单元的第三动画样例,所述第三动画样例表示所述模型单元的表面纹理或颜色进行周期性变化。
- 根据权利要求11所述的动画生成装置,其特征在于,所述外部交互参数获取模块用于:根据下述任意一种方式确定第一动画样例中的预设坐标轴:根据用户在终端屏幕中输入的滑动轨迹的滑动方向确定所述预设坐标轴;或者,根据所述增强现实模型映射到的拍摄物与终端所呈拍摄方向确定所述预设坐标轴;或者,根据终端的摄像头的移动方向确定 所述预设坐标轴;根据目标音频的节拍、重拍或音乐强度确定第二动画样例中模型单元在预设坐标轴上跳动的跳动幅度;根据柏林噪声算法处理第三动画样例中模型单元的表面图案。
- 根据权利要求12所述的动画生成装置,其特征在于,所述动画生成装置还包括:调整模块,用于根据骨骼检测或人脸检测确定调整参数,所述调整参数用于控制所述第一动画样例、所述第二动画样例或所述第三动画样例的驱动程度;根据所述调整参数对输出的增强现实模型中模型单元进行调整。
- 根据权利要求8-13中任一项所述的动画生成装置,其特征在于,所述模型单元为立方体单元;所述增强现实模型为建筑模型;所述建筑物模型由多个所述立方体单元组成。
- 一种电子设备,其特征在于,所述电子设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求1-7中任一项所述的动画处理方法。
- 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机执行时,使得所述计算机实现权利要求1-7中任一项所述的动画处理方法。
- 一种计算机程序产品,其特征在于,包括计算机程序指令,所述计算机程序指令被计算机执行时,使得所述计算机实现权利要求1-7中任一项所述的动画处理方法。
- 一种计算机程序,其特征在于,所述计算机程序被计算机执行时,使得所述计算机实现权利要求1-7中任一项所述的动画处理方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/005,547 US12417574B2 (en) | 2020-07-16 | 2021-07-01 | Animation processing method and apparatus, electronic device and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010688598.3A CN111862273B (zh) | 2020-07-16 | 2020-07-16 | 动画处理方法、装置、电子设备及存储介质 |
| CN202010688598.3 | 2020-07-16 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022012349A1 true WO2022012349A1 (zh) | 2022-01-20 |
Family
ID=72983042
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/104074 Ceased WO2022012349A1 (zh) | 2020-07-16 | 2021-07-01 | 动画处理方法、装置、电子设备及存储介质 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US12417574B2 (zh) |
| CN (1) | CN111862273B (zh) |
| WO (1) | WO2022012349A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111862273B (zh) * | 2020-07-16 | 2024-10-25 | 北京字节跳动网络技术有限公司 | 动画处理方法、装置、电子设备及存储介质 |
| CN113920226B (zh) * | 2021-09-30 | 2024-11-22 | 北京有竹居网络技术有限公司 | 用户交互方法、装置、存储介质及电子设备 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107506548A (zh) * | 2017-08-22 | 2017-12-22 | 清华大学 | 一种面向信息物理融合的建筑信息模型扩展方法 |
| CN107728792A (zh) * | 2017-11-17 | 2018-02-23 | 浙江大学 | 一种基于手势识别的增强现实三维绘图系统及绘图方法 |
| CN108803876A (zh) * | 2018-06-08 | 2018-11-13 | 华北水利水电大学 | 基于增强现实的水利工程展示交互方法及系统 |
| US20190122442A1 (en) * | 2015-08-20 | 2019-04-25 | Microsoft Technology Licensing, Llc | Augmented Reality |
| CN110827376A (zh) * | 2018-08-09 | 2020-02-21 | 北京微播视界科技有限公司 | 增强现实多平面模型动画交互方法、装置、设备及存储介质 |
| CN111862273A (zh) * | 2020-07-16 | 2020-10-30 | 北京字节跳动网络技术有限公司 | 动画处理方法、装置、电子设备及存储介质 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8274516B2 (en) * | 2008-08-04 | 2012-09-25 | Microsoft Corporation | GPU scene composition and animation |
| US10685430B2 (en) * | 2017-05-10 | 2020-06-16 | Babylon VR Inc. | System and methods for generating an optimized 3D model |
| US10424100B2 (en) * | 2017-11-21 | 2019-09-24 | Microsoft Technology Licensing, Llc | Animating three-dimensional models using preset combinations of animation features |
| WO2021181280A1 (en) * | 2020-03-10 | 2021-09-16 | Purple Tambourine Limited | Barometric sensing of arm position in a pointing controller system |
-
2020
- 2020-07-16 CN CN202010688598.3A patent/CN111862273B/zh active Active
-
2021
- 2021-07-01 WO PCT/CN2021/104074 patent/WO2022012349A1/zh not_active Ceased
- 2021-07-01 US US18/005,547 patent/US12417574B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190122442A1 (en) * | 2015-08-20 | 2019-04-25 | Microsoft Technology Licensing, Llc | Augmented Reality |
| CN107506548A (zh) * | 2017-08-22 | 2017-12-22 | 清华大学 | 一种面向信息物理融合的建筑信息模型扩展方法 |
| CN107728792A (zh) * | 2017-11-17 | 2018-02-23 | 浙江大学 | 一种基于手势识别的增强现实三维绘图系统及绘图方法 |
| CN108803876A (zh) * | 2018-06-08 | 2018-11-13 | 华北水利水电大学 | 基于增强现实的水利工程展示交互方法及系统 |
| CN110827376A (zh) * | 2018-08-09 | 2020-02-21 | 北京微播视界科技有限公司 | 增强现实多平面模型动画交互方法、装置、设备及存储介质 |
| CN111862273A (zh) * | 2020-07-16 | 2020-10-30 | 北京字节跳动网络技术有限公司 | 动画处理方法、装置、电子设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111862273B (zh) | 2024-10-25 |
| US20230267664A1 (en) | 2023-08-24 |
| US12417574B2 (en) | 2025-09-16 |
| CN111862273A (zh) | 2020-10-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7422876B2 (ja) | 拡張現実に基づいた表示方法及び装置、並びに記憶媒体 | |
| US11587280B2 (en) | Augmented reality-based display method and device, and storage medium | |
| WO2023179346A1 (zh) | 特效图像处理方法、装置、电子设备及存储介质 | |
| JP7674462B2 (ja) | 拡張現実の画像処理方法、装置、電子機器及び記憶媒体 | |
| CN112672185B (zh) | 基于增强现实的显示方法、装置、设备及存储介质 | |
| CN103119628A (zh) | 利用运动特性的显示器上三维用户界面效果 | |
| CN110058685A (zh) | 虚拟对象的显示方法、装置、电子设备和计算机可读存储介质 | |
| WO2022170958A1 (zh) | 基于增强现实的显示方法、设备、存储介质及程序产品 | |
| WO2020248900A1 (zh) | 全景视频的处理方法、装置及存储介质 | |
| WO2022088928A1 (zh) | 弹性对象的渲染方法、装置、设备及存储介质 | |
| WO2023121569A2 (zh) | 粒子特效渲染方法、装置、设备及存储介质 | |
| WO2023138504A1 (zh) | 图像渲染方法、装置、电子设备及存储介质 | |
| WO2023151524A1 (zh) | 图像显示方法、装置、电子设备及存储介质 | |
| CN114049403B (zh) | 一种多角度三维人脸重建方法、装置及存储介质 | |
| WO2023211364A2 (zh) | 图像处理方法、装置、电子设备及存储介质 | |
| WO2022012349A1 (zh) | 动画处理方法、装置、电子设备及存储介质 | |
| CN114494658A (zh) | 特效展示方法、装置、设备、存储介质和程序产品 | |
| EP4071725A1 (en) | Augmented reality-based display method and device, storage medium, and program product | |
| WO2024088144A1 (zh) | 增强现实画面的处理方法、装置、电子设备及存储介质 | |
| CN115734001A (zh) | 特效显示方法、装置、电子设备及存储介质 | |
| RU2801917C1 (ru) | Способ и устройство для отображения изображений на основе дополненной реальности и носитель для хранения информации | |
| US20250196001A1 (en) | Socially rich player engagement techniques for computer gameplay | |
| US20260027474A1 (en) | Unsupervised Extraction of Shared Group Correspondences in Video Game for Highlighting User-Generated Content in Game | |
| WO2024107117A1 (zh) | 图像处理方法、装置、设备及存储介质 | |
| WO2020147598A1 (zh) | 模型动作方法、装置、带屏音箱、电子设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21842144 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08.05.2023) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21842144 Country of ref document: EP Kind code of ref document: A1 |
|
| WWG | Wipo information: grant in national office |
Ref document number: 18005547 Country of ref document: US |