A method, device and equipment for playing and generating three-dimensional slides
By receiving and responding to playback instructions, the resources of the three-dimensional slideshow are scheduled into the three-dimensional space and played according to preset rules, solving the problem of difficulty in constructing and playing three-dimensional slideshows in the prior art, and achieving high popularity of three-dimensional slideshow production and playback.
Patent Information
- Application Number
- CN202210420613.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-21
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2042-04-21
AI Technical Summary
The prior art is difficult to construct and play three-dimensional slides through simple operation, and it is less popular.
By receiving instructions to play the target three-dimensional slide, the response instructions will schedule the resources of the target three-dimensional slide into the three-dimensional space and play according to preset rules. This method involves creating a stage, adding characters and actions to generate target 3D slideshows.
It realizes the construction and playback of three-dimensional slides through simple operations, which improves the popularity of three-dimensional slide production.
Smart Images

Figure CN114880499B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of three-dimensional data processing, and in particular to a method, device and equipment for playing and generating three-dimensional slides. Background Art
[0002] In life, when you need to explain an event or a product, you usually need a corresponding document to assist in the explanation. The most commonly used tool is presentation (PowerPoint, PPT), but PPT is a two-dimensional software that can only be used on a flat display, and the content organization is usually based on two-dimensional space. Humans live in a three-dimensional space, and their cognition of the world is inherently three-dimensional, so documents made by two-dimensional software will appear unintuitive and cannot better explain an event or a product. In addition, in the existing technology, in order to make a three-dimensional slide, you usually need to use more professional tools, which require a high level of three-dimensional graphics knowledge and program foundation to use, and it is very difficult to popularize.
[0003] Based on this, how to use simple operation methods to build a three-dimensional slide and play it is an urgent problem to be solved by people in this field. Summary of the invention
[0004] In order to solve the above problems, a method, device and apparatus for playing and generating a three-dimensional slide show according to an embodiment of the present invention are proposed.
[0005] According to one aspect of an embodiment of the present invention, a method for playing and generating a three-dimensional slide show is provided, comprising:
[0006] receiving an instruction to play a target three-dimensional slide show;
[0007] In response to the instruction to play the target three-dimensional slide, the resources of the target three-dimensional slide are scheduled into the three-dimensional space, and the target three-dimensional slide is played according to a preset rule.
[0008] Optionally, before receiving the target three-dimensional slide, the method further includes generating the target three-dimensional slide, and the generating method includes:
[0009] Create at least one first stage;
[0010] adding at least one character to the at least one stage to obtain a second stage;
[0011] An action is added to the at least one character in the second stage to obtain the target three-dimensional slide.
[0012] Optionally, before creating at least one first stage, the method further includes:
[0013] Upload the raw data associated with the target 3D slide.
[0014] Optionally, the original data includes at least one of the following:
[0015] 3D models, pictures, videos, sounds, PDF, drawing tools.
[0016] Optionally, adding at least one role to the at least one stage includes:
[0017] At least one character is added to the at least one stage according to the original data.
[0018] Optionally, after creating at least one first stage, the method further includes:
[0019] Add a jump method between every two of the first stages.
[0020] Optionally, after obtaining the target three-dimensional slide, the method further includes:
[0021] The target three-dimensional slide is stored according to the preset rule.
[0022] Optionally, the preset rule includes at least one of the following:
[0023] According to the arrangement order of the second stage after the target three-dimensional slide is obtained, the second stage is at least one of played or stored.
[0024] Optionally, after playing the target three-dimensional slideshow according to a preset rule, the method further includes:
[0025] Select any segment in the target three-dimensional slide to play.
[0026] According to another aspect of an embodiment of the present invention, a device for playing a three-dimensional slide show is provided, the device comprising:
[0027] A receiving module, used for receiving an instruction to play a target three-dimensional slide;
[0028] The response module is used to respond to the instruction to play the target 3D slide, schedule the resources of the target 3D slide into the 3D space, and play the target 3D slide according to a preset rule.
[0029] According to another aspect of an embodiment of the present invention, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0030] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned three-dimensional slide show playing method.
[0031] According to another aspect of the embodiments of the present invention, a computer storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute operations corresponding to the above-mentioned three-dimensional slide show playback method.
[0032] According to the solution provided by the above-mentioned embodiment of the present invention, by receiving an instruction to play a target three-dimensional slide; responding to the instruction to play the target three-dimensional slide, scheduling the resources of the target three-dimensional slide into a three-dimensional space, and playing the target three-dimensional slide according to preset rules, it is possible to build a three-dimensional slide through a simple operation method and play it, thereby improving the popularity of three-dimensional slide production.
[0033] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation method of the embodiment of the present invention is specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the embodiments of the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0035] Figure 1 A flow chart of a method for playing a three-dimensional slide show provided by an embodiment of the present invention is shown;
[0036] Figure 2 A flow chart of a method for generating a three-dimensional slide provided by an embodiment of the present invention is shown;
[0037] Figure 3 A flow chart of a specific method for editing a three-dimensional slide provided by an embodiment of the present invention is shown;
[0038] Figure 4 A flow chart of a specific method for playing three-dimensional slides provided by an embodiment of the present invention is shown;
[0039] Figure 5 A schematic diagram of a specific software architecture for playing three-dimensional slides provided by an embodiment of the present invention is shown;
[0040] Figure 6A schematic diagram of a specific data structure for editing a three-dimensional slide provided by an embodiment of the present invention is shown;
[0041] Figure 7 A schematic diagram showing the structure of a three-dimensional slide show playback device provided by an embodiment of the present invention;
[0042] Figure 8 A schematic diagram of the structure of a computing device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0043] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0044] Figure 1 FIG. 2 shows a flow chart of a method for playing a three-dimensional slide show provided by an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0045] Step 11, receiving an instruction to play a target 3D slide show;
[0046] Step 12, in response to the instruction to play the target 3D slide, dispatch the resources of the target 3D slide into the 3D space, and play the target 3D slide according to a preset rule.
[0047] In this embodiment, by receiving an instruction to play a target three-dimensional slide; responding to the instruction to play the target three-dimensional slide, scheduling the resources of the target three-dimensional slide into a three-dimensional space, and playing the target three-dimensional slide according to preset rules, it is possible to build a three-dimensional slide through simple operations and play it, thereby improving the popularity of three-dimensional slide production.
[0048] Figure 2 FIG. 2 shows a flow chart of a method for generating a three-dimensional slide provided by an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:
[0049] Step 21, creating at least one first stage;
[0050] Step 22, adding at least one character to the at least one stage to obtain a second stage;
[0051] Step 23: adding an action to the at least one character in the second stage to obtain the target three-dimensional slide.
[0052] In this embodiment, when creating a first stage, adding roles to the first stage, and adding actions to the roles, the creation or adding can be completed at one time; it is also possible to create a new first stage after creating a second stage, and then add roles and other actions to the first stage, but it is not limited to the above. The following takes "creating a new first stage after creating a second stage, and then adding roles and other actions to the first stage" as an example to illustrate this embodiment.
[0053] Specifically, step 24, creating the first stage;
[0054] Step 25, performing the following generation operation for the first stage, if the execution result corresponding to the first stage does not meet the first preset stop condition, then continue to perform the step of creating the first stage;
[0055] Step 26, if the execution result corresponding to the first stage satisfies the first preset stop condition, the target three-dimensional slide is obtained;
[0056] Step 27, the generating operation includes:
[0057] Step 28, adding at least one character to the first stage to obtain a second stage including the at least one character;
[0058] Step 29: If the obtained second stage does not satisfy the second preset stop condition, repeat the step of adding a role to the first stage to obtain the second stage after the role is added.
[0059] In this specific example, if each of the first stages is placed in a two-dimensional space, it is equivalent to a page of the PPT, and if each of the second stages is placed in a two-dimensional space, it is equivalent to a page of the PPT after data is added.
[0060] The first preset stop condition is customized based on the following content, and the first preset stop condition is based on: when the execution result of the first stage includes all the data that users need to demonstrate, stop creating the first stage; when the execution result of the first stage does not yet include all the data that users need to demonstrate, create a new first stage.
[0061] The second preset stop condition is customized based on the following content, and the second preset stop condition is based on: when the second stage includes all the data that the user needs to present on the stage, stop adding roles to the first stage; when the second stage does not yet include all the data that the user needs to present on the stage, continue adding roles to the first stage.
[0062] In an optional embodiment of the present invention, before step 21, the method further includes:
[0063] Step 20: Upload the original data related to the target three-dimensional slide.
[0064] like Figure 3 As shown, in this embodiment, before creating the first stage, a resource library can also be established in the cloud, and the required three-dimensional models can be uploaded by the user, and management operations such as adding, deleting, modifying, and searching can be performed on them. However, this is not limited to the above. After adding a new three-dimensional model, it can also be stored in the cloud for other users to find and use. This increases the scalability of the method and facilitates user use.
[0065] In another optional embodiment of the present invention, the original data includes at least one of the following:
[0066] 3D models, pictures, videos, sounds, PDF, drawing tools.
[0067] In this embodiment, the original data is not limited to the above, and any data that the user needs to create a target three-dimensional slide without adding can be called original data. The drawing tools include: text boxes, various arrows, standard geometric bodies, etc., but are not limited to the above.
[0068] In another optional embodiment of the present invention, in step 22, adding at least one role to the at least one stage may include:
[0069] Step 221: adding at least one character to the at least one stage according to the original data.
[0070] In this embodiment, when making a target three-dimensional slide, the three-dimensional model data uploaded by the user can be put into a certain stage to become a character, and this character will appear when playing to this stage.
[0071] When adding two or more characters to the same stage, due to the large scale of 3D model resources, frequent creation of new stages will affect operating performance. Therefore, the life cycle of the 3D model is cross-stage. After appearing on a stage, it will appear on all subsequent stages until a certain stage setting makes it disappear.
[0072] In another optional embodiment of the present invention, in step 23, adding an action to the at least one character in the second stage may include:
[0073] Step 231: adding actions to the at least one character in the second stage according to the original data.
[0074] In this embodiment, after adding a character to the stage, you can also add actions to the character. The action refers to a transformation of the character, including character movements, character behaviors, character states, etc., but not limited to the above. For example: posture changes, dispersion of sub-objects by explosion, cutting models, local color changes, etc., but not limited to the above.
[0075] When adding actions, appear and disappear are a pair of special actions. Appearance does not require any settings. It will be automatically created when you drag the data to be set for the action onto the stage. Disappearance needs to be created manually. When it is executed on this stage, the character will disappear through animation and will no longer exist on subsequent stages.
[0076] After adding an action, it will last for a certain period of time, which can be customized. During this period of time, the action can be animated. The basic actions are shifting, rotating, and scaling, but are not limited to the above. These basic actions do not require special settings. You only need to drag the model to the desired position with the mouse to automatically create an action.
[0077] In another optional embodiment of the present invention, after step 21, the following steps may also be included:
[0078] Step 211, adding a jump mode between every two of the first stages.
[0079] In this embodiment, the jump mode of setting the stage can support jumping to the next stage by clicking a mouse or any input device, or automatically jumping after waiting for a certain period of time.
[0080] In another optional embodiment of the present invention, in step 23, after obtaining the target three-dimensional slide, the following steps may also be included:
[0081] Step 232: Store the target three-dimensional slide according to the preset rule.
[0082] The preset rules include at least one of the following:
[0083] According to the arrangement order of the second stage after the target three-dimensional slide is obtained, the second stage is at least one of played or stored.
[0084] In this embodiment, after editing is completed, the generated three-dimensional slides can be stored in the cloud for distribution, or can be directly stored on a computer device.
[0085] In another optional embodiment of the present invention, in step 12, after playing the target 3D slide according to a preset rule, the following may also be included:
[0086] Step 121: Select any segment in the target 3D slide to play.
[0087] like Figure 4 and Figure 5 As shown, in this embodiment, the target three-dimensional slide show script can be downloaded and played at any playback terminal that supports the target three-dimensional slide show script.
[0088] Before starting to play, the available version of the resources used in the target 3D slideshow on the corresponding platform will be downloaded according to the platform of the playback end.
[0089] After all the resources are downloaded, they will be displayed in three-dimensional space according to the settings of the characters on the first stage, and the actions of the characters will be executed one by one.
[0090] During playback, the playback end can also accept user input, and according to the stage jump settings, jump to the next stage at an appropriate time and execute the behavior of the character on the stage.
[0091] Figure 6 A schematic diagram of a data structure for editing a three-dimensional slide provided by an embodiment of the present invention is shown. Figure 6 As shown, the definition of the data in the figure is as follows:
[0092] ScenarioData: 1. Root data describing the entire script; 2. The script contains a series of roles, describing all the resources to be displayed in this script; 3. The script contains a scene list, each scene can be compared to a page in a PPT, which can be played sequentially or jumped, where the scene is the stage in the above embodiment; 4. The script also contains a chapter list, which can divide the scene into chapters.
[0093] Role data (CreateRoleData): 1. Information describing a role; 2. This class contains unique information blocks for all types of roles, which will be selected according to the role type. If a certain type does not contain an information block, its value will be a null pointer (null); 3. Possible role information blocks include but are not limited to Table 1.
[0094] Describes a unique data information block of the text box type role (CreateTextRoleData) A unique data information block describing the role of the comment box type (CeateTagRoleData) The text information of the comment box is stored in the CreateTextRoleData data block, so this data block only records the information related to the comment. Describes a unique data block of a role of a picture or video type (CreatePicRoleData) A data block describing the role of an asset type (CreateAssetRoleData) Contains 3D models, images, videos, sounds, PDFs, and other resources that need to be loaded from the cloud. Text boxes, comment boxes, and various widgets do not need to be loaded from the cloud, so these types of characters do not have this data block.
[0095] Table 1
[0096] Scene Data: 1. A script can contain multiple scenes, and each scene can be compared to each page of a PPT; 2. A scene can carry multiple characters, and each character has an initial position in this scene and a series of behaviors; 3. Whenever the player enters a scene, each character in the scene will perform corresponding actions in sequence according to its own behavior list; 4. The scene also contains jump conditions. After all the behaviors of all the characters have been executed, they will enter waiting or jump directly to the next scene according to the jump condition settings; 5. The scene may also contain camera movement information. When playing the scene, the camera movement can be controlled according to the camera movement information.
[0097] Role initialization data in the scene (RoleInitPoseInScene): 1. Describes the initialization information of a role in a scene, mainly including the initial position, rotation, scaling and other information of the role in the scene, but not limited to the above; 2. If a role is displayed in a certain scene, there must be initialization information. If there is no initialization information, it cannot be displayed; 3. When the player enters a certain scene, the role will be displayed according to the initialization information, but it should be noted that if the role has an "appearance" behavior in a certain scene, the role cannot be displayed when entering the scene until the "appearance" behavior is executed.
[0098] Role Actions in Scenes (RoleActionsInScene): 1. Records all actions that a role needs to perform in a scene; 2. The order in which actions are recorded is the order in which they are played. When playing, the actions will be played in sequence without pauses or waiting between actions.
[0099] Role behavior (ActionDataBase): 1. This class is an abstract class and has no meaning in itself. Different types of subclasses describe different behaviors. The role behavior is equivalent to the role action in the above embodiment.
[0100] Character appearance (AppearActionData): 1. Describes how the character appears; 2. If the character has an appearance behavior in this scene, the character should not be displayed when entering this scene, but should be displayed according to the appearance settings when the appearance behavior is executed; 3. It should be noted that the character appearance behavior does not include the appearance position, rotation, scaling and other information, which are stored in the initialization information (RoleInitPoseInScene) of the corresponding character in the scene.
[0101] DisappearActionData: 1. Describes how the character disappears; 2. After the character disappears, the subsequent scene will no longer have this character; 3. It should be noted that the character appearance behavior does not include the position, rotation, scaling and other information of the appearance. This information is stored in the initialization information (RoleInitPoseInScene) of the corresponding character in the scene.
[0102] Character pose transformation (PoseActionData): 1. Describes the character's pose transformation, including displacement, rotation, and scaling; 2. Only the target pose of the transformation is recorded in this behavior, and the character should transform from its current pose to the specified target pose; 3. If it is the first pose transformation in the scene, the initial pose should be set according to the character's initialization information, and then transformed to the specified target pose.
[0103] Play model animation (AnimationActionData): 1. Play the animation preset in the 3D model contained in the character; 2. The character must contain a 3D model to have this behavior; 3. Use the animation ID as the keyword to play the animation.
[0104] Dynamic section (SectionActionData) and cancel section (CancelSectionActionData): 1. The behavior of cutting the character along three axes; 2. Recording a position and rotation information, constructing an internal coordinate system with these two information in actual operation, and using its xy / xz / yz three planes to cut the object, remove the first quadrant content, and fill in the corresponding cutting plane; 3. After the object is cut, it will always be displayed in the cut state until the behavior of canceling the section is encountered.
[0105] Sub-object expansion (ScatterActionDatas) and cancel expansion (CancelScatterActionData): 1. Scatter and expand the sub-objects of the model; 2. The scattering will be expanded in an animated way; 3. Provide two ways of expansion: spherical explosion expansion and expansion along a certain direction.
[0106] Stage jump data (StageConditionData): 1. Describes the conditions for jumping from one scene to the next. When playing, the scene jump will be triggered if the conditions are met; 2. Currently, only two types of jumps are supported: jump at a fixed time and jump after a click operation. Other jump methods can be expanded in the future.
[0107] The method for making and playing a 3D slideshow described in the above embodiment of the present invention can quickly construct the required 3D slideshow without requiring professional 3D development knowledge, and can significantly reduce the cost required for 3D scene construction.
[0108] Figure 7 FIG. 7 is a schematic diagram showing the structure of a 3D slide show playback device 70 provided in an embodiment of the present invention. Figure 7 As shown, the device comprises:
[0109] A receiving module 72, used for receiving an instruction to play a target three-dimensional slide;
[0110] The response module 73 is used to respond to the instruction to play the target 3D slide, schedule the resources of the target 3D slide into the 3D space, and play the target 3D slide according to a preset rule.
[0111] Optionally, a processing module 71 is further included before the receiving module 72, and the processing module 71 is used to create at least one first stage; add at least one character to the at least one stage to obtain a second stage; add actions to the at least one character in the second stage to obtain the target three-dimensional slide.
[0112] Optionally, the processing module 71 is further configured to upload raw data related to the target three-dimensional slide.
[0113] Optionally, the original data includes at least one of the following:
[0114] 3D models, pictures, videos, sounds, PDF, drawing tools.
[0115] Optionally, the processing module 71 is further configured to add at least one character to the at least one stage according to the original data.
[0116] Optionally, the processing module 71 is further configured to add a jump mode between every two of the first stages.
[0117] Optionally, the processing module 71 is further configured to store the target three-dimensional slide according to the preset rule.
[0118] Optionally, the preset rule includes at least one of the following:
[0119] According to the arrangement order of the second stage after the target three-dimensional slide is obtained, the second stage is at least one of played or stored.
[0120] Optionally, the response module 73 is further configured to select any segment in the target three-dimensional slide to play.
[0121] It should be understood that the above Figures 1 to 6The description of the illustrated method embodiment is only an explanation of the technical solution of the present invention in the form of optional examples, and does not constitute a limitation on the method for playing and generating a three-dimensional slide show of the present invention. In other implementations, the execution steps and sequence of the method for playing and generating a three-dimensional slide show of the present invention may be different from the above-mentioned embodiment, and the embodiment of the present invention does not limit this.
[0122] It should be noted that this embodiment is a device embodiment corresponding to the above method embodiment, and all implementation methods in the above method embodiment are applicable to the embodiment of this device and can achieve the same technical effect.
[0123] An embodiment of the present invention provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the method for playing and generating a three-dimensional slide in any of the above method embodiments.
[0124] Figure 8 A schematic diagram of the structure of a computing device provided by an embodiment of the present invention is shown, and the specific embodiment of the present invention does not limit the specific implementation of the computing device.
[0125] like Figure 8 As shown, the computing device may include: a processor, a communications interface, a memory, and a communication bus.
[0126] The processor, the communication interface, and the memory communicate with each other via a communication bus. The communication interface is used to communicate with other devices such as a client or other server network elements. The processor is used to execute a program, specifically, to execute the relevant steps in the above-mentioned embodiment of the method for playing and generating a three-dimensional slide for a computing device.
[0127] Specifically, the program may include program codes including computer operation instructions.
[0128] The processor may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0129] Memory is used to store programs. The memory may include high-speed RAM memory and may also include non-volatile memory, such as at least one disk storage.
[0130] The program can be specifically used to enable the processor to execute the three-dimensional slide show playback and generation method in any of the above-mentioned method embodiments. The specific implementation of each step in the program can refer to the corresponding descriptions in the corresponding steps and units in the above-mentioned three-dimensional slide show playback and generation method embodiments, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiments, which will not be repeated here.
[0131] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the embodiment of the present invention described herein, and the description of the above specific language is to disclose the best mode of the embodiment of the present invention.
[0132] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0133] Similarly, it should be understood that in order to streamline the embodiments of the present invention and to aid in understanding one or more of the various aspects of the invention, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof.
[0134] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of submodules or subunits or subcomponents.
[0135] Furthermore, those skilled in the art will appreciate that although some embodiments herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present invention and to form different embodiments.
[0136] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present invention. The embodiments of the present invention may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing an embodiment of the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0137] It should be noted that the above embodiments illustrate the embodiments of the present invention rather than limiting the present invention, and the word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The embodiments of the present invention can be implemented by means of hardware including a number of different elements and by means of a suitably programmed computer. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limiting the order of execution.
Claims
1. A method for playing a three-dimensional slide show, characterized in that: The method comprises: receiving an instruction to play a target three-dimensional slide show; In response to the instruction to play the target three-dimensional slide, the resource of the target three-dimensional slide is scheduled into the three-dimensional space, and the target three-dimensional slide is played according to a preset rule; Before receiving the target three-dimensional slide, the method further includes generating the target three-dimensional slide, wherein the generating method includes: Create at least one first stage; adding at least one character to the at least one stage to obtain a second stage; adding an action to the at least one character in the second stage to obtain the target three-dimensional slide; Before creating at least one first stage, the method further includes: Uploading raw data related to the target three-dimensional slide; The data structure for editing the three-dimensional slideshow specifically includes: Script data, including root data describing the entire script, a list of characters, a list of scenes, and a list of chapters; Role data, including information describing a role, a unique data information block describing a comment box type role, a unique data information block describing a picture or video type role, and a unique data information block describing a resource type role; Scene data, including character initialization data in the scene, describing the initialization information of a character in a scene, including the character's initial position, rotation, and scaling information in the scene; also includes character behavior data in the scene, recording all the behaviors that a character needs to perform in a scene; scene jump data, describing the conditions for a scene to jump to the next scene. When playing, the scene jump will be triggered if the conditions are met; The role behavior data specifically includes: role behavior; Character appearance, describing how the character appears. If the character has an appearance behavior in this scene, the character should not be displayed when entering this scene. Instead, it will be displayed according to the appearance settings when the appearance behavior is executed. The character appearance behavior does not include the appearance position, rotation, and scaling information; Character disappearance, describing how the character disappears. After the character disappears, the character will no longer appear in the subsequent scenes. The character appearance behavior does not include the location, rotation, and scaling information of the appearance; Character pose transformation, which describes the character's pose transformation, including displacement, rotation, and scaling. This behavior only records the target pose of the transformation. The character should transform from its current pose to the specified target pose. If it is the first pose transformation in the scene, the initial pose should be set according to the character's initialization information, and then transformed to the specified target pose. Play model animation, play the preset animation in the 3D model contained in the character. The character must contain a 3D model to have this behavior. Use the animation ID as the keyword to play the animation; Dynamic cutting and canceling cutting, the behavior of cutting the character along three axes, recording a position and rotation information, and constructing an internal coordinate system with these two information in actual operation, and using the three planes xy / xz / yz to cut the object, remove the first quadrant content, and fill in the corresponding cutting plane. After the object is cut, it will be displayed in the cut state until the behavior of canceling the cutting is encountered; Expand and cancel sub-objects, disperse and expand the sub-objects of the model. Dispersion will be performed in an animated manner, providing two modes: spherical explosion expansion and expansion along a certain direction.
2. The method for playing a three-dimensional slide show according to claim 1, characterized in that: Adding at least one role in the at least one stage comprises: At least one character is added to the at least one stage according to the original data.
3. The method for playing a three-dimensional slide show according to claim 2, characterized in that: After creating at least one first stage, the method further includes: Add a jump method between every two of the first stages.
4. The method for playing a three-dimensional slide show according to claim 2, characterized in that: After obtaining the target three-dimensional slide, the method further includes: The target three-dimensional slide is stored according to the preset rule.
5. The method for playing a three-dimensional slide show according to claim 4, characterized in that: The preset rules include at least one of the following: According to the arrangement order of the second stage after the target three-dimensional slide is obtained, the second stage is at least one of played or stored.
6. The method for playing a three-dimensional slide show according to claim 1, characterized in that: After playing the target three-dimensional slide according to the preset rule, the method further includes: Select any segment in the target three-dimensional slide to play.
7. A three-dimensional slide show playback device, characterized in that: The device is used to implement the playback method according to any one of claims 1 to 6, and the device includes: A receiving module, used for receiving an instruction to play a target three-dimensional slide; The response module is used to respond to the instruction to play the target 3D slide, schedule the resources of the target 3D slide into the 3D space, and play the target 3D slide according to a preset rule.
8. A computing device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and when the at least one executable instruction is executed, the processor executes the three-dimensional slide show playing method according to any one of claims 1 to 6.
9. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and when the executable instruction is executed, a computing device executes the method for playing a three-dimensional slide show according to any one of claims 1 to 6.
Citation Information
Patent Citations
Demonstration document realization method based on three-dimensional information in three-dimensional scene
CN101178817A