Three-dimensional courseware creation method and device, equipment and storage medium

By providing the courseware display area and view index area in the 3D courseware editing interface, users can edit and save the three-dimensional area in the 2D view state, solving the complex problem of three-dimensional courseware production in the existing technology and realizing a simplified three-dimensional courseware Production process.

CN119165946APending Publication Date: 2024-12-20GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310694741.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-12
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The existing three-dimensional courseware production procedures are complicated and cumbersome, difficult to promote, and it is difficult for non-professional personnel to produce three-dimensional courseware.

Method used

Provide a three-dimensional courseware creation method. By displaying the three-dimensional courseware editing interface, including the courseware display area and the courseware view index area, users can view and edit the three-dimensional area in the two-dimensional view state, receive editing and saving instructions, and directly obtain and save three-dimensional. Objects, simplify the production process.

Benefits of technology

This makes the production method of three-dimensional courseware similar to that of two-dimensional courseware, simplifies operations, reduces the difficulty of production, and facilitates large-scale promotion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119165946A_ABST
    Figure CN119165946A_ABST
Patent Text Reader

Abstract

The invention provides a three-dimensional courseware creating method and device, equipment and a storage medium, the method comprises the steps that a three-dimensional courseware editing interface is displayed, the three-dimensional courseware editing interface comprises a courseware display area and a courseware view index area, the courseware display area is used for displaying a two-dimensional view of a currently edited three-dimensional area in a two-dimensional state, and the courseware view index area is used for indexing the two-dimensional view of the currently edited three-dimensional area; the courseware view index area is used for displaying all currently created area views; receiving a three-dimensional courseware editing instruction acting on the three-dimensional courseware editing interface; displaying a current area view corresponding to the courseware editing instruction in a courseware display area; receiving a three-dimensional courseware storage instruction acting on the three-dimensional courseware editing interface; and obtaining a three-dimensional object corresponding to each area view in the courseware view index area, and obtaining the three-dimensional object according to each area view to obtain a three-dimensional courseware. According to the technical scheme, the creation mode of the three-dimensional courseware is similar to the creation mode of the two-dimensional courseware, the operation mode is simple, a user can conveniently implement the method, and large-scale popularization is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of courseware production, and in particular to a three-dimensional courseware creation method, device, equipment and storage medium. Background Art

[0002] Virtual reality (VR) refers to the artificial creation of a three-dimensional scene with the help of computer systems and sensor technology. In this artificial three-dimensional scene, each object has a position and posture relative to the system's coordinate system, and the scene the user sees is determined by the user's position and the direction of his or her head and eyes. Virtual reality can mobilize the user's vision, hearing, etc., giving the user a more realistic and immersive experience.

[0003] 3D courseware is a new type of courseware that is created by applying virtual reality technology to the field of education. It enables learners to acquire knowledge through interaction with the information environment and deepen their understanding of knowledge. At present, 3D courseware generally needs to be produced by professionals, and the production process is complicated and time-consuming, which is not conducive to large-scale promotion. Summary of the invention

[0004] The present application provides a three-dimensional courseware creation method, device, equipment and storage medium to solve the technical problem of complex and cumbersome three-dimensional courseware production procedures.

[0005] In a first aspect, a three-dimensional courseware creation method is provided, comprising:

[0006] Displaying a 3D courseware editing interface, the 3D courseware editing interface includes a courseware display area and a courseware view index area, the courseware display area is used to display a 2D view of the 3D area currently being edited in a 2D state, and the courseware view index area is used to display all currently created area views, each of which is a 2D view of the 3D area in a 2D state;

[0007] Receiving a three-dimensional courseware editing instruction acting on the three-dimensional courseware editing interface;

[0008] In response to the three-dimensional courseware editing instruction, a current area view corresponding to the courseware editing instruction is displayed in the courseware display area, wherein the current area view is a two-dimensional view of a target three-dimensional area, and the target three-dimensional area is a three-dimensional area on which the three-dimensional courseware editing instruction acts based on the three-dimensional courseware editing interface;

[0009] Receiving a three-dimensional courseware saving instruction acting on the three-dimensional courseware editing interface;

[0010] In response to the three-dimensional courseware saving instruction, the three-dimensional objects corresponding to each area view in the courseware view index area are obtained, and the three-dimensional objects are saved according to the each area view to obtain the three-dimensional courseware, wherein the three-dimensional objects include at least one three-dimensional scene and at least one three-dimensional area in the at least one three-dimensional scene.

[0011] In this technical solution, by displaying a three-dimensional courseware editing interface, the courseware editing interface includes a courseware display area and a courseware view index area. The courseware display area is used to display a two-dimensional view of the three-dimensional area currently being edited in a two-dimensional state, and the courseware view index is used to display all the area views currently created. When a three-dimensional courseware editing instruction is obtained in the three-dimensional courseware editing interface, the area view corresponding to the three-dimensional area corresponding to the three-dimensional courseware editing instruction is displayed in the courseware display area, so that the user can view and edit the three-dimensional courseware in a two-dimensional view state; when a three-dimensional courseware saving instruction is obtained in the three-dimensional courseware editing interface, the three-dimensional object corresponding to each area view is obtained and saved according to the area view in the courseware view index area, and the three-dimensional courseware can be obtained. Since the three-dimensional object is directly obtained and saved, the user does not need to perform other professional operations. The user only needs to perform simple settings on the three-dimensional object in the two-dimensional view state to create the three-dimensional courseware, so that the production method of the three-dimensional courseware is similar to that of the two-dimensional courseware, the production method is simple, easy for users to implement, and conducive to large-scale promotion.

[0012] In combination with the first aspect, in a possible implementation, the three-dimensional courseware editing instruction is used to indicate a newly added area view; the response to the three-dimensional courseware editing instruction, before displaying the current area view corresponding to the courseware editing instruction in the courseware display area, further includes: obtaining a target three-dimensional area corresponding to the three-dimensional courseware editing instruction and a target view parameter corresponding to the target three-dimensional area; creating the current area view according to the target three-dimensional area and the target view parameter. By obtaining the three-dimensional area corresponding to the three-dimensional courseware editing instruction and the view parameter of the three-dimensional area, a two-dimensional view of the newly added three-dimensional area is created, and the user can add a new three-dimensional area in the two-dimensional editing state, which is convenient for the user to implement.

[0013] In combination with the first aspect, in a possible implementation, obtaining the target three-dimensional area corresponding to the three-dimensional courseware editing instruction includes: determining a designated three-dimensional area in the target three-dimensional scene corresponding to the three-dimensional courseware editing instruction as the target three-dimensional area.

[0014] In combination with the first aspect, in a possible implementation, obtaining the target three-dimensional area corresponding to the three-dimensional courseware editing instruction includes: determining the original three-dimensional area corresponding to the previous area view displayed in the courseware display area as the target three-dimensional area.

[0015] In combination with the first aspect, in a possible implementation, the current area view has been created and displayed in the courseware display area, and the three-dimensional courseware editing instruction is used to instruct the replacement of the target three-dimensional area; the response to the three-dimensional courseware editing instruction, displaying the current area view corresponding to the courseware editing instruction in the courseware display area, includes: obtaining a first three-dimensional area corresponding to the three-dimensional courseware editing instruction and a first view parameter corresponding to the first three-dimensional area; creating a first area view according to the first three-dimensional area and the first view parameter, and replacing the current area view with the first area view; and displaying the replaced current area view in the courseware display area. By obtaining the three-dimensional area corresponding to the three-dimensional courseware editing instruction and the view parameters of the three-dimensional area, a new area view is created and the original area view is replaced, so that the user can replace the three-dimensional area in the two-dimensional editing state, which is convenient for the user to implement.

[0016] In combination with the first aspect, in a possible implementation, the current area view has been created and displayed in the courseware display area, and the three-dimensional courseware editing instruction is used to instruct editing of the current area view; the response to the three-dimensional courseware editing instruction, displaying the current area view corresponding to the courseware editing instruction in the courseware display area, includes: obtaining a second view parameter corresponding to the three-dimensional courseware editing instruction; creating a second area view according to the target three-dimensional area and the second view parameter, and replacing the current area view with the second area view; and displaying the replaced current area view in the courseware display area. By obtaining the view parameters corresponding to the three-dimensional courseware editing instruction and creating a new area view to replace the original area view and display it, the user can switch the perspective and field of view of the three-dimensional area, so that the three-dimensional area can be better edited in a two-dimensional state.

[0017] In combination with the first aspect, in a possible implementation, the current area view has been created and displayed in the courseware display area, and the three-dimensional courseware editing instruction is used to instruct to insert an object in the target three-dimensional area; the response to the three-dimensional courseware editing instruction, displaying the current area view corresponding to the courseware editing instruction in the courseware display area, includes: determining the target element corresponding to the three-dimensional courseware editing instruction, and obtaining the target object corresponding to the target element; inserting the target object in the target three-dimensional area to obtain a new target three-dimensional area; creating a third area view according to the new target three-dimensional area and the view parameters corresponding to the new target three-dimensional area, and replacing the current area view with the third area view; and displaying the replaced current area view in the courseware display area. By obtaining the two-dimensional element corresponding to the three-dimensional courseware editing instruction and the object corresponding to the two-dimensional element, creating a new area view after inserting the object in the three-dimensional area, and replacing the original two-dimensional view with the new area view, the user can complete the insertion of the object in the three-dimensional area in a two-dimensional state, which is convenient for the user to implement.

[0018] In combination with the first aspect, in a possible implementation manner, the target object is one of a three-dimensional object and a two-dimensional page.

[0019] In combination with the first aspect, in a possible implementation, the three-dimensional object is an interactive three-dimensional object; the determining the target element corresponding to the three-dimensional courseware editing instruction and obtaining the target object corresponding to the target element includes: obtaining an object interaction template corresponding to the three-dimensional courseware editing instruction, and determining the target element and the target object corresponding to the target element according to the object interaction template. Determining the elements to be inserted into the two-dimensional view and the objects to be inserted into the three-dimensional area according to the object interaction template corresponding to the instruction can facilitate users to design three-dimensional courseware.

[0020] In combination with the first aspect, in a possible implementation manner, the object interaction template includes object attributes of the target object.

[0021] In conjunction with the first aspect, in a possible implementation, the 3D courseware editing interface further includes an object display area, and the object display area is used to display thumbnails of the 3D scene and the 3D region in the 3D scene. By using the object display area to display thumbnails of the 3D scene and the 3D region in the 3D scene, it is convenient for the user to select and set the 3D scene and the 3D region in the 3D courseware in a 2D state.

[0022] In combination with the first aspect, in a possible implementation, all the currently created regional views are arranged linearly in the courseware view index area. The two-dimensional views are arranged linearly in the courseware view index area, so that the editing and displaying method of the three-dimensional courseware is similar to the editing and displaying method of the two-dimensional courseware, which is convenient for users to implement.

[0023] In combination with the first aspect, in a possible implementation method, according to the area view currently created in the three-dimensional courseware editing interface, the three-dimensional object corresponding to each area view is obtained and saved, and after the three-dimensional courseware is obtained, it also includes: responding to the courseware display instruction, obtaining the three-dimensional area to be displayed corresponding to the courseware display instruction; rendering and displaying the three-dimensional area to be displayed.

[0024] In combination with the first aspect, in a possible implementation, the rendering and displaying the three-dimensional area to be displayed includes: obtaining area display parameters corresponding to the courseware display instruction; and rendering and displaying the three-dimensional area to be displayed according to the area display parameters.

[0025] In combination with the first aspect, in a possible implementation, the obtaining of the regional display parameters corresponding to the courseware display instruction includes: obtaining the regional distance between the three-dimensional area to be displayed and a second three-dimensional area, the second three-dimensional area being the previous three-dimensional area displayed before the three-dimensional area to be displayed; when the regional distance is less than a preset distance threshold, determining the regional display parameters corresponding to the second three-dimensional area as the regional display parameters corresponding to the courseware display instruction. When the regional distance between the three-dimensional area to be displayed and the previous three-dimensional area displayed is small, the regional display parameters of the previous three-dimensional area are used, which can reduce the discomfort caused by movement to the user and provide a better three-dimensional courseware viewing experience.

[0026] In combination with the first aspect, in a possible implementation, there is an interactive object in the three-dimensional area to be displayed; after rendering and displaying the three-dimensional area to be displayed, it also includes: responding to an object interaction instruction acting on the interactive object, rendering and displaying the interactive object in the displayed three-dimensional area to be displayed according to the object interaction effect corresponding to the object interaction instruction. Displaying the interactive object according to the object interaction effect corresponding to the object interaction instruction enables the user to interact with the three-dimensional courseware, thereby enhancing the immersion of the courseware.

[0027] In combination with the first aspect, in a possible implementation method, there is an animated three-dimensional object with animation effects in the three-dimensional area to be displayed; after rendering and displaying the three-dimensional area to be displayed, it also includes: playing the animation corresponding to the animated three-dimensional object in the three-dimensional area to be displayed.

[0028] In a second aspect, a three-dimensional courseware creation device is provided, comprising:

[0029] A display module is used to respond to a three-dimensional courseware editing instruction. In response to the three-dimensional courseware editing instruction, the display module is used to display a three-dimensional courseware editing interface, the three-dimensional courseware editing interface includes a courseware display area and a courseware view index area, the courseware display area is used to display a two-dimensional view of a three-dimensional area currently being edited in a two-dimensional state, and the courseware view index area is used to display all currently created area views, each of which is a two-dimensional view of a three-dimensional area in a two-dimensional state;

[0030] An instruction receiving module, used for receiving a 3D courseware editing instruction acting on the 3D courseware editing interface;

[0031] The display module is further used to respond to the three-dimensional courseware editing instruction and display a current area view corresponding to the three-dimensional courseware editing instruction in the courseware display area, wherein the current area view is a two-dimensional view of a target three-dimensional area, and the target three-dimensional area is a three-dimensional area on which the three-dimensional courseware editing instruction acts based on the three-dimensional courseware editing interface;

[0032] The instruction receiving module is further used to receive a 3D courseware saving instruction acting on the 3D courseware editing interface;

[0033] The courseware creation module is used to respond to the three-dimensional courseware saving instruction, obtain the three-dimensional objects corresponding to each area view in the courseware view index area, save the three-dimensional objects according to the each area view, and obtain the three-dimensional courseware, wherein the three-dimensional objects include at least one three-dimensional scene and at least one three-dimensional area in the at least one three-dimensional scene.

[0034] In a third aspect, a computer device is provided, comprising a memory, a display panel, and one or more processors, wherein the memory and the display panel are connected to the one or more processors, and the one or more processors are used to execute one or more computer programs stored in the memory, and when the one or more processors execute the one or more computer programs, the computer device implements the three-dimensional courseware creation method of the first aspect.

[0035] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the three-dimensional courseware creation method of the first aspect.

[0036] This application can achieve the following technical effects: users can create three-dimensional courseware by simply setting up three-dimensional objects in a two-dimensional view state, so that the production method of three-dimensional courseware is similar to that of two-dimensional courseware, the production method is simple, easy for users to implement, and conducive to large-scale promotion. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of a three-dimensional courseware structure provided in an embodiment of the present application;

[0038] Figure 2 A schematic diagram of a process for creating a three-dimensional courseware provided in an embodiment of the present application;

[0039] Figure 3 A schematic diagram of a three-dimensional courseware editing interface provided in an embodiment of the present application;

[0040] Figure 4A-4C A schematic diagram of a current area view corresponding to a courseware editing instruction displayed in a courseware display area provided in an embodiment of the present application;

[0041] Figure 5 It is a structural schematic diagram of a three-dimensional courseware creation device provided in an embodiment of the present application;

[0042] Figure 6 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0044] The technical solution of the present application can be applied to the creation of 3D courseware scenes. In the current 3D courseware production solution, professional developers need to complete the writing of scene scripts through code or graphical programming. The professional ability required to produce 3D courseware is high and the required operations are also more. Therefore, only a small number of people have the ability to produce 3D courseware. It is difficult for non-professional developers to master the production method of 3D courseware, which is not conducive to the mass production and application of 3D courseware.

[0045] In view of this, the present application proposes a new technical solution for producing three-dimensional courseware, which aims to allow non-professionals to produce three-dimensional courseware through operations similar to two-dimensional courseware, so that three-dimensional courseware can be produced and applied in large quantities. Among them, the technical solution of the present application can be applied to any computer device with user interaction function (hereinafter referred to as target computer device), and the target computer device includes but is not limited to mobile phones, tablet computers, laptops, desktop computers, etc. Optionally, the target computer device can also be a background server, and the background server can interact with the user through a display terminal.

[0046] First, this application defines a three-dimensional courseware structure, which is a universal structure, and each three-dimensional courseware can be divided, defined and stored according to the three-dimensional courseware structure. Figure 1 ,like Figure 1 As shown, the three-dimensional courseware structure in this application includes four levels, from large to small, they are virtual world, three-dimensional scene, three-dimensional area and object. The virtual world is a purely virtual concept, invisible to the user, and is a relative concept to the real world; the virtual world is the largest level in the three-dimensional courseware. The virtual world in the three-dimensional courseware can correspond to the drawing board in the two-dimensional courseware, and one three-dimensional courseware has one virtual world. The three-dimensional scene refers to the three-dimensional scene in the virtual world. The three-dimensional scene is visible to the user and is the largest visible concept in the three-dimensional courseware; the level of the three-dimensional scene in the three-dimensional courseware is smaller than the level of the virtual world. The three-dimensional scene in the three-dimensional courseware can correspond to the master in the two-dimensional courseware. There can be one or more three-dimensional scenes in a three-dimensional courseware. The three-dimensional scene can be, for example, a classroom scene, a space scene, a grassland scene, and so on. A 3D area refers to an area of ​​3D form in a 3D scene, which is visible to users and is the largest concept that users can interact with in the virtual world. Users can move in the 3D area and interact with some objects in the 3D area. The level of the 3D area in the 3D courseware is lower than that of the 3D scene. The 3D area in the 3D courseware can correspond to the page in the 2D courseware. There can be one or more 3D areas in a 3D scene. For example, the 3D area can be a classroom of a class in a classroom scene, the space station area in a space scene, the grassland area in a grassland scene, etc. Objects refer to virtual objects in a 3D area, which are visible to users and can be placed in the 3D area to interact with users. Objects are the smallest divisible level in the 3D courseware. Objects in the 3D courseware can correspond to elements in the 2D courseware. There can be one or more objects in a 3D area. For example, objects can be desks and blackboards in the classroom.

[0047] based on Figure 1 The three-dimensional courseware structure and target computer device shown can implement the technical solution of the present application. The technical solution of the present application is described in detail below.

[0048] See also Figure 2 , Figure 2 A flow chart of a three-dimensional courseware creation method provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the method comprises the following steps:

[0049] S101, displaying a three-dimensional courseware editing interface.

[0050] The 3D courseware editing interface is a user interface for users to create and edit 3D courseware. Users can edit and create 3D courseware through the 3D courseware editing interface.

[0051] The 3D courseware editing interface includes a courseware display area, which is used to display one of the 3D areas in the currently established 3D courseware. One of the 3D areas is the 3D area that the user is currently editing. One of the 3D areas is presented as a 2D view in the 3D courseware editing interface, that is, the courseware display area is used to display the 2D view of the 3D area that is currently being edited in a 2D state. In this way, the user can view and edit the 3D area in a 2D view state, which conforms to the editing habits of 2D courseware and makes the creation of 3D courseware easy to implement. For example, the 3D editing interface can be as follows: Figure 3 As shown, the three-dimensional editing interface J1 includes a courseware display area Q1, which displays the currently created three-dimensional area in a two-dimensional view.

[0052] The 3D courseware editing interface also includes a courseware view index area, which is used to display all currently created area views. The area view refers to a 2D view of a 3D area in a 2D state.

[0053] The function of the courseware view index area is similar to that of the page index area in a two-dimensional courseware, and it serves as a directory, allowing users to quickly select and view a region view, thereby viewing and editing the three-dimensional region corresponding to the region view. All the currently created region views can be arranged linearly in the courseware view index area. For example, the courseware index area can be as follows: Figure 3 As shown in Q3 in the courseware, the courseware index area Q3 is used to display the two-dimensional views of all the three-dimensional areas that have been created.

[0054] By setting a courseware index area in the courseware editing interface to display all created area views, the created three-dimensional area can be displayed, making it easier for users to understand the specific situation of the three-dimensional courseware.

[0055] Optionally, the 3D courseware editing interface may also include an object display area, which is used to display thumbnails of 3D scenes and 3D areas in the 3D scenes. The thumbnail of the 3D scene refers to a 2D image that can represent the 3D scene, and the thumbnail of the 3D area refers to a 2D image that can represent the 3D area.

[0056] The object display area has a similar function to the template display area in the two-dimensional courseware, and is used to display thumbnails of the three-dimensional scenes and three-dimensional regions in the three-dimensional scenes in the preset scene library, so that users can select three-dimensional scenes and three-dimensional regions in the three-dimensional scenes in the three-dimensional courseware editing interface, thereby completing the creation of three-dimensional scenes and three-dimensional regions in the three-dimensional courseware. The preset scene library is a preset database for storing pre-made three-dimensional scenes, and the preset scene library can store various pre-made three-dimensional scenes, various three-dimensional regions in three-dimensional scenes, and various three-dimensional objects that can be placed in three-dimensional regions. In addition to storing pre-made 3D scenes, 3D areas, and 3D objects, the preset scene library can also store the correspondence between 3D scenes and 3D areas, thumbnails of 3D scenes and 3D areas, the 2D range of 3D areas, the activity range of 3D areas, and the default observer position of users in 3D areas; wherein the 2D range of a 3D area is the range of the surface on which objects can be placed in the 3D area, and the activity range of a 3D area refers to the range within which users can move in the 3D scene, which can be a range that users can visit and view through virtual reality, or a range that users can visit when virtual characters replace users through non-virtual reality methods; the default observer position refers to a preset position that appears in the 3D area when users are active in the 3D area of ​​the 3D scene, which can be a position that users appear in the 3D area through virtual reality, or a position that virtual characters appear in the 3D area when users replace users through non-virtual reality methods. The object display area can be used to display thumbnails of some 3D scenes and 3D areas in the preset scene library. Exemplarily, the object display area can be as follows: Figure 3 In Q2, the object display area Q2 is used to display the thumbnail p1 of the three-dimensional scene in the scene library and the thumbnail p2 of the area in the three-dimensional scene.

[0057] Specifically, thumbnails of 3D scenes and 3D regions in the 3D scenes can be obtained from a preset scene library and displayed in the object display area. The thumbnails of 3D scenes and 3D regions in the 3D scenes displayed in the object display area can change with target user operations.

[0058] By setting an object display area in the 3D courseware editing interface to display thumbnails of 3D scenes and 3D areas in 3D scenes, users can select 3D scenes and 3D areas in the same way as 2D courseware to complete the creation of 3D courseware, which is easy to implement.

[0059] The courseware editing interface of this application is similar to the editing interface of two-dimensional courseware as a whole. Users can edit three-dimensional courseware in two-dimensional state based on their editing experience of two-dimensional courseware, so that users can quickly master the production method of three-dimensional courseware.

[0060] S102, receiving a three-dimensional courseware editing instruction acting on a three-dimensional courseware editing interface.

[0061] Among them, the three-dimensional courseware editing instruction is a user instruction obtained based on the three-dimensional courseware editing interface, and the three-dimensional courseware editing instruction is issued by the user. When the user performs a user operation with an editing nature in the three-dimensional courseware editing interface, the three-dimensional courseware editing instruction can be triggered. There can be one or more three-dimensional courseware editing instructions. The user operation with an editing nature performed by the user is similar to the user editing operation performed by the user on the editing interface of the two-dimensional courseware, and specifically can be the selection, replacement, insertion, movement, deletion, enlargement, reduction, rotation, etc. of a certain editable object in the three-dimensional courseware editing interface, not limited to the examples here. Among them, the editable objects in the three-dimensional courseware editing interface include various three-dimensional objects in a two-dimensional state.

[0062] S103, responding to the three-dimensional courseware editing instruction, displaying the current area view corresponding to the courseware editing instruction in the courseware display area.

[0063] Here, the current area view is a view of the target three-dimensional area in a two-dimensional perspective, and the current area view may specifically be a front view, a top view, a side view, etc. of the target three-dimensional area. The current area view may specifically be a view of the target three-dimensional area in a two-dimensional perspective, which may depend on actual needs and the user operation currently performed by the user.

[0064] The target 3D area is the 3D area where the 3D courseware editing instruction acts based on the 3D courseware editing interface, that is, the 3D area where the user operation that triggers the 3D courseware editing instruction (hereinafter referred to as the target user operation) acts, which can be understood as the 3D area that the user is currently editing. Different target user operations and different target 3D areas will result in different current area views. It should be noted that when there are multiple 3D courseware editing instructions, different courseware editing instructions may correspond to different area views.

[0065] Responding to a three-dimensional courseware editing instruction and displaying the current area view corresponding to the courseware editing instruction in the courseware display area means: according to the target user operation performed by the user in the three-dimensional courseware editing interface, the target three-dimensional area affected by the target user operation is processed corresponding to the target user operation, and the processed target three-dimensional area is displayed in the courseware display area of ​​the three-dimensional courseware editing interface in a two-dimensional perspective. The role and meaning of the three-dimensional courseware editing instruction are different depending on the target user operation, and the specific implementation of responding to the three-dimensional courseware editing instruction and displaying the current area view corresponding to the courseware editing instruction in the courseware display area is different. For the specific implementation of responding to the three-dimensional courseware editing instruction and displaying the current area view corresponding to the courseware editing instruction in the courseware display area, please refer to the subsequent description, and no further description is given here.

[0066] S104, receiving a 3D courseware saving instruction acting on the 3D courseware editing interface.

[0067] The 3D courseware saving instruction is used to instruct to save the currently created 3D courseware, and the 3D courseware saving instruction can be triggered by the user. Specifically, the user can trigger the 3D courseware saving instruction through the "Save" button in the 3D courseware editing interface or through the save shortcut key.

[0068] S105, respond to the 3D courseware saving instruction, obtain the 3D objects corresponding to each regional view in the courseware view index area, save the 3D objects corresponding to each regional view in the courseware view index area according to each regional view in the courseware view index area, and obtain the 3D courseware.

[0069] Here, the number of area views in the courseware view index area depends on the user operation. If the user creates a 3D area for the 3D courseware currently being edited in the 3D courseware editing interface, the area view in the courseware view index area includes the view of the 3D area in the 2D perspective. If the user creates multiple 3D areas for the 3D courseware currently being edited in the 3D courseware editing interface, the area view in the courseware view index area includes the views of the multiple 3D areas in their respective 2D perspectives. The multiple 3D areas created by the user can be the same 3D area or different 3D areas.

[0070] The 3D object corresponding to the area view refers to an object in a 3D form, and the 3D object may include a 3D scene and a 3D area created based on user operations. Furthermore, the 3D object may also include an object in a 3D area created based on user operations. The 3D object corresponding to each area view may be obtained from the preset scene library mentioned above based on user operations.

[0071] After obtaining the three-dimensional objects corresponding to each regional view from the preset scene library, the association relationship between the obtained three-dimensional objects can be determined according to each regional view, and the obtained three-dimensional objects and the three-dimensional objects corresponding to all regional views and the association relationship between the three-dimensional objects can be saved, so as to obtain three-dimensional courseware. Among them, the association relationship between three-dimensional objects may include the subordinate relationship between three-dimensional objects (such as which three-dimensional scene the three-dimensional area specifically belongs to, which three-dimensional area the object specifically belongs to, which object the object specifically belongs to, etc.), the position relationship between three-dimensional objects (such as where the object is located in the three-dimensional area), the order relationship between three-dimensional objects (such as the order between three-dimensional areas), the attribute relationship of three-dimensional objects (such as the size, shape, material, etc. of the three-dimensional object), etc. The association relationship between three-dimensional objects is used to restore three-dimensional objects according to regional views in virtual space.

[0072] Optionally, when the preset scene library includes the two-dimensional range of the three-dimensional area, the activity range of the three-dimensional area, and the default observer position of the user in the three-dimensional area, when obtaining a three-dimensional object from the preset scene library based on user operations, the two-dimensional range of the three-dimensional area, the activity range of the three-dimensional area, and the default observer position of the user in the three-dimensional area can also be obtained and saved.

[0073] exist Figure 2 In the corresponding technical solution, by displaying a three-dimensional courseware editing interface, the courseware editing interface includes a courseware display area and a courseware view index area. The courseware display area is used to display a two-dimensional view of the three-dimensional area currently being edited in a two-dimensional state, and the courseware view index is used to display all the area views currently created. When a three-dimensional courseware editing instruction is obtained in the three-dimensional courseware editing interface, the area view corresponding to the three-dimensional area corresponding to the three-dimensional courseware editing instruction is displayed in the courseware display area, so that the user can view and edit the three-dimensional courseware in a two-dimensional view state; when a three-dimensional courseware saving instruction is obtained in the three-dimensional courseware editing interface, the three-dimensional object corresponding to each area view is obtained and saved according to the area view in the courseware view index area, and the three-dimensional courseware can be obtained. Since the three-dimensional object is directly obtained and saved, the user does not need to perform other professional operations. The user only needs to perform simple settings on the three-dimensional object in the two-dimensional view state to create the three-dimensional courseware, so that the production method of the three-dimensional courseware is similar to that of the two-dimensional courseware, the production method is simple, easy for users to implement, and conducive to large-scale promotion.

[0074] The target user operations that users can perform in the 3D courseware editing interface, the functions and meanings of 3D courseware editing commands can be as follows:

[0075] Case 1: The current regional view has not been created yet, and the target user operation can be to add a new regional view in the 3D courseware editing interface.

[0076] In this case, the 3D courseware editing instruction is used to indicate the addition of a new regional view, and the above step S103 also includes the following steps A1-A3:

[0077] A1. Obtain a target three-dimensional area corresponding to the three-dimensional courseware editing instruction and a target view parameter corresponding to the target three-dimensional area.

[0078] The target three-dimensional area refers to the three-dimensional area where the target user's operation acts.

[0079] There are two specific situations for obtaining the target three-dimensional area:

[0080] (1) The target user operation is to select a 3D scene from a preset scene library.

[0081] In this case, the designated three-dimensional area in the target three-dimensional scene corresponding to the three-dimensional courseware editing instruction can be determined as the target three-dimensional area.

[0082] The target 3D scene is a scene selected from a preset scene library based on a target user operation, and the designated 3D area refers to a 3D area that appears by default when the user selects the target 3D scene, and the designated 3D area exists in the preset scene library. The designated 3D area can be pre-designated in the process of making the target 3D scene and the 3D area in the 3D scene. For example, the first 3D area in the target 3D scene can be pre-designated as the 3D area that appears by default when the user selects the target 3D scene, and the first 3D area in the target 3D scene is the designated 3D area, which can be the first 3D area in the target 3D scene.

[0083] In the specific implementation, when a user operation of selecting a three-dimensional scene from a preset scene library is obtained, it is determined that a three-dimensional courseware editing instruction for indicating a newly added area view is obtained, the three-dimensional scene selected by the user operation is determined as the target three-dimensional scene, and the specified three-dimensional area in the target three-dimensional scene in the preset scene library is determined as the target three-dimensional area.

[0084] When the user selects a scene from a preset scene library, the default three-dimensional area in the scene selected by the user is directly used as the three-dimensional area for user operation and subsequent processing is completed. The user only needs to select and set the scene to create three-dimensional courseware, which is easy for users to get started.

[0085] (2) The user has currently selected a scene, and the target user operation is to further edit the three-dimensional area in the currently selected scene.

[0086] In this case, the original three-dimensional area corresponding to the last area view displayed in the courseware display area can be determined as the target three-dimensional area.

[0087] The original 3D area is a 3D area that has not been edited by the user and exists in the preset scene library. The previous area view displayed in the courseware display area can be understood as the previous area view displayed in the courseware display area before the 3D courseware editing instruction for indicating the addition of a new area view is triggered. The original 3D area corresponding to the previous area view refers to the 3D area obtained from the preset scene library when the previous area view is added in the courseware editing interface.

[0088] In a specific implementation, when a user operation of adding a new area view is obtained, it is determined that a 3D courseware editing instruction for indicating the addition of a new area view is obtained, and the 3D area corresponding to the previous area view that has not been edited by the user is determined as the target 3D area.

[0089] The target view parameters are the view parameters required to display the target three-dimensional area in a two-dimensional view. The target view parameters can be view parameters that enable the two-dimensional range of the target three-dimensional area to be fully displayed in the object display area of ​​the courseware editing interface. For the meaning of the two-dimensional range, please refer to the above description. The view parameters are essentially the various shooting parameters of the virtual camera in the three-dimensional scene, which may specifically include the focal length of the camera, the position of the virtual camera in the three-dimensional scene, the posture of the virtual camera in the three-dimensional scene, and the clipping range of the virtual camera. The focal length of the virtual camera is used to control the scaling ratio of the two-dimensional view, and the position and posture of the camera are used to control the size of the two-dimensional view. The appropriate position and posture can display the target three-dimensional area in the courseware display area in the courseware editing interface with an appropriate size. The clipping range is used to control the shooting range of the camera so that the virtual camera will not capture obstacles in the three-dimensional scene.

[0090] The various shooting parameters of the virtual camera can be pre-set by the professional production personnel of the 3D area after the 3D area is produced and saved in the preset scene library. The various shooting scenes are used to enable the two-dimensional range of the 3D area to be fully displayed. After the target computer device obtains the target 3D area based on the target user's operation, it can obtain the various shooting parameters of the virtual camera pre-set for the target 3D area from the preset scene library, thereby obtaining the target view parameters corresponding to the target 3D area.

[0091] A2. Create a current area view according to the target three-dimensional area and target view parameters.

[0092] Specifically, the virtual camera in the three-dimensional scene can be set according to the target view parameters, and the target three-dimensional area can be photographed in the three-dimensional scene using the virtual camera, and the image photographed by the virtual camera when the shooting parameters are the target view parameters is determined as the current area view.

[0093] In the above steps A1-A2, by obtaining the 3D area corresponding to the 3D courseware editing instruction and the view parameters of the 3D area, a 2D view of the newly added 3D area is created. The user can add a new 3D area in the 2D editing state, which is easy for the user to implement.

[0094] Case 2: The current area view has been created and displayed in the courseware display area of ​​the three-dimensional courseware editing interface. The target user operation can be to replace the target three-dimensional area corresponding to the current area view in the three-dimensional courseware editing interface.

[0095] In this case, the 3D courseware editing instruction is used to instruct to replace the target 3D area. The above step S103 includes the following steps B1-B3:

[0096] B1. Acquire a first three-dimensional region corresponding to the three-dimensional courseware editing instruction and a first view parameter corresponding to the first three-dimensional region.

[0097] The first three-dimensional area is a three-dimensional area selected by the target user operation and used to replace the target three-dimensional area.

[0098] In a specific implementation, when a user operation of reselecting a 3D region for the current region view is obtained, it is determined that a 3D courseware editing instruction for indicating replacement of the target 3D region is obtained, and the 3D region reselected by the user is determined as the first 3D region.

[0099] The first view parameter is a view parameter required to display the first three-dimensional area in a two-dimensional view. Specifically, the first view parameter may be a view parameter that enables the two-dimensional range of the first three-dimensional area to be fully displayed in the object display area of ​​the courseware editing interface.

[0100] The implementation method of obtaining the first view parameter corresponding to the first three-dimensional area is the same as the implementation method of obtaining the target view parameter corresponding to the target three-dimensional area in the aforementioned step A1, which will not be repeated here.

[0101] B2. Create a first area view according to the first three-dimensional area and the first view parameter, and replace the current area view with the first area view.

[0102] Specifically, the shooting parameters of the virtual camera in the three-dimensional scene can be adjusted from the target view parameters (i.e., the view parameters corresponding to the current area view) to the first view parameters, and the first three-dimensional area can be photographed in the three-dimensional scene using the adjusted virtual camera. The image captured by the virtual camera with the adjusted shooting parameters is used as the first area view, thereby replacing the current area view.

[0103] B3. Display the replaced current area view in the courseware display area.

[0104] In the above steps B1-B3, by obtaining the three-dimensional area corresponding to the three-dimensional courseware editing instruction and the view parameters of the three-dimensional area, a new area view is created and the original area view is replaced, so that the user can change the three-dimensional area in the two-dimensional editing state, which is easy for users to implement.

[0105] Case three: the current area view has been created and displayed in the courseware display area of ​​the three-dimensional courseware editing interface. The target user operation can be to adjust the viewing angle, zoom size and other image-related image parameters of the current area view in the three-dimensional courseware editing interface.

[0106] In this case, the 3D courseware editing instruction is used to instruct to edit the current area view, and the above step S103 includes the following steps C1-C3:

[0107] C1. Obtain the second view parameters corresponding to the 3D courseware editing instruction.

[0108] Among them, the second view parameters can be obtained based on the image parameters related to the image set by the user in the three-dimensional courseware editing interface. The image parameters may include the viewing angle, zoom ratio and viewing distance of the current area view. The viewing distance includes the near point distance and the far point distance. The near point distance sets the clipping starting point of the virtual camera, and the length between the far point distance and the near point distance is the focus range of the virtual camera.

[0109] The user's setting operation of one or more image parameters in the viewing angle, zoom ratio and viewing distance of the target three-dimensional area can be obtained through the three-dimensional courseware editing interface, and then the image parameters are converted into the second view parameters according to the preset rules. Specifically, if the setting operation of the user's viewing angle of the target three-dimensional area obtained through the three-dimensional courseware editing interface, the target viewing angle set by the user can be obtained, and the various shooting parameters of the virtual camera corresponding to the target viewing angle are determined as the second view parameters corresponding to the three-dimensional courseware editing instruction. If the setting of the zoom ratio obtained through the three-dimensional courseware editing interface includes the user's setting of the zoom ratio, the target zoom ratio set by the user can be obtained, and the focal length corresponding to the zoom ratio is set as the focal length of the virtual camera, together with other shooting parameters of the virtual camera (here refers to other shooting parameters set for the virtual camera except the focal length when displaying the current area view) as the second view parameters. If the setting operation of the viewing distance obtained through the three-dimensional courseware editing interface includes the user's setting operation, the far point distance and the near point distance set by the user can be obtained, and the clipping range of the virtual camera can be set according to the far point distance and the near point distance, together with other shooting parameters of the virtual camera (here refers to other parameters set for the virtual camera except the clipping range when displaying the current area view).

[0110] C2. Create a second area view according to the target three-dimensional area and the second view parameters, and replace the current area view with the second area view.

[0111] Specifically, the shooting parameters of the virtual camera in the three-dimensional scene can be adjusted from the target view parameters to the second view parameters, and the target three-dimensional area can be photographed in the three-dimensional scene using the adjusted virtual camera. The image captured by the virtual camera with the adjusted shooting parameters is used as the second area view to replace the current area view.

[0112] C3. Display the replaced current area view in the courseware display area.

[0113] The above steps C1-C3 are described below with an example.

[0114] For example, suppose the current area view displayed in the courseware display area is as follows: Figure 4A As shown in Q11 in FIG. 1 , Q11 is a front view (i.e., a front view) of the target three-dimensional area (the target three-dimensional area here refers to the classroom area). Assume that the operation performed by the user is as follows: Figure 4A As shown, in order to switch the viewing angle of the target three-dimensional area from the front viewing angle to the side viewing angle, the shooting parameters corresponding to the side view can be determined as the second view parameters corresponding to the three-dimensional courseware editing instruction, and the shooting parameters of the virtual camera are adjusted from the shooting parameters corresponding to the front view to the shooting parameters corresponding to the side view. The virtual camera is used to re-shoot the target three-dimensional area to obtain a side view of the target three-dimensional area. The side view of the target three-dimensional area is the second area view. The second area view is used to replace the current area view, and the replaced current area view is displayed in the courseware display area as shown in FIG. Figure 4A As shown in Q12.

[0115] For example, suppose the current area view displayed in the courseware display area is as follows Figure 4B As shown in Q13 in FIG. 1 , Q13 is a view of a target three-dimensional area (the target three-dimensional area here refers to an outdoor space area) when the zoom ratio is 1. Assuming that the user performs the following operations Figure 4B As shown, in order to adjust the zoom ratio of the target three-dimensional area to 1.5, the focal length corresponding to the zoom ratio of 1.5 can be determined as the focal length of the virtual camera, as the second view parameter corresponding to the three-dimensional courseware editing instruction, the focal length of the virtual camera is adjusted from the focal length corresponding to the zoom ratio of 1 to the focal length corresponding to the zoom ratio of 1.5, and the virtual camera is used to re-shoot the target three-dimensional area to obtain a view with a zoom ratio of 1.5, which is the second area view. The current area view is replaced by the second area view, and the replaced current area view is displayed in the courseware display area as shown in FIG. Figure 4A As shown in Q14.

[0116] In the above steps C1-C3, by obtaining the view parameters corresponding to the three-dimensional courseware editing instructions and creating a new area view to replace the original area view and display it, the user can switch the perspective and field of view of the three-dimensional area, so as to better edit the three-dimensional area in a two-dimensional state.

[0117] Case 4: The current area view has been created and displayed in the courseware display area of ​​the three-dimensional courseware editing interface. The target user operation can add objects in the target three-dimensional area.

[0118] In this case, the 3D courseware editing instruction is used to instruct to insert an object into the target 3D area. The above step S103 includes the following steps D1-D4:

[0119] D1. Determine the target element corresponding to the 3D courseware editing instruction, and obtain the target object corresponding to the target element.

[0120] Specifically, the target element corresponding to the three-dimensional courseware editing instruction can be determined according to the user's selection operation in the three-dimensional courseware editing interface. The target element can be a two-dimensional element such as text, shape, picture, audio and video, and other view elements in the two-dimensional courseware, or a three-dimensional element or a two-dimensional page.

[0121] The target object corresponding to the target element can be a 3D object or a 2D page. When the target element is a 2D or 3D element, the target object corresponding to the target element is a 3D object; when the target element is a 2D page, the target object is a 2D page. The target object is the object to be inserted into the 3D area.

[0122] Specifically, when the target user inserts a two-dimensional element or a three-dimensional element into a three-dimensional courseware editing interface, a three-dimensional object corresponding to the two-dimensional element or the three-dimensional element can be obtained from the preset element material library, and the three-dimensional object can be determined as the target object; when the target user inserts a two-dimensional page into a three-dimensional courseware interface, the two-dimensional page can be determined as the target object.

[0123] In some possible cases, the 3D object inserted by the user may be an interactive 3D object. In this case, an object interaction template corresponding to the 3D courseware editing instruction may be obtained, and a target element and a 3D object corresponding to the target element may be determined according to the object interaction template corresponding to the 3D courseware editing instruction.

[0124] Among them, the object interaction template is a preset three-dimensional template that can provide interactive functions. Users can select and set the interaction template to create interactive three-dimensional objects. For example, a snowball template can be pre-set, and users can select the snowball template. Text or pictures can be entered on each snowball and presented on the snowball. Alternatively, a slider template can be pre-set, and users can create inclined planes and sliders through the slider template, and set the properties of the slider to simulate the sliding of the slider. The object interaction template is not limited to the above examples, and there can be more situations. After the user selects the object interaction template, the object interaction template selected by the user can be determined as the object interaction template corresponding to the three-dimensional courseware editing instruction, and then the target element and the three-dimensional object corresponding to the target element are determined according to the object in the object interaction template.

[0125] The object interaction template may also include object properties of the target object. After selecting the object interaction template, the user may also set the object properties in the object interaction template so that the target object has specific object properties in the three-dimensional scene. The object properties include but are not limited to mass, material (including friction coefficient, etc.), elasticity, material (such as roughness, luminous intensity), interaction mode, etc.

[0126] D2. Insert the target object into the target three-dimensional region to obtain a new target three-dimensional region.

[0127] Specifically, according to the target user operation, the target object can be inserted at the position corresponding to the target user operation in the target three-dimensional region to obtain a new target three-dimensional region, wherein the position corresponding to the target user operation should be within the two-dimensional range of the target three-dimensional region.

[0128] It should be noted that when the target object is a two-dimensional page, the two-dimensional page can be inserted into the two-dimensional range of the target three-dimensional area, wherein the two-dimensional page can be used as the texture of the surface corresponding to the two-dimensional range to complete the insertion of the two-dimensional page.

[0129] D3. Create a third region view according to the new target three-dimensional region and the view parameters corresponding to the new target three-dimensional region, and replace the current region view with the third region view.

[0130] The view parameters corresponding to the new target 3D area are shooting parameters of the virtual camera corresponding to the current area view, and the shooting parameters may be the target view parameters introduced in the aforementioned step A2, the first view parameters introduced in the aforementioned step B1, or the second view parameters in the aforementioned step C1. The view parameters corresponding to the new target 3D area are specifically which of the aforementioned view parameters, depending on the current area view and the operation performed by the user.

[0131] Specifically, without adjusting the shooting parameters of the virtual camera in the three-dimensional scene, a new target three-dimensional area can be shot by the virtual camera in the three-dimensional scene, and the image shot by the virtual camera can be used as the third area view to replace the current area view.

[0132] D4. Display the replaced current area view in the courseware display area.

[0133] In the above steps D1-D4, when the three-dimensional courseware editing instruction instructs to insert an object, the two-dimensional element corresponding to the instruction and the object corresponding to the two-dimensional element are obtained, and a new area view is created after the object is inserted into the three-dimensional area, and the original two-dimensional view is replaced, so that the user can complete the insertion of the object in the three-dimensional area in a two-dimensional state, which is convenient for users to implement.

[0134] The above steps D1-D4 are described with examples.

[0135] For example, suppose the current area view displayed in the courseware display area is as follows: Figure 4C As shown in Q15 in , the user performs the following operations: Figure 4CAs shown, to insert a three-dimensional element basketball, obtain the three-dimensional object basketball corresponding to the three-dimensional element basketball, insert the basketball into the desktop, and obtain a new target three-dimensional area; then use a virtual camera to shoot the new target three-dimensional area to obtain a third area view, use the third area view to replace the current area view, and display the replaced current area view in the courseware display area as shown in FIG. Figure 4A As shown in Q16.

[0136] By obtaining the two-dimensional elements corresponding to the three-dimensional courseware editing instructions and the objects corresponding to the two-dimensional elements, creating a new area view after inserting the object in the three-dimensional area, and replacing the original two-dimensional view with the new area view, the user can complete the insertion of objects in the three-dimensional area in the two-dimensional state, which is convenient for users to implement.

[0137] After creating the 3D courseware, the 3D courseware can also be demonstrated on a target computer device, wherein the target computing device for demonstrating the 3D courseware can be the same computer device as the target computer device for creating the 3D courseware, or can be a different computer device.

[0138] Above Figure 2 The corresponding technical solution may also include the following steps E1 to E2:

[0139] E1. Respond to the courseware display instruction and obtain the three-dimensional area to be displayed corresponding to the courseware display instruction.

[0140] The courseware display instruction can be triggered by the user, the 3D area to be displayed is the 3D area to be displayed, and the 3D area to be displayed corresponding to the courseware display instruction can be understood as the 3D area that needs to be displayed after the user selects it. The 3D area to be displayed corresponding to the courseware display instruction can be the area corresponding to the first page in the 3D courseware, that is, the first 3D area in the 3D courseware (referring to the first 3D area created when creating the 3D courseware); the 3D area to be displayed can also be other 3D areas in the 3D courseware, and which 3D area in the 3D courseware the 3D area to be displayed corresponding to the courseware display instruction is depends on the user's choice.

[0141] E2. Render and display the three-dimensional area to be displayed.

[0142] Specifically, the area display parameters corresponding to the courseware display instruction may be obtained; and the three-dimensional area to be displayed may be rendered and displayed according to the area display parameters corresponding to the courseware display instruction.

[0143] The area display parameters include the position of the virtual camera in the virtual three-dimensional scene and other shooting parameters.

[0144] If the three-dimensional area to be displayed is the first three-dimensional area in the three-dimensional courseware, the default observer position corresponding to the three-dimensional area to be displayed can be obtained, and the area display parameters corresponding to the default observer position can be obtained, and the area display parameters corresponding to the default observer position can be determined as the area display parameters corresponding to the courseware display instruction.

[0145] When the courseware display instruction is triggered by the user turning pages (i.e., switching three-dimensional areas), the area distance between the three-dimensional area to be displayed and the second three-dimensional area can be obtained. When the area distance is less than a preset distance threshold, the area display parameters corresponding to the second three-dimensional area are determined as the area display parameters corresponding to the courseware display instruction. Among them, the second three-dimensional area is the previous three-dimensional area displayed before the three-dimensional area to be displayed; that is, the three-dimensional area currently being displayed, and the first three-dimensional area is switched to obtain the three-dimensional area to be displayed. Determining the area display parameters corresponding to the second three-dimensional area as the area display parameters corresponding to the courseware display instruction essentially does not change the position of the virtual camera in the three-dimensional scene, that is, does not change the position of the observer.

[0146] When the distance between the 3D area to be displayed and the last 3D area displayed previously is small, using the area display parameters of the last 3D area can reduce the discomfort caused by movement to the user and provide a better 3D courseware viewing experience.

[0147] In some possible situations, there are interactive objects in the three-dimensional area to be displayed; after rendering and displaying the three-dimensional area to be displayed, it is also possible to respond to object interaction instructions acting on the interactive objects, and render and display the interactive objects in the displayed three-dimensional area to be displayed according to the object interaction effects corresponding to the object interaction instructions.

[0148] The interactive object refers to an object in a three-dimensional area that can interact with the user, such as being picked up or placed by the user. Specifically, when there is an interactive object in the currently displayed three-dimensional area to be displayed, the user can issue an object interaction instruction through the controller to control the interactive object in the three-dimensional area to be displayed; the target computer can control the interactive object in the three-dimensional scene to interact with the user according to the operation performed by the user on the interactive object, and display the object interaction status of the interactive object in the three-dimensional area to be displayed.

[0149] The interactive objects are displayed according to the object interaction effects corresponding to the object interaction instructions, so that users can interact with the three-dimensional courseware and enhance the immersion of the courseware.

[0150] In some possible situations, there is an animated 3D object with animation effects in the 3D area to be displayed; after rendering and displaying the 3D area to be displayed, the animation corresponding to the animated 3D object can also be played in the 3D area to be displayed.

[0151] Specifically, when a three-dimensional object in a three-dimensional area selected for display by a user has animation, the target computer device may display the animation of the three-dimensional object, so that the user can watch the animation of the three-dimensional object.

[0152] In some possible cases, when rendering and displaying a three-dimensional area, in addition to determining the three-dimensional area to be displayed, it is also necessary to determine the rendering method of the three-dimensional area to be displayed. Among them, the target computer device can determine the rendering method of the three-dimensional area to be displayed according to its own device type. If the target computer device is a virtual reality device, the virtual reality scene can be rendered and the three-dimensional area to be displayed can be displayed from the perspective of the courseware viewer; if the target computer device is not a virtual reality device, the virtual reality scene can be rendered from the perspective of the courseware presenter or a virtual image of the observer can be created in the three-dimensional scene. The user controls the perspective of the virtual image by controlling the peripherals of the target computer device to view the virtual reality scene.

[0153] The method of the present application is introduced above, and the device of the present application is introduced below.

[0154] See also Figure 5 , Figure 5 4 is a schematic diagram of the structure of a three-dimensional courseware creation device provided in an embodiment of the present application. As shown in FIG4 , the three-dimensional courseware creation device 20 includes:

[0155] Display module 201, used to display a 3D courseware editing interface, the 3D courseware editing interface includes a courseware display area and a courseware view index area, the courseware display area is used to display a 2D view of the 3D area currently being edited in a 2D state, the courseware view index area is used to display all currently created area views, each area view is a 2D view of the 3D area in a 2D state;

[0156] An instruction receiving module 202, used for receiving a 3D courseware editing instruction acting on the 3D courseware editing interface;

[0157] The display module 201 is further used to respond to the 3D courseware editing instruction and display the current area view corresponding to the 3D courseware editing instruction in the courseware display area, wherein the current area view is a 2D view of a target 3D area, and the target 3D area is the 3D area on which the 3D courseware editing instruction acts based on the 3D courseware editing interface;

[0158] The instruction receiving module 202 is further used to receive a 3D courseware saving instruction acting on the 3D courseware editing interface;

[0159] The courseware creation module 203 is used to respond to the three-dimensional courseware saving instruction, obtain the three-dimensional objects corresponding to each area view in the courseware view index area, save the three-dimensional objects according to the each area view, and obtain the three-dimensional courseware, wherein the three-dimensional objects include at least one three-dimensional scene and at least one three-dimensional area in the at least one three-dimensional scene.

[0160] In one possible design, the three-dimensional courseware editing instruction is used to indicate a newly added area view; the above-mentioned display module 201 is also used to: obtain the target three-dimensional area corresponding to the three-dimensional courseware editing instruction and the target view parameters corresponding to the target three-dimensional area; create the current area view according to the target three-dimensional area and the target view parameters.

[0161] In a possible design, the display module 201 is specifically used to: determine a designated three-dimensional area in a target three-dimensional scene corresponding to the three-dimensional courseware editing instruction as the target three-dimensional area.

[0162] In a possible design, the display module 201 is specifically used to determine the original three-dimensional area corresponding to the previous area view displayed in the courseware display area as the target three-dimensional area.

[0163] In one possible design, the current area view has been created and displayed in the courseware display area, and the three-dimensional courseware editing instruction is used to instruct the replacement of the target three-dimensional area; the above-mentioned display module 201 is specifically used to: obtain the first three-dimensional area corresponding to the three-dimensional courseware editing instruction and the first view parameter corresponding to the first three-dimensional area; create a first area view according to the first three-dimensional area and the first view parameter, and replace the current area view with the first area view; and display the replaced current area view in the courseware display area.

[0164] In one possible design, the current area view has been created and displayed in the courseware display area, and the three-dimensional courseware editing instruction is used to instruct the editing of the current area view; the above-mentioned display module 201 is specifically used to: obtain the second view parameter corresponding to the three-dimensional courseware editing instruction; create a second area view according to the target three-dimensional area and the second view parameter, and replace the current area view with the second area view; and display the replaced current area view in the courseware display area.

[0165] In one possible design, the current area view has been created and displayed in the courseware display area, and the three-dimensional courseware editing instruction is used to instruct the insertion of an object in the target three-dimensional area; the above-mentioned display module 201 is specifically used to: determine the target element corresponding to the three-dimensional courseware editing instruction, and obtain the target object corresponding to the target element; insert the target object in the target three-dimensional area to obtain a new target three-dimensional area; create a third area view according to the new target three-dimensional area and the view parameters corresponding to the new target three-dimensional area, and use the third area view to replace the current area view; display the replaced current area view in the courseware display area.

[0166] In a possible design, the target object is a three-dimensional object or a two-dimensional page.

[0167] In a possible design, the three-dimensional object is an interactive three-dimensional object; the display module 201 is specifically used to: obtain the object interaction template corresponding to the three-dimensional courseware editing instruction, and determine the target element and the target object corresponding to the target element according to the object interaction template.

[0168] In a possible design, the object interaction template includes object attributes of the target object.

[0169] In a possible design, the three-dimensional courseware editing interface further includes an object display area, and the object display area is used to display thumbnails of the three-dimensional scene and the three-dimensional area in the three-dimensional scene.

[0170] In a possible design, all the currently created regional views are arranged linearly in the courseware view index area.

[0171] In a possible design, the above-mentioned three-dimensional courseware creation device 20 also includes a courseware display module 204, which is used to respond to a courseware display instruction, obtain a three-dimensional area to be displayed corresponding to the courseware display instruction; and render and display the three-dimensional area to be displayed.

[0172] In a possible design, the courseware display module 204 is specifically used to: obtain the area display parameters corresponding to the courseware display instruction; and render and display the three-dimensional area to be displayed according to the area display parameters.

[0173] In a possible design, the above-mentioned courseware display module 204 is specifically used to: obtain the regional distance between the three-dimensional area to be displayed and the second three-dimensional area, the second three-dimensional area being the previous three-dimensional area displayed before the three-dimensional area to be displayed; when the regional distance is less than a preset distance threshold, determine the regional display parameters corresponding to the second three-dimensional area as the regional display parameters corresponding to the courseware display instruction.

[0174] In one possible design, there are interactive objects in the three-dimensional area to be displayed; the above-mentioned courseware display module 204 is also used to: respond to object interaction instructions acting on the interactive objects, render and display the interactive objects in the displayed three-dimensional area to be displayed according to the object interaction effects corresponding to the object interaction instructions.

[0175] In a possible design, there is an animated three-dimensional object with animation effects in the three-dimensional area to be displayed; the courseware display module 204 is also used to play the animation corresponding to the animated three-dimensional object in the three-dimensional area to be displayed.

[0176] It should be noted that Figure 5 For the contents not mentioned in the corresponding embodiments, please refer to the description of the aforementioned method embodiments, which will not be repeated here.

[0177] The above-mentioned device displays a three-dimensional courseware editing interface, and the courseware editing interface includes a courseware display area and a courseware view index area. The courseware display area is used to display a two-dimensional view of the three-dimensional area currently being edited in a two-dimensional state, and the courseware view index is used to display all the area views currently created. When a three-dimensional courseware editing instruction is obtained in the three-dimensional courseware editing interface, the area view corresponding to the three-dimensional area corresponding to the three-dimensional courseware editing instruction is displayed in the courseware display area, so that the user can view and edit the three-dimensional courseware in a two-dimensional view state; when a three-dimensional courseware saving instruction is obtained in the three-dimensional courseware editing interface, the three-dimensional object corresponding to each area view is obtained and saved according to the area view in the courseware view index area, and the three-dimensional courseware can be obtained. Since the three-dimensional object is directly obtained and saved, the user does not need to perform other professional operations. The user only needs to perform simple settings on the three-dimensional object in the two-dimensional view state to create the three-dimensional courseware, so that the production method of the three-dimensional courseware is similar to the production method of the two-dimensional courseware, the production method is simple, easy for users to get started, and is conducive to large-scale promotion.

[0178] See also Figure 6 , Figure 6 3 is a schematic diagram of a computer device provided in an embodiment of the present application, wherein the computer device 30 includes a processor 301, a memory 302, and a display panel 303. The memory 302 and the display panel 303 are connected to the processor 301, for example, through a bus.

[0179] The processor 301 is configured to support the computer device 30 to perform the corresponding functions in the method in the above method embodiment. The processor 301 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0180] The memory 302 is used to store program codes, etc. The memory 302 may include a volatile memory (VM), such as a random access memory (RAM); the memory 302 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 302 may also include a combination of the above-mentioned types of memories.

[0181] The display panel 303 is used to display the 3D courseware editing interface, the area view and the 3D courseware, etc.

[0182] The processor 301 may call the program code to perform the following operations:

[0183] Responding to a three-dimensional courseware editing instruction, in response to the three-dimensional courseware editing instruction, displaying a current area view corresponding to the courseware editing instruction in the courseware display area, wherein the current area view is a two-dimensional view of a target three-dimensional area corresponding to the three-dimensional courseware editing instruction;

[0184] Displaying a 3D courseware editing interface, the 3D courseware editing interface includes a courseware display area and a courseware view index area, the courseware display area is used to display a 2D view of the 3D area currently being edited in a 2D state, and the courseware view index area is used to display all currently created area views, each of which is a 2D view of the 3D area in a 2D state;

[0185] Receiving a three-dimensional courseware editing instruction acting on the three-dimensional courseware editing interface;

[0186] In response to the three-dimensional courseware editing instruction, a current area view corresponding to the courseware editing instruction is displayed in the courseware display area, wherein the current area view is a two-dimensional view of a target three-dimensional area, and the target three-dimensional area is a three-dimensional area on which the three-dimensional courseware editing instruction acts based on the three-dimensional courseware editing interface;

[0187] Receiving a three-dimensional courseware saving instruction acting on the three-dimensional courseware editing interface;

[0188] In response to the three-dimensional courseware saving instruction, the three-dimensional objects corresponding to each area view in the courseware view index area are obtained, and the three-dimensional objects are saved according to the each area view to obtain the three-dimensional courseware, wherein the three-dimensional objects include at least one three-dimensional scene and at least one three-dimensional area in the at least one three-dimensional scene.

[0189] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.

[0190] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0191] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A three-dimensional courseware creation method, characterized in that: include: Displaying a 3D courseware editing interface, the 3D courseware editing interface includes a courseware display area and a courseware view index area, the courseware display area is used to display a 2D view of the 3D area currently being edited in a 2D state, and the courseware view index area is used to display all currently created area views, each of which is a 2D view of the 3D area in a 2D state; Receiving a three-dimensional courseware editing instruction acting on the three-dimensional courseware editing interface; In response to the three-dimensional courseware editing instruction, a current area view corresponding to the courseware editing instruction is displayed in the courseware display area, wherein the current area view is a two-dimensional view of a target three-dimensional area, and the target three-dimensional area is a three-dimensional area on which the three-dimensional courseware editing instruction acts based on the three-dimensional courseware editing interface; Receiving a three-dimensional courseware saving instruction acting on the three-dimensional courseware editing interface; In response to the three-dimensional courseware saving instruction, the three-dimensional objects corresponding to each area view in the courseware view index area are obtained, and the three-dimensional objects are saved according to the each area view to obtain the three-dimensional courseware, wherein the three-dimensional objects include at least one three-dimensional scene and at least one three-dimensional area in the at least one three-dimensional scene.

2. The method according to claim 1, characterized in that The three-dimensional courseware editing instruction is used to indicate a newly added area view; The step of responding to the three-dimensional courseware editing instruction, before displaying the current area view corresponding to the courseware editing instruction in the courseware display area, further comprises: Acquire a target three-dimensional area corresponding to the three-dimensional courseware editing instruction and a target view parameter corresponding to the target three-dimensional area; The current area view is created according to the target three-dimensional area and the target view parameter.

3. The method according to claim 2, characterized in that The step of obtaining the target three-dimensional area corresponding to the three-dimensional courseware editing instruction includes: A designated three-dimensional area in the target three-dimensional scene corresponding to the three-dimensional courseware editing instruction is determined as the target three-dimensional area.

4. The method according to claim 2, characterized in that: The step of obtaining the target three-dimensional area corresponding to the three-dimensional courseware editing instruction includes: The original three-dimensional area corresponding to the last area view displayed in the courseware display area is determined as the target three-dimensional area.

5. The method according to claim 1, characterized in that The current area view has been currently created and displayed in the courseware display area, and the three-dimensional courseware editing instruction is used to instruct to replace the target three-dimensional area; The step of responding to the three-dimensional courseware editing instruction and displaying the current area view corresponding to the courseware editing instruction in the courseware display area includes: Acquire a first three-dimensional area corresponding to the three-dimensional courseware editing instruction and a first view parameter corresponding to the first three-dimensional area; Creating a first area view according to the first three-dimensional area and the first view parameter, and replacing the current area view with the first area view; The replaced current area view is displayed in the courseware display area.

6. The method according to claim 1, characterized in that The current area view has been currently created and displayed in the courseware display area, and the three-dimensional courseware editing instruction is used to instruct to edit the current area view; The step of responding to the three-dimensional courseware editing instruction and displaying the current area view corresponding to the courseware editing instruction in the courseware display area includes: Obtaining a second view parameter corresponding to the three-dimensional courseware editing instruction; Creating a second area view according to the target three-dimensional area and the second view parameter, and replacing the current area view with the second area view; The replaced current area view is displayed in the courseware display area.

7. The method according to claim 1, characterized in that The current area view is currently created and displayed in the courseware display area, and the three-dimensional courseware editing instruction is used to instruct to insert an object in the target three-dimensional area; The step of responding to the three-dimensional courseware editing instruction and displaying the current area view corresponding to the courseware editing instruction in the courseware display area includes: Determine the target element corresponding to the three-dimensional courseware editing instruction, and obtain the target object corresponding to the target element; Inserting the target object into the target three-dimensional region to obtain a new target three-dimensional region; Creating a third area view according to the new target three-dimensional area and a view parameter corresponding to the new target three-dimensional area, and replacing the current area view with the third area view; The replaced current area view is displayed in the courseware display area.

8. The method according to claim 7, characterized in that The target object is one of a three-dimensional object and a two-dimensional page.

9. The method according to claim 8, characterized in that The three-dimensional object is an interactive three-dimensional object; The step of determining the target element corresponding to the three-dimensional courseware editing instruction and acquiring the target object corresponding to the target element includes: An object interaction template corresponding to the three-dimensional courseware editing instruction is obtained, and the target element and the target object corresponding to the target element are determined according to the object interaction template.

10. The method according to claim 9, characterized in that The object interaction template includes object attributes of the target object.

11. The method according to any one of claims 1 to 10, characterized in that: The three-dimensional courseware editing interface also includes an object display area, and the object display area is used to display thumbnails of three-dimensional scenes and three-dimensional areas in the three-dimensional scenes.

12. The method according to any one of claims 1 to 10, characterized in that: All the currently created regional views are arranged linearly in the courseware view index area.

13. The method according to any one of claims 1 to 10, characterized in that: After the three-dimensional object is saved according to each area view to obtain the three-dimensional courseware, the method further includes: In response to a courseware display instruction, obtaining a three-dimensional area to be displayed corresponding to the courseware display instruction; Render and display the three-dimensional area to be displayed.

14. The method according to claim 13, characterized in that The rendering and displaying of the to-be-displayed three-dimensional area includes: Obtaining the area display parameters corresponding to the courseware display instruction; The three-dimensional area to be displayed is rendered and displayed according to the area display parameters.

15. The method according to claim 14, characterized in that The obtaining of the area display parameter corresponding to the courseware display instruction includes: Acquire a region distance between the to-be-displayed three-dimensional region and a second three-dimensional region, where the second three-dimensional region is a previous three-dimensional region displayed before the to-be-displayed three-dimensional region; When the area distance is less than a preset distance threshold, the area display parameter corresponding to the second three-dimensional area is determined as the area display parameter corresponding to the courseware display instruction.

16. The method according to claim 13, characterized in that There are interactive objects in the three-dimensional area to be displayed; After rendering and displaying the three-dimensional area to be displayed, the method further includes: In response to an object interaction instruction acting on the interactive object, the interactive object is rendered and displayed in the displayed three-dimensional area to be displayed according to the object interaction effect corresponding to the object interaction instruction.

17. The method according to claim 13, characterized in that There is an animated three-dimensional object with animation effect in the three-dimensional area to be displayed; After rendering and displaying the three-dimensional area to be displayed, the method further includes: The animation corresponding to the animated three-dimensional object is played in the three-dimensional area to be displayed.

18. A three-dimensional courseware creation device, characterized in that: include: A display module, for displaying a 3D courseware editing interface, wherein the 3D courseware editing interface includes a courseware display area and a courseware view index area, wherein the courseware display area is used to display a 2D view of a 3D region currently being edited in a 2D state, and the courseware view index area is used to display all currently created region views, each of which is a 2D view of a 3D region in a 2D state; An instruction receiving module, used for receiving a 3D courseware editing instruction acting on the 3D courseware editing interface; The display module is further used to respond to the three-dimensional courseware editing instruction and display a current area view corresponding to the three-dimensional courseware editing instruction in the courseware display area, wherein the current area view is a two-dimensional view of a target three-dimensional area, and the target three-dimensional area is a three-dimensional area on which the three-dimensional courseware editing instruction acts based on the three-dimensional courseware editing interface; The instruction receiving module is further used to receive a 3D courseware saving instruction acting on the 3D courseware editing interface; The courseware creation module is used to respond to the three-dimensional courseware saving instruction, obtain the three-dimensional objects corresponding to each area view in the courseware view index area, save the three-dimensional objects according to the each area view, and obtain the three-dimensional courseware, wherein the three-dimensional objects include at least one three-dimensional scene and at least one three-dimensional area in the at least one three-dimensional scene.

19. A computer device, characterized in that: The method comprises a memory, a processor and a display panel, wherein the memory and the display panel are connected to the processor, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the computer device implements the method according to any one of claims 1 to 17.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 17.