CN111798548B - Dance picture control method and device and computer storage medium - Google Patents
Dance picture control method and device and computer storage medium Download PDFInfo
- Publication number
- CN111798548B CN111798548B CN202010683797.5A CN202010683797A CN111798548B CN 111798548 B CN111798548 B CN 111798548B CN 202010683797 A CN202010683797 A CN 202010683797A CN 111798548 B CN111798548 B CN 111798548B
- Authority
- CN
- China
- Prior art keywords
- dimensional
- dance
- instruction
- picture
- preset
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000033001 locomotion Effects 0.000 claims abstract description 52
- 238000009877 rendering Methods 0.000 claims abstract description 9
- 230000001960 triggered effect Effects 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/20—3D [Three Dimensional] animation
- G06T13/40—3D [Three Dimensional] animation of characters, e.g. humans, animals or virtual beings
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/005—General purpose rendering architectures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Graphics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a control method of a dance picture, which comprises the following steps: rendering a three-dimensional virtual image according to the target dance action and the image parameters; displaying the rendered three-dimensional virtual image in a preset three-dimensional background; and when the angle adjusting instruction is detected, adjusting the orientation of the three-dimensional virtual image according to the angle adjusting instruction. The invention also discloses a control device and a computer storage medium of the dance picture, wherein the dance motion is displayed through the three-dimensional model, the three-dimensional model can rotate according to the operation of a user, and the dance motion can be displayed through different angles, so that the information quantity displayed by the dance picture is improved.
Description
Technical Field
The present invention relates to the field of dance frames, and in particular, to a method and apparatus for controlling a dance frame, and a computer storage medium.
Background
When a user shares a dance video, other users can only watch the front image and the front action of the virtual character in the dance video, and the dance action displays little information.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The main purpose of the invention is to provide a control method of a dance picture, which aims to display dance movements through a three-dimensional model, wherein the dance movements can be displayed through different angles, and the information amount displayed by the dance picture is more.
In order to achieve the above object, the present invention provides a method for controlling a dance picture, the method comprising the steps of:
rendering a three-dimensional virtual image according to the target dance action and the image parameters;
displaying the rendered three-dimensional virtual image in a preset three-dimensional background;
and when the angle adjusting instruction is detected, adjusting the orientation of the three-dimensional virtual image according to the angle adjusting instruction.
Optionally, the step of adjusting the orientation of the three-dimensional avatar according to the angle adjustment instruction is performed while the step of performing further includes:
and adjusting the three-dimensional background following the adjustment of the orientation of the three-dimensional avatar.
Optionally, the step of adjusting the orientation of the three-dimensional avatar according to the angle adjustment instruction includes:
when the angle adjustment instruction is a sliding instruction, acquiring a sliding distance corresponding to the sliding instruction;
determining a rotation angle according to the sliding distance;
acquiring a rotation direction corresponding to the sliding instruction;
and adjusting the orientation of the three-dimensional avatar according to the rotation angle and the rotation direction.
Optionally, the step of adjusting the orientation of the three-dimensional avatar according to the angle adjustment instruction includes:
and when the angle adjustment instruction is a pitch angle instruction, adjusting the pitch angle of the three-dimensional virtual image according to the pitch angle instruction.
Optionally, after the step of displaying the rendered three-dimensional avatar in the preset three-dimensional background, the method for controlling the dance picture further includes:
when an issuing instruction is received, generating three-dimensional picture data according to the target dance action, the image parameters and the preset three-dimensional background;
and sending the three-dimensional picture data to preset terminal equipment so that the preset terminal equipment renders a three-dimensional virtual image according to the target dance action and the image parameters, and displaying the rendered three-dimensional virtual image in the preset three-dimensional background.
Optionally, the step of adjusting the orientation of the three-dimensional avatar according to the angle adjustment instruction includes:
acquiring the type of the target dance action;
acquiring a rotation center shaft corresponding to the type of the target dance motion;
and adjusting the orientation of the three-dimensional avatar according to the rotation center shaft according to the angle adjustment instruction.
Optionally, after the step of displaying the rendered three-dimensional avatar in the preset three-dimensional background, the method further comprises:
displaying a selection interface including a music list;
when receiving a selection instruction triggered by the selection interface, acquiring music corresponding to the selection instruction;
and outputting the music corresponding to the selection instruction.
In addition, in order to achieve the above object, the present invention further provides a device for controlling a dance picture, the device for controlling a dance picture comprising: the dance picture control method comprises the steps of a memory, a processor and a dance picture control program which is stored in the memory and can run on the processor, wherein the dance picture control program is executed by the processor to realize the dance picture control method.
In addition, in order to achieve the above object, the present invention provides a computer storage medium having stored thereon a control program of a dance screen, which when executed by a processor, implements the steps of the control method of a dance screen as described above.
According to the dance picture control method, device and computer storage medium, a three-dimensional virtual image is rendered according to target dance actions and image parameters, the rendered three-dimensional virtual image is displayed in a preset three-dimensional background, and when an angle adjustment instruction is detected, the orientation of the three-dimensional virtual image is adjusted according to the angle adjustment instruction. According to the invention, the dance motion is displayed through the three-dimensional model, the three-dimensional model can rotate according to the operation of a user, and the dance motion can be displayed through different angles, so that the information quantity displayed by a dance picture is improved.
Drawings
FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for controlling a dance frame according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for controlling a dance frame according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a dance frame control method according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating a dance frame control method according to another embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
According to the embodiment of the invention, the dance motion is displayed through the three-dimensional model, the three-dimensional model can rotate according to the operation of a user, and the dance motion can be displayed through different angles, so that the information quantity displayed by a dance picture is improved.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention is terminal equipment such as a smart phone, a PC tablet personal computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein a network communication module, a user interface module, and a control program of a dance screen.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a control program of the dance screen stored in the memory 1005 and perform the following operations:
rendering a three-dimensional virtual image according to the target dance action and the image parameters;
displaying the rendered three-dimensional virtual image in a preset three-dimensional background;
and when the angle adjusting instruction is detected, adjusting the orientation of the three-dimensional virtual image according to the angle adjusting instruction.
Further, the processor 1001 may call a control program of the dance screen stored in the memory 1005, and further perform the following operations:
and adjusting the three-dimensional background following the adjustment of the orientation of the three-dimensional avatar.
Further, the processor 1001 may call a control program of the dance screen stored in the memory 1005, and further perform the following operations:
when the angle adjustment instruction is a sliding instruction, acquiring a sliding distance corresponding to the sliding instruction;
determining a rotation angle according to the sliding distance;
acquiring a rotation direction corresponding to the sliding instruction;
and adjusting the orientation of the three-dimensional avatar according to the rotation angle and the rotation direction.
Further, the processor 1001 may call a control program of the dance screen stored in the memory 1005, and further perform the following operations:
and when the angle adjustment instruction is a pitch angle instruction, adjusting the pitch angle of the three-dimensional virtual image according to the pitch angle instruction.
Further, the processor 1001 may call a control program of the dance screen stored in the memory 1005, and further perform the following operations:
when an issuing instruction is received, generating three-dimensional picture data according to the target dance action, the image parameters and the preset three-dimensional background;
and sending the three-dimensional picture data to preset terminal equipment so that the preset terminal equipment renders a three-dimensional virtual image according to the target dance action and the image parameters, and displaying the rendered three-dimensional virtual image in the preset three-dimensional background.
Further, the processor 1001 may call a control program of the dance screen stored in the memory 1005, and further perform the following operations:
acquiring the type of the target dance action;
acquiring a rotation center shaft corresponding to the type of the target dance motion;
and adjusting the orientation of the three-dimensional avatar according to the rotation center shaft according to the angle adjustment instruction.
Further, the processor 1001 may call a control program of the dance screen stored in the memory 1005, and further perform the following operations:
displaying a selection interface including a music list;
when receiving a selection instruction triggered by the selection interface, acquiring music corresponding to the selection instruction;
and outputting the music corresponding to the selection instruction.
Referring to fig. 2, in an embodiment, the method for controlling a dance picture includes the following steps:
step S10, rendering a three-dimensional virtual figure according to target dance actions and figure parameters;
in this embodiment, the embodiment terminal uses a smart phone as an example. The intelligent mobile phone stores a plurality of preset dance movements so that a user can select at least one of the preset dance movements, namely the target dance movement. And after the target dance action is determined, rendering the three-dimensional virtual image according to the target dance action and preset image parameters to obtain display data of the three-dimensional virtual image.
Optionally, the preset character parameters can be determined according to a three-dimensional model of the human body, and the three-dimensional model of the human body can be an avatar model displayed in the form of a cartoon character, so that the rendered three-dimensional avatar is also an avatar displayed in the form of the cartoon character, the detail drawing of the human body can be reduced by the display mode of the cartoon character, the data processing capacity when the three-dimensional avatar is rendered is reduced, and the three-dimensional avatar can be smoothly displayed on a terminal device with lower computing power such as a smart phone. In addition, because the detailed description of the human body is reduced, the interference of unnecessary display elements on the dance motions can be reduced, the dance motions are more vivid and prominent when the user views the three-dimensional virtual image, and the teaching of the dance motions is facilitated.
Optionally, the target dance movements selected by the user can be multiple, the user can sort the multiple target dance movements through the operation instructions and combine the target dance movements according to the sorting mode, and the three-dimensional dance is arranged through the selection, sorting and combination of the dance movements, so that the user does not need to manually manufacture each action frame, and the generation efficiency of the three-dimensional dance is improved.
Alternatively, in rendering the three-dimensional avatar according to the target dance action and the avatar parameters, a rendering action, such as Unity, UE, etc., may be performed by the rendering engine.
Alternatively, the target dance motion may be a single motion, such as a left-hand-lifting, a right-hand-lifting, a left-leg-lifting, a turn-around, or a simple combination of multiple motions, such as a left-hand-lifting while a right-hand-sideways-swinging, etc., without limitation.
Step S20, displaying the rendered three-dimensional virtual image in a preset three-dimensional background;
in this embodiment, after the three-dimensional avatar is rendered, the three-dimensional avatar is displayed in a preset three-dimensional background, and is presented to the user through the smart phone, where the preset three-dimensional background may also be rendered by a corresponding background model parameter.
Optionally, the preset three-dimensional background corresponds to the three-dimensional avatar, that is, when the three-dimensional avatar selected by the user is different, the corresponding preset three-dimensional background is different, and the picture presented to the user is more coordinated and natural through the collocation of the preset three-dimensional background and the three-dimensional avatar.
Optionally, the preset three-dimensional background corresponds to the target dance motion, that is, when the target dance motion selected by the user is different, the corresponding preset three-dimensional background is also different, and the target dance motion is more matched with the corresponding scene atmosphere through collocation of the preset three-dimensional background and the target dance motion, so that the display effect of the three-dimensional dance motion is better.
Optionally, the preset three-dimensional background may include three-dimensional background decoration, three-dimensional lighting effect, three-dimensional stage, etc., and the preset three-dimensional background may be periodically changed, so as to realize a dynamic effect of the three-dimensional background.
And step S30, when an angle adjusting instruction is detected, adjusting the orientation of the three-dimensional virtual image according to the angle adjusting instruction.
In this embodiment, after the three-dimensional avatar is displayed in the preset three-dimensional background and presented to the user through the smart phone, if an angle adjustment instruction triggered by the user is detected, the orientation of the three-dimensional avatar is adjusted according to the angle adjustment instruction. Through the change of the three-dimensional virtual image orientation, the display direction of the target dance motion executed by the three-dimensional virtual image can be changed, so that a user can see the target dance motion at more angles, for example, the user can see the swing track of the target dance motion on the side surface of the three-dimensional virtual image or the swing track of the target dance motion on the back surface of the three-dimensional virtual image, after the angle is adjusted, the user can see the swing conditions of different angles of the target dance motion, more information of the target dance motion is known, the teaching of the dance motion is more comprehensive, and the teaching difficulty of the dance motion is reduced.
Optionally, when the orientation of the three-dimensional avatar is adjusted, following the adjustment of the orientation of the three-dimensional avatar, the orientation of the three-dimensional background is adjusted synchronously, so that the picture presented to the user is more realistic and natural.
In the technical scheme disclosed in the embodiment, the dance motion is displayed through the three-dimensional model, the three-dimensional model can rotate according to user operation, and the dance motion can be displayed through different angles, so that the information quantity of dance picture display is improved.
In another embodiment, as shown in fig. 3, based on the embodiment shown in fig. 2, step S30 includes:
step S31, when the angle adjustment instruction is a sliding instruction, acquiring a sliding distance corresponding to the sliding instruction;
in this embodiment, when the angle adjustment instruction is detected and the orientation of the three-dimensional avatar is adjusted according to the angle adjustment instruction, the type of the angle adjustment instruction may be obtained, and the orientation of the three-dimensional avatar is adjusted according to the adjustment mode corresponding to the type of the angle adjustment instruction. The types of angle adjustment commands may include a slip command and a pitch command. And when the angle adjustment instruction is a sliding instruction, acquiring a sliding distance corresponding to the sliding instruction.
Optionally, when the user triggers the sliding instruction through the smart phone, the sliding distance corresponding to the sliding instruction may be determined by detecting the sliding distance of the user's finger on the screen of the smart phone, where the minimum sliding distance may be set. For example, when the sliding distance of the user finger on the smart phone screen reaches the minimum sliding distance, the sliding distance corresponding to the sliding instruction is calculated as the minimum sliding distance, and the sliding distance of the user finger on the smart phone screen is reset, and when the sliding distance of the user finger on the smart phone screen reaches the minimum sliding distance, the sliding distance corresponding to the sliding instruction is updated, namely, the minimum sliding distance which is calculated as twice. For another example, a trigger control of the sliding instruction may be provided in the display area of the smartphone, through which the user may input or select an appropriate sliding distance.
Step S32, determining a rotation angle according to the sliding distance;
in this embodiment, after the sliding distance corresponding to the sliding instruction is obtained, the rotation angle is calculated according to the sliding distance and a preset conversion ratio, for example, the product of the sliding distance and the preset conversion ratio is taken as the rotation angle corresponding to the sliding instruction.
Optionally, a trigger control of the sliding instruction may be provided in the display area of the smart phone, through which a user may input or select a suitable rotation angle, without inputting or selecting a sliding distance.
Step S33, acquiring a rotation direction corresponding to the sliding instruction;
in this embodiment, when the angle adjustment instruction is a sliding instruction, the rotation direction corresponding to the sliding instruction may also be obtained. Specifically, the sliding direction of the finger of the user on the screen of the smart phone can be detected, and the sliding direction is used as the rotating direction corresponding to the sliding instruction. Or a trigger control for providing a sliding instruction in the display area of the smart phone, and a user can input or select a proper rotation direction through the trigger control.
And step S34, adjusting the orientation of the three-dimensional avatar according to the rotation angle and the rotation direction.
In this embodiment, after the rotation angle and the rotation direction are determined, the orientation of the three-dimensional avatar is adjusted according to the rotation angle and the rotation direction. Specifically, in the three-dimensional virtual space where the three-dimensional virtual image is located, there are a three-dimensional virtual image and an observation point where the user is located, that is, a three-dimensional picture displayed by the smart phone corresponds to a picture seen by the observation point where the user is located in the three-dimensional virtual space, and the adjustment of the orientation of the three-dimensional virtual image is relative, when the orientation of the three-dimensional virtual image is adjusted, a space coordinate system is established with the observation point as a center point, and the orientation of the three-dimensional virtual image relative to the observation point is adjusted according to the rotation angle and the rotation direction, or a space coordinate system is established with the center point of the three-dimensional virtual image, and the position and the orientation of the observation point relative to the three-dimensional virtual image are adjusted according to the rotation angle and the rotation direction, so that the orientation of the three-dimensional virtual image seen by the user can be correspondingly adjusted.
Alternatively, when the orientation of the three-dimensional avatar with respect to the observation point is adjusted according to the rotation angle and the rotation direction, the corresponding rotation direction in the space coordinate system is determined according to the rotation direction, and a rotation center axis of the three-dimensional avatar is acquired, for example, the three-dimensional avatar is an avatar, and the rotation center axis may be a symmetry axis from a top center position of a head of the avatar to a center position of a foot of the avatar, so that the three-dimensional avatar is controlled to rotate around the rotation center axis according to the corresponding rotation direction in the space coordinate system until the rotation angle reaches the rotation angle corresponding to the sliding instruction, and the adjustment of the orientation of the three-dimensional avatar is realized. For example, the type of the target dance motion is obtained, the rotation center shaft corresponding to the type of the target dance motion is obtained, the direction of the three-dimensional virtual image is adjusted according to the rotation center shaft according to the angle adjustment instruction, and as the positions of key motions of different dance motions are different, different dance motions correspond to different rotation center shafts, different dance motions have different display directions, so that the adjustment of the direction of the three-dimensional virtual image is more targeted, and the dance motion display effect is better.
Optionally, when the position and the orientation of the observation point relative to the three-dimensional avatar are adjusted according to the rotation angle and the rotation direction, a preset sliding track may be set in the three-dimensional avatar in advance, the user observation point is always located on the preset sliding track and may slide on the preset sliding track, after the rotation angle and the rotation direction are determined, the sliding direction of the user observation point on the preset sliding track is controlled according to the rotation direction, so as to adjust the position of the user observation point relative to the three-dimensional avatar, and the orientation of the user viewing angle of the user observation point is adjusted according to the rotation angle, so that the three-dimensional avatar is always located at the center of the user viewing angle range. In addition, the preset sliding track is generally circular or arc, so that when the position and the orientation of the observation point relative to the three-dimensional virtual image are changed, the distance between the user observation point and the three-dimensional virtual image cannot be changed, and the display effect of the three-dimensional dance picture on the smart phone is improved.
Alternatively, there are only two rotation directions corresponding to the sliding instruction, and the two rotation directions are opposite, for example, the rotation direction corresponding to the sliding instruction may be left rotation or right rotation, and when a sliding operation of the user on the display screen of the smart phone to the left or right is detected, the corresponding sliding instruction is triggered.
Optionally, when the angle adjustment instruction is a pitch angle instruction, adjusting the pitch angle of the three-dimensional avatar according to the pitch angle instruction. For example, the pitch angle of the three-dimensional avatar is an angle between the vertical direction and the horizontal plane, two pitch angles of the three-dimensional avatar may be set, one pitch angle is zero, the user observation point is horizontally set with the center point of the three-dimensional avatar, the user can horizontally watch the three-dimensional avatar, the other pitch angle is greater than zero, i.e., the other side of the pitch angle is above the horizontal plane, the vertical height of the user observation point is greater than the vertical height of the center point of the three-dimensional avatar, and the user can look down the three-dimensional avatar.
In the technical scheme disclosed in the embodiment, when the angle adjustment instruction is a sliding instruction, a rotation angle and a rotation direction corresponding to the sliding instruction are obtained, and the direction of the three-dimensional virtual image is adjusted according to the rotation angle and the rotation direction, so that the display of different angles of the three-dimensional dance motion is realized, and a user can know more information of the three-dimensional dance motion.
In yet another embodiment, as shown in fig. 4, after step S20, on the basis of any one of the embodiments shown in fig. 2 to 3, the method further includes:
step S01, when an issuing instruction is received, generating three-dimensional picture data according to the target dance motion, the image parameters and the preset three-dimensional background;
in this embodiment, after the rendered three-dimensional virtual image is displayed in the preset three-dimensional background, if an issuing instruction triggered by the user is received, the user indicates that the user wants to share the three-dimensional dance with other users or other network platforms, so that three-dimensional picture data can be generated according to the action parameters of the target dance action, the image parameters of the three-dimensional virtual image and the model parameters of the preset three-dimensional background according to preset rules, and the three-dimensional picture data is the three-dimensional dance picture to be shared.
Step S02, the three-dimensional picture data are sent to preset terminal equipment, so that the preset terminal equipment renders a three-dimensional virtual figure according to the target dance action and the figure parameter, and the rendered three-dimensional virtual figure is displayed in the preset three-dimensional background.
In this embodiment, after three-dimensional image data is generated, the three-dimensional image data is sent to a preset terminal device, so that the preset terminal device analyzes the three-dimensional image data, renders a three-dimensional virtual image according to target dance actions and image parameters, displays the rendered three-dimensional virtual image in a preset three-dimensional background, and a user of the preset terminal device can watch the three-dimensional dance, and can adjust the orientation of the three-dimensional virtual image through an angle adjustment instruction, so as to realize remote teaching of the three-dimensional dance.
Optionally, the preset terminal device may be a user terminal, or may be a server of the network platform, so that a user of the network platform views a corresponding three-dimensional dance picture. The preset terminal equipment can correspond to the issuing instruction, namely the issuing instruction comprises equipment information or a network address of the preset terminal equipment, so that after three-dimensional picture data are generated, the three-dimensional picture data are sent to the preset terminal equipment according to the equipment information or the network address, and sharing of three-dimensional dances is achieved.
In the technical scheme disclosed in the embodiment, when an issuing instruction is received, three-dimensional picture data are sent to preset terminal equipment so that the preset terminal equipment can render a three-dimensional virtual image according to target dance actions and image parameters, and the rendered three-dimensional virtual image is displayed in a preset three-dimensional background to realize sharing of three-dimensional dances.
In yet another embodiment, as shown in fig. 5, after step S20, on the basis of the embodiment shown in any one of fig. 2 to fig. 4, the method further includes:
step S03, displaying a selection interface comprising a music list;
in this embodiment, after the rendered three-dimensional avatar is displayed in the preset three-dimensional background, a selection interface including a music list may be displayed in the smart phone, where the music list includes information of a plurality of pieces of music, and the user may select appropriate music through the selection interface including the music list, and cooperate with the target dance action through the music, so that the performance effect of the three-dimensional dance picture is improved.
Optionally, at least one piece of music can be associated in advance according to the characteristics, style, rhythm speed and the like of the dance motion, so that after the target dance motion is determined, a music list can be generated according to the at least one piece of music associated with the target dance motion, the user can select the music in the music list, and the matching degree of the music and the three-dimensional dance is improved.
Step S04, when a selection instruction triggered by the selection interface is received, music corresponding to the selection instruction is acquired;
step S05, outputting the music corresponding to the selection instruction.
In this embodiment, when receiving a selection instruction triggered by a user through a selection interface, music corresponding to the selection instruction is obtained, and music corresponding to the selection instruction is output through an audio output device associated with the smart phone, so that the user can watch a three-dimensional dance picture and simultaneously can hear music matched with the three-dimensional dance picture, and the three-dimensional dance picture has a better performance effect.
In the technical scheme disclosed in the embodiment, a selection interface including a music list is displayed, when a selection instruction triggered by the selection interface is received, music corresponding to the selection instruction is acquired, the music corresponding to the selection instruction is output, and the three-dimensional dance and music are combined, so that the expression effect of the three-dimensional dance picture is improved.
In addition, an embodiment of the present invention further provides a device for controlling a dance frame, where the device for controlling a dance frame includes: the dance picture control system comprises a memory, a processor and a dance picture control program which is stored in the memory and can run on the processor, wherein the dance picture control program realizes the steps of the dance picture control method according to each embodiment when being executed by the processor.
In addition, the embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores a control program of a dance picture, and the control program of the dance picture realizes the steps of the control method of the dance picture in each embodiment when being executed by a processor.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (8)
1. The dance picture control method is characterized by comprising the following steps of:
rendering a three-dimensional virtual image according to the target dance action and the image parameters;
displaying the rendered three-dimensional virtual image in a preset three-dimensional background corresponding to the target dance action;
when an angle adjustment instruction is detected, adjusting the orientation of the three-dimensional virtual image according to the angle adjustment instruction;
wherein the step of adjusting the orientation of the three-dimensional avatar according to the angle adjustment instruction includes:
if the angle adjustment instruction is a sliding instruction, determining a sliding distance corresponding to the sliding instruction according to the minimum sliding distance;
determining a rotation angle according to the sliding distance and a preset conversion ratio, and acquiring a rotation direction corresponding to the sliding instruction;
and acquiring a rotation center shaft corresponding to the target dance action type, and adjusting the orientation of the three-dimensional virtual image based on the rotation center shaft according to the rotation angle and the rotation direction.
2. The method of controlling a dance picture according to claim 1, wherein the step of adjusting the orientation of the three-dimensional avatar according to the angle adjustment command is performed while further comprising:
and adjusting the three-dimensional background following the adjustment of the orientation of the three-dimensional avatar.
3. The method of controlling a dance picture according to claim 1, wherein the step of adjusting the orientation of the three-dimensional avatar according to the angle adjustment instruction comprises:
and when the angle adjustment instruction is a pitch angle instruction, adjusting the pitch angle of the three-dimensional virtual image according to the pitch angle instruction.
4. The method of controlling a dance picture according to claim 1, wherein after the step of displaying the rendered three-dimensional avatar in a preset three-dimensional background, the method of controlling a dance picture further comprises:
when an issuing instruction is received, generating three-dimensional picture data according to the target dance action, the image parameters and the preset three-dimensional background;
and sending the three-dimensional picture data to preset terminal equipment so that the preset terminal equipment renders a three-dimensional virtual image according to the target dance action and the image parameters, and displaying the rendered three-dimensional virtual image in the preset three-dimensional background.
5. The method of controlling a dance picture according to claim 1, wherein the step of adjusting the orientation of the three-dimensional avatar according to the angle adjustment instruction comprises:
acquiring the type of the target dance action;
acquiring a rotation center shaft corresponding to the type of the target dance motion;
and adjusting the orientation of the three-dimensional avatar according to the rotation center shaft according to the angle adjustment instruction.
6. The method of controlling a dance picture according to claim 1, wherein after the step of displaying the rendered three-dimensional avatar in a preset three-dimensional background, the method further comprises:
displaying a selection interface including a music list;
when receiving a selection instruction triggered by the selection interface, acquiring music corresponding to the selection instruction;
and outputting the music corresponding to the selection instruction.
7. A dance picture control device, wherein the dance picture control device comprises: the dance picture control method according to any one of claims 1 to 6, wherein the dance picture control program is executed by the processor.
8. A computer storage medium, wherein a dance screen control program is stored on the computer storage medium, and when executed by a processor, the dance screen control program realizes the steps of the dance screen control method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010683797.5A CN111798548B (en) | 2020-07-15 | 2020-07-15 | Dance picture control method and device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010683797.5A CN111798548B (en) | 2020-07-15 | 2020-07-15 | Dance picture control method and device and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111798548A CN111798548A (en) | 2020-10-20 |
CN111798548B true CN111798548B (en) | 2024-02-13 |
Family
ID=72807305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010683797.5A Active CN111798548B (en) | 2020-07-15 | 2020-07-15 | Dance picture control method and device and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111798548B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112363652B (en) * | 2020-11-27 | 2021-10-22 | 北京城市网邻信息技术有限公司 | Information processing method and device |
CN113792646B (en) * | 2021-09-10 | 2024-07-02 | 广州艾美网络科技有限公司 | Dance motion auxiliary generation method and device and dance equipment |
CN116546149B (en) * | 2023-07-04 | 2023-10-24 | 北京小糖科技有限责任公司 | Dance teaching interaction method, device, equipment and medium based on virtual digital person |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050082559A (en) * | 2004-02-19 | 2005-08-24 | 주식회사 소니컴퓨터 엔터테인먼트 코리아 | Dance learning system, internet community service system and internet community service method using the same, dance learning method, and computer executable recording media on which programs implement said methods are recorded |
CN102024140A (en) * | 2009-09-16 | 2011-04-20 | 深圳泰山在线科技有限公司 | Drumbeating action identification method based on computer |
KR20180085328A (en) * | 2017-01-18 | 2018-07-26 | 정주선 | Apparatus for dance game and method for dance game using thereof |
CN108665492A (en) * | 2018-03-27 | 2018-10-16 | 北京光年无限科技有限公司 | A kind of Dancing Teaching data processing method and system based on visual human |
CN110087121A (en) * | 2019-04-30 | 2019-08-02 | 广州虎牙信息科技有限公司 | Virtual image display methods, virtual image display device and electronic equipment |
CN110557625A (en) * | 2019-09-17 | 2019-12-10 | 北京达佳互联信息技术有限公司 | live virtual image broadcasting method, terminal, computer equipment and storage medium |
CN111179694A (en) * | 2019-12-02 | 2020-05-19 | 广东小天才科技有限公司 | Dance teaching interaction method, intelligent sound box and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3588473A1 (en) * | 2018-06-28 | 2020-01-01 | West & Berg Holding AB | Sports training aid with motion detector |
-
2020
- 2020-07-15 CN CN202010683797.5A patent/CN111798548B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050082559A (en) * | 2004-02-19 | 2005-08-24 | 주식회사 소니컴퓨터 엔터테인먼트 코리아 | Dance learning system, internet community service system and internet community service method using the same, dance learning method, and computer executable recording media on which programs implement said methods are recorded |
CN102024140A (en) * | 2009-09-16 | 2011-04-20 | 深圳泰山在线科技有限公司 | Drumbeating action identification method based on computer |
KR20180085328A (en) * | 2017-01-18 | 2018-07-26 | 정주선 | Apparatus for dance game and method for dance game using thereof |
CN108665492A (en) * | 2018-03-27 | 2018-10-16 | 北京光年无限科技有限公司 | A kind of Dancing Teaching data processing method and system based on visual human |
CN110087121A (en) * | 2019-04-30 | 2019-08-02 | 广州虎牙信息科技有限公司 | Virtual image display methods, virtual image display device and electronic equipment |
CN110557625A (en) * | 2019-09-17 | 2019-12-10 | 北京达佳互联信息技术有限公司 | live virtual image broadcasting method, terminal, computer equipment and storage medium |
CN111179694A (en) * | 2019-12-02 | 2020-05-19 | 广东小天才科技有限公司 | Dance teaching interaction method, intelligent sound box and storage medium |
Non-Patent Citations (8)
Title |
---|
3DMAX软件人物动画角色制作中的应用;袁永春;;黑龙江科技信息(第22期);186 * |
WIIVIEW: A VIEW CONTROL INTERFACE FOR 3D TELE-IMMERSIVE ENVIRONMENTS;Tamai;《International Conference on Multimedia and Expo》;1593 * |
史飞飞 ; 车自力 ; 雷春苗 ; 靳晴雯 ; 袁娇阳 ; 李欢 ; .基于ArcGIS的三维虚拟校园信息***的实现.咸阳师范学院学报.2015,(第02期),74-79. * |
吕寅 ; 杨雪 ; .虚拟现实与舞蹈艺术融合.舞蹈.2017,(第09期),73-75. * |
基于ArcGIS的三维虚拟校园信息***的实现;史飞飞;车自力;雷春苗;靳晴雯;袁娇阳;李欢;;咸阳师范学院学报(第02期);74-79 * |
虚拟现实与舞蹈艺术融合;吕寅;杨雪;;舞蹈(第09期);73-75 * |
袁永春 ; .3DMAX软件人物动画角色制作中的应用.黑龙江科技信息.2016,(第22期),186. * |
魏士翔.《大众标准化》.2019,(第16期),149-150. * |
Also Published As
Publication number | Publication date |
---|---|
CN111798548A (en) | 2020-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111798548B (en) | Dance picture control method and device and computer storage medium | |
US10764626B2 (en) | Method and apparatus for presenting and controlling panoramic image, and storage medium | |
JP7498209B2 (en) | Information processing device, information processing method, and computer program | |
WO2018077206A1 (en) | Augmented reality scene generation method, device, system and equipment | |
KR101623288B1 (en) | Rendering system, rendering server, control method thereof, program, and recording medium | |
US20180225880A1 (en) | Method and Apparatus for Providing Hybrid Reality Environment | |
JP2019510321A (en) | Virtual reality pass-through camera user interface elements | |
EP2105905A2 (en) | Image generation apparatus | |
CN108933723B (en) | Message display method and device and terminal | |
US9652063B2 (en) | Input direction determination system, terminal, server, network system, information storage medium, and input direction determination method | |
US20240028132A1 (en) | Mirroring device with pointing based navigation | |
JP5408948B2 (en) | Program and game system | |
CN113436301B (en) | Method and device for generating anthropomorphic 3D model | |
JP2011258160A (en) | Program, information storage medium and image generation system | |
JP2020523687A (en) | Shadow optimization and mesh skin adaptation in foveal rendering system | |
JP2019139673A (en) | Information processing apparatus, information processing method, and computer program | |
JP2020523691A (en) | Delayed lighting optimization, foveal adaptation of particles, and simulation model in foveal rendering system | |
KR20180118669A (en) | Intelligent chat based on digital communication network | |
CN111467803A (en) | In-game display control method and device, storage medium, and electronic device | |
JP2017111719A (en) | Video processing device, video processing method and video processing program | |
JP2024063062A (en) | Information processing system, information processing method, and information processing program | |
CN115624740A (en) | Virtual reality equipment, control method, device and system thereof, and interaction system | |
JP3165543U (en) | An electronic book that can make magazines a community | |
JP7441289B1 (en) | Computer program, information processing terminal, and its control method | |
JP2012014392A (en) | Comic-picture creation support apparatus, comic-picture creation support method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |