CN113891140A - Material editing method, device, equipment and storage medium - Google Patents
Material editing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113891140A CN113891140A CN202111165578.9A CN202111165578A CN113891140A CN 113891140 A CN113891140 A CN 113891140A CN 202111165578 A CN202111165578 A CN 202111165578A CN 113891140 A CN113891140 A CN 113891140A
- Authority
- CN
- China
- Prior art keywords
- configuration
- data
- target
- area
- target material
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 239000000463 material Substances 0.000 title claims abstract description 616
- 238000000034 method Methods 0.000 title claims abstract description 102
- 239000013077 target material Substances 0.000 claims abstract description 222
- 230000003190 augmentative effect Effects 0.000 claims abstract description 57
- 230000000694 effects Effects 0.000 claims abstract description 36
- 238000009877 rendering Methods 0.000 claims abstract description 18
- 238000012795 verification Methods 0.000 claims description 30
- 230000015654 memory Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012216 screening Methods 0.000 claims description 4
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 22
- 238000001514 detection method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 230000004044 response Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000012217 deletion Methods 0.000 description 6
- 230000037430 deletion Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 5
- 230000002452 interceptive effect Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 239000003550 marker Substances 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 239000004576 sand Substances 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the disclosure discloses a method, a device, equipment and a storage medium for editing materials, wherein the method comprises the following steps: responding to the material configuration request, and displaying a material configuration interface of the target material; receiving material configuration operation through the material configuration interface, and acquiring the target material and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture; generating a configuration file comprising the target material and corresponding material configuration data and sending the configuration file to a client; and the client is used for combining the target material with the acquired target real object based on the configuration file to obtain an augmented reality picture. The method and the device can realize personalized customization of the augmented reality picture, are beneficial to increasing the diversity of the augmented reality picture, and further can better meet the experience requirements of users under the scene of augmented reality effect.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of augmented reality, and in particular relates to a material editing method, device, equipment and storage medium.
Background
Augmented Reality (AR) technology is a technology for fusing virtual information and real world information, and the technology realizes loading and interacting of a virtual object in the real world in a way of rendering the virtual object in a real-time image, so that a real environment and the virtual object are displayed on the same interface in real time. The rendered material that can be supported in the augmented reality effect of the related art is generally single, and cannot well meet the diversion requirement and the experience requirement of the user.
Disclosure of Invention
The embodiment of the disclosure provides a material editing method, a device, equipment and a storage medium.
In a first aspect, a method for editing material is provided, including: responding to the material configuration request, and displaying a material configuration interface of the target material; receiving material configuration operation through the material configuration interface, and acquiring the target material and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture; generating a configuration file comprising the target material and corresponding material configuration data and sending the configuration file to a client; and the client is used for combining the target material with the acquired target real object based on the configuration file to obtain an augmented reality picture.
In some embodiments, the material configuration interface includes a first configuration area for displaying the target material and corresponding material configuration data; the material configuration data includes at least one of: position configuration data for determining a relative position of the virtual object with respect to the target real object; angular configuration data for determining a relative angle of the virtual object with respect to the target real object; scaling configuration data for determining a relative scale of the virtual object with respect to the target real object, the virtual object being an object rendered from the target material; the receiving of the material configuration operation through the material configuration interface to obtain the target material and the corresponding material configuration data includes: and receiving configuration operation aiming at the first configuration area, and updating material configuration data of the target material.
In some embodiments, the first configuration area includes a file configuration area for acquiring the target material; the receiving the configuration operation aiming at the first configuration area, and updating the target material comprises: receiving a file uploading operation aiming at a file uploading control in the file configuration area; and analyzing the file uploading operation to obtain the updated target material.
In the embodiment of the present disclosure, the material configuration interface includes a first configuration area for displaying the target material and the corresponding material configuration data, and meanwhile, the first configuration area includes not only a file configuration area for acquiring the corresponding target material, but also a data configuration area for displaying the material configuration data of the target material. Therefore, the user can upload appropriate materials according to actual requirements, and meanwhile, targeted material configuration data can be set for the target materials, so that the diversity of material rendering effects can be further increased, and the experience requirements of the user in an augmented reality effect scene can be better met.
In some embodiments, the first configuration area further comprises a data configuration area for presenting material configuration data of the target material; the receiving the configuration operation aiming at the first configuration area, and updating material configuration data of the target material, further comprising: responding to the updated target material, and displaying the data configuration area; receiving a data input operation through the data configuration area; and analyzing the data input operation to obtain updated configuration data.
Through the embodiment disclosed above, when the first configuration area includes the file uploading control and the data configuration area, the file uploading control can be displayed first, and when the target material is uploaded successfully, the data configuration area is displayed, so that the targeted display in the material configuration process can be realized, and the influence on the configuration efficiency of a user caused by the simultaneous display of a large amount of information to be configured is avoided.
In some embodiments, the material configuration interface includes a second configuration area for displaying material display data of the target material; the material presentation data comprises at least one of: the material identification data is used for acquiring established materials corresponding to the material identification in a material library; material name data for determining material characteristics of the established material; material type data, wherein the material type data is used for determining the type of the established material; the receiving of the material configuration operation through the material configuration interface to obtain the target material and the corresponding material configuration data includes: and receiving configuration operation aiming at the second configuration area, and acquiring material display data of the target material.
Through the disclosed embodiment, the material configuration interface comprises a second configuration area for displaying material display data of the target material. Therefore, the user can set material display data needing to be displayed on the material management interface aiming at the target material, so that the user can conveniently and quickly find the target material needing to be configured in the multiple materials, and the material configuration efficiency is improved while the user experience is improved.
In some embodiments, the material configuration interface further comprises a save control; the method further comprises the following steps: and responding to a trigger event aiming at the storage control, performing format verification on the acquired material configuration data and/or material display data based on a preset verification rule, and storing the acquired material configuration data and/or material display data in a material library as the material configuration data and/or material display data of the target material under the condition that the format verification is successful.
According to the embodiment, format verification is carried out on the material configuration data based on the preset verification rule to obtain the verification result, and the obtained material configuration data is stored in the material library as the material configuration data of the target material under the condition that the verification result represents the successful verification. Thus, format errors occurring in the material management process can be reduced, and the accuracy of material management can be improved.
In some embodiments, the material configuration interface further comprises at least two material type controls, the method further comprising: and responding to the triggering operation of a target material type control in the at least two material type controls, and displaying a first configuration area and/or a second configuration area corresponding to the target material type control.
In some embodiments, the method further comprises: responding to the material display request, and displaying a material management interface comprising a material display area; the material display area is used for displaying a material management control of each material in at least one material; and responding to a trigger event of a material management control aiming at a target material in the at least one material, and skipping to a material configuration interface corresponding to the target material.
In some embodiments, the story management interface further includes a story query area; the method further comprises the following steps: receiving query operation through the material query area; analyzing the query operation to obtain a query condition, and screening established materials in a material library based on the query condition to obtain materials to be displayed; and displaying the material management control and the material display data of the material to be displayed in the material display area.
In some embodiments, the material management interface further comprises a material add-on control for new material; the method further comprises the following steps: and responding to a trigger event aiming at the material newly-added control, and skipping to a material configuration interface corresponding to the new material.
In some embodiments, the material display area is further for displaying a material deletion control for each of the materials; and the material deleting control is used for deleting the material in the material library.
Through the above disclosed embodiment, the user can perform editing triggering operation on the created material at the material management interface of the augmented reality effect to display the editing interface of the target material. Therefore, the user can conveniently edit the created materials, so that the flexibility of material editing can be further improved, and the experience requirements of the user in the scene of the augmented reality effect can be better met.
In a second aspect, a display method is provided, which is applied to a client, and the method includes: acquiring a configuration file comprising target materials and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture; and combining the target material with the acquired target real object based on the configuration file to obtain and display the augmented reality picture.
Through the embodiment, a user can obtain diversified configuration files through the client, and in the process of acquiring the target real object in the real scene, the user can combine the target material with the acquired target real object based on the target material in the configuration files and the corresponding material configuration data based on the diversified configuration files to obtain and display the augmented reality picture, so that the experience requirements of the user in the scene with the augmented reality effect are met.
In a third aspect, there is provided a material editing apparatus comprising: the display module is used for responding to the material configuration request and displaying a material configuration interface of the target material; the acquisition module is used for receiving material configuration operation through the material configuration interface and acquiring the target material and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture; the generating module is used for generating a configuration file comprising the target material and corresponding material configuration data and sending the configuration file to a client; and the client is used for combining the target material with the acquired target real object based on the configuration file to obtain an augmented reality picture.
In a fourth aspect, there is provided a material editing apparatus comprising: a memory storing a computer program operable on the processor and a processor implementing the steps of the method when executing the computer program.
In a fifth aspect, a computer storage medium is provided that stores one or more programs executable by one or more processors to implement the steps in the above-described method.
In the embodiment of the present disclosure, a material configuration interface is displayed, a material configuration operation is received through the material configuration interface, the target material and the corresponding material configuration data are obtained, and then a configuration file including the target material and the corresponding material configuration data is generated and sent to a client, so that the client obtains and displays an augmented reality picture based on the target material and the corresponding material configuration data. Therefore, the user can configure the target materials and the corresponding material configuration data in the visual material configuration interface according to actual requirements, so that personalized customization of the augmented reality picture can be realized, the diversity of the augmented reality picture can be increased, and the experience requirements of the user in the scene of the augmented reality effect can be better met.
Drawings
Fig. 1 is a schematic structural diagram of a material management system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a material editing method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a material editing method according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a material editing method according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a material editing method according to an embodiment of the present disclosure;
fig. 6 is a schematic flow chart of a display method according to an embodiment of the disclosure;
fig. 7 is an interface schematic diagram of a material management interface according to an embodiment of the present disclosure;
fig. 8A is an interface schematic diagram of a material configuration interface provided in an embodiment of the present disclosure;
fig. 8B is an interface schematic diagram of a material configuration interface provided in another embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a composition of a material editing apparatus according to an embodiment of the present disclosure;
fig. 10 is a hardware entity diagram of a material editing apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solution of the present disclosure will be specifically described below by way of examples with reference to the accompanying drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
It should be noted that: in the examples of the present disclosure, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a sequential or chronological order of the objects. In addition, the technical solutions described in the embodiments of the present disclosure can be arbitrarily combined without conflict.
Before further detailed description of the embodiments of the present disclosure, terms and expressions referred to in the embodiments of the present disclosure are explained, and the terms and expressions referred to in the embodiments of the present disclosure are applied to the following explanations.
1) A Mini Program (also called a Web Program) is a Program developed based on a front-end-oriented Language (e.g., JavaScript) and implementing a service in a hypertext Markup Language (HTML) page, and software downloaded by a client (e.g., a browser or any client embedded in a browser core) via a network (e.g., the internet) and interpreted and executed in a browser environment of the client saves steps installed in the client. For example, an applet for implementing a singing service may be downloaded and run in a social network client.
2) Augmented Reality (AR), which is a relatively new technology content that promotes integration between real world information and virtual world information content, implements analog simulation processing on the basis of computer and other scientific technologies of entity information that is relatively difficult to experience in the spatial range of the real world originally, superimposes the virtual information content in the real world for effective application, and can be perceived by human senses in the process, thereby realizing sensory experience beyond Reality. After the real environment and the virtual object are overlapped, the real environment and the virtual object can exist in the same picture and space at the same time.
3) Hypertext Transfer Protocol (HTTP): HTTP is a standard for requests and responses from a client and a server, belongs to the Transmission Control Protocol (TCP) Protocol family, and is the most widely used network Protocol on the internet. Because the HTTP protocol is simple to realize, the program scale of the HTTP server is small, and the communication speed is high. When a client requests a service from a server, only the request method and path need to be transmitted. Moreover, HTTP allows the transfer of any type of data object.
4) Interface: an interface is a standard and abstraction that provides concrete capabilities, and is a predefined function that includes interface addresses, incoming parameters, and return parameters and data. It can be simply understood that when some data needs to be accessed, a return parameter within the data range is received by passing a qualified parameter to the interface under normal conditions. In an application or web service, the interaction between the front end and the back end is basically realized through a program interface. The process of data interaction can be simply understood as that the front end wants to obtain some data, the incoming parameters are transmitted to the back end server through the interface address of the back end server, the back end server determines the data to be obtained by the front end according to the incoming parameters, and returns the data to the front end after obtaining the data (for example, obtaining the data by querying a database, etc.), and the front end performs corresponding page display based on the returned data.
5) JS Object Notation (JSON) is a lightweight data exchange format that stores and represents data in a text format that is completely independent of the programming language. JSON has a simple and clear hierarchical structure, is easy to read and write, is easy to analyze and generate by a machine, and can effectively improve the network transmission efficiency. The format of the transmitted data when the front end and the back end interact is usually JSON format.
The embodiment of the disclosure provides a material editing method, which can realize personalized customization of materials with augmented reality effect, is beneficial to increase of diversity of the materials, and can further better meet the experience requirements of users in the scene with augmented reality effect. The material editing method provided by the embodiments of the present disclosure may be executed by an electronic device, where the electronic device may be any suitable device with data processing capability, such as a server, a notebook computer, a tablet computer, a desktop computer, a smart television, a set-top box, a mobile device (e.g., a mobile phone, a portable video player, a personal digital assistant, a dedicated messaging device, a portable game device), and the like.
The disclosure relates to the field of augmented reality, and aims to detect or identify relevant features, states and attributes of a target object by means of various visual correlation algorithms by acquiring image information of the target object in a real environment, so as to obtain an AR effect combining virtual and reality matched with specific applications. For example, the target object may relate to a face, a limb, a gesture, an action, etc. associated with a human body, or a marker, a marker associated with an object, or a sand table, a display area, a display item, etc. associated with a venue or a place. The vision-related algorithms may involve visual localization, SLAM, three-dimensional reconstruction, image registration, background segmentation, key point extraction and tracking of objects, pose or depth detection of objects, and the like. The specific application can not only relate to interactive scenes such as navigation, explanation, reconstruction, virtual effect superposition display and the like related to real scenes or articles, but also relate to special effect treatment related to people, such as interactive scenes such as makeup beautification, limb beautification, special effect display, virtual model display and the like. The detection or identification processing of the relevant characteristics, states and attributes of the target object can be realized through the convolutional neural network. The convolutional neural network is a network model obtained by performing model training based on a deep learning framework.
Fig. 1 is a schematic flowchart of a material editing method provided in an embodiment of the present disclosure, as shown in fig. 1, the method includes:
and S101, responding to the material configuration request, and displaying a material configuration interface of the target material.
In some embodiments, the target material is for material rendered on the real scene image during display of the augmented reality picture. The material may be model data such as a three-dimensional model and a two-dimensional model which are constructed in advance, and may also be multimedia data such as video data and picture data. In the process of displaying the real scene image/video, the rendered target material is combined to the real scene image/video to realize the enhanced display effect.
In some embodiments, the material configuration interface is a page on which a user edits a target material according to an actual situation, where the target material may be a newly created material or an already created material, and is not limited herein.
In some embodiments, the material configuration interface is an interactive interface for performing configuration operations and information display on the target material. The configuration interface may include at least one region where configuration operations can be performed, and the region where configuration operations can be performed may include, but is not limited to, one or more of a region where target materials are configured, a region where material configuration data of the target materials are configured, a region where material display information such as names and description information of the target materials is configured, and the like. In implementation, at least one region in the configuration interface that can perform configuration operation and a specific layout of each region in the configuration interface may be determined according to actual situations, which is not limited herein.
In some embodiments, the material configuration interface may be displayed on any suitable electronic device with interface interaction functionality, such as a laptop, a cell phone, a tablet, a palmtop, a personal digital assistant, a digital television, a desktop computer, or the like. In practice, the electronic device displaying the configuration interface may be the same as or different from the computer device executing the material configuration method, and is not limited herein. For example, the computer device executing the material editing method may be a notebook computer, the electronic device displaying the material configuration interface may also be the notebook computer, and the material configuration interface may be an interactive interface of a client running on the notebook computer, or a web page displayed in a browser running on the notebook computer. For another example, the computer device executing the material editing method may be a server, the electronic device displaying the material configuration interface may also be a notebook computer, the material configuration interface may be an interactive interface of a client running on the notebook computer, or a web page displayed in a browser running on the notebook computer, and the notebook computer may access the server through the client or the browser.
S102, receiving material configuration operation through the material configuration interface, and acquiring the target material and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture.
In some embodiments, the target material may be a pre-constructed three-dimensional model, a two-dimensional model, or other model data, and may also be multimedia data such as video data, picture data, or other multimedia data. In the process of displaying the real scene image/video, the rendered target material is combined with the real scene image/video corresponding to the target real object, so that the enhanced display effect can be realized.
In some embodiments, the material configuration data includes any configuration data for determining the rendering effect, etc., of the target material in the augmented reality screen, and may include, but is not limited to, one or more of position configuration data, angle configuration data, zoom configuration data, and the like. Position configuration data for determining a relative position of the virtual object with respect to the target real object; angular configuration data for determining a relative angle of the virtual object with respect to the target real object; scaling configuration data for determining a relative scale of the virtual object with respect to the target real object.
In implementation, the material configuration data configured by the user in the material configuration interface may be obtained in any suitable manner, which is not limited in this disclosure. In some embodiments, a front end (e.g., a material editing client or a browser) displaying the material configuration interface may transmit the material configuration data edited by the user to a back-end service running on the material editing apparatus through a data acquisition interface of the back-end service, and the material editing apparatus may acquire the material configuration data configured by the material configuration interface through the back-end service. The format of the data interaction between the front-end and the back-end service may include, but is not limited to, one or more of JSON format, eXtensible Markup Language (XML) format, and the like.
S103, generating a configuration file comprising the target material and corresponding material configuration data and sending the configuration file to a client; and the client is used for combining the target material with the acquired target real object based on the configuration file to obtain an augmented reality picture.
In some embodiments, after the configuration process for the target material is completed, the target material and corresponding material configuration data may be packaged to generate a configuration file corresponding to the target material. And then, sending the configuration file to a client side needing to display the augmented reality picture, wherein after the client side obtains the configuration file comprising the target material and the corresponding material configuration data, the client side can combine the target material with the acquired target real object based on the configuration file to obtain and display the augmented reality picture.
In the embodiment of the present disclosure, a material configuration interface is displayed, a material configuration operation is received through the material configuration interface, the target material and the corresponding material configuration data are obtained, and then a configuration file including the target material and the corresponding material configuration data is generated and sent to a client, so that the client obtains and displays an augmented reality picture based on the target material and the corresponding material configuration data. Therefore, the user can configure the target materials and the corresponding material configuration data in the visual material configuration interface according to actual requirements, so that personalized customization of the augmented reality picture can be realized, the diversity of the augmented reality picture can be increased, and the experience requirements of the user in the scene of the augmented reality effect can be better met.
Referring to fig. 2, fig. 2 is an optional flowchart of a material editing method provided by the embodiment of the present disclosure, based on fig. 1, S101 in fig. 1 may be updated to S201, and S102 may be updated to S202, which will be described with reference to the steps shown in fig. 2.
S201, responding to a material configuration request, and displaying a material configuration interface of a target material; the material configuration interface comprises a first configuration area used for displaying the target material and corresponding material configuration data.
In some embodiments, the material configuration interface may include a first configuration area for displaying material configuration data for the target material. And displaying default material configuration data in a first configuration area in the material configuration interface or displaying default material configuration data under the condition that the target material is not configured or the material configuration interface is entered in the process of newly building the material.
S202, receiving configuration operation aiming at the first configuration area, and updating the target material and corresponding material configuration data.
In some embodiments, the configuration operation may include at least one of: an input operation for an input field in the first configuration area, a selection operation for a configuration control in the first configuration area, an upload operation for an upload control in the first configuration area, and the like.
Wherein the material configuration data comprises at least one of: position configuration data for determining a relative position of the virtual object with respect to the target real object; angular configuration data for determining a relative angle of the virtual object with respect to the target real object; scaling configuration data for determining a relative scale of the virtual object with respect to the target real object.
In some embodiments, the first configuration area includes a file configuration area for acquiring the corresponding target material, and the receiving of the configuration operation for the first configuration area may be implemented through S2021 to S2022, so as to update the target material and the corresponding material configuration data.
S2021, receiving a file uploading operation aiming at the file uploading control in the file configuration area.
And S2022, analyzing the file uploading operation to obtain the updated target material.
In some embodiments, when the current material configuration interface does not have corresponding target materials, the material configuration interface displays the file upload control, and the target materials uploaded by the user can be received through the file upload control. The uploading process of the target material may include: receiving a trigger operation aiming at the file uploading control and entering a file sub-interface; and receiving the storage information of the target material through the file sub-interface, and acquiring the target material based on the storage information. The storage information may be a storage address of the target material, a material identification, and the like.
In some embodiments, in the case that the target materials of the historical settings exist in the current material configuration interface, the material configuration interface may display not only the file upload control, but also a thumbnail of the target materials of the historical settings, where the thumbnail is used to prompt the user that the current material configuration interface has the corresponding target materials before. Further, the embodiment may also receive a file upload operation for the upload control to complete the update process of the target material.
In some embodiments, the method further comprises: receiving a file deleting operation aiming at a file deleting control in the file configuration area; and analyzing the file deleting operation, and deleting the target material historically set by the material configuration interface.
In some embodiments, the first configuration area further includes a data configuration area for displaying material configuration data of the target material, and the above-mentioned receiving of the configuration operation for the first configuration area may be implemented through S2023 to S2025, and the material configuration data of the target material is updated.
S2023, responding to the updated target material, and displaying the data configuration area.
S2024, receiving data input operation through the data configuration area.
S2025, analyzing the data input operation to obtain updated configuration data.
In some embodiments, the first configuration area includes the data configuration area, and at this time, the current material configuration interface may correspond to a preset target material, and does not allow a user to modify the preset target material, but only allows the user to modify configuration data corresponding to the target material.
In some embodiments, the first configuration area includes not only the file upload control, but also the data configuration area. In this embodiment, when the current material configuration interface has corresponding target materials, the data configuration area and the file upload control can be displayed simultaneously; and under the condition that the corresponding target material does not exist in the current material configuration interface, only the file uploading control can be displayed, and the data configuration area is displayed after the target material is obtained through the file uploading control. Through the embodiment disclosed above, when the first configuration area includes the file uploading control and the data configuration area, the file uploading control can be displayed first, and when the target material is uploaded successfully, the data configuration area is displayed, so that the targeted display in the material configuration process can be realized, and the influence on the configuration efficiency of a user caused by the simultaneous display of a large amount of information to be configured is avoided.
In the embodiment of the present disclosure, the material configuration interface includes a first configuration area for displaying the target material and the corresponding material configuration data, and meanwhile, the first configuration area includes not only a file configuration area for acquiring the corresponding target material, but also a data configuration area for displaying the material configuration data of the target material. Therefore, the user can upload appropriate materials according to actual requirements, and meanwhile, targeted material configuration data can be set for the target materials, so that the diversity of material rendering effects can be further increased, and the experience requirements of the user in an augmented reality effect scene can be better met.
Referring to fig. 3, fig. 3 is an optional schematic flow chart of the material editing method provided by the embodiment of the present disclosure, and based on any of the above embodiments, taking fig. 1 as an example, S101 in fig. 1 may be updated to S301, and S102 may be updated to S302, which will be described with reference to the steps shown in fig. 3.
S301, responding to a material configuration request, and displaying a material configuration interface of a target material; the material configuration interface includes a second configuration area for displaying material display data of the target material.
In some embodiments, the material configuration interface may include a second configuration area for displaying material presentation data for the target material. And displaying default material display data in a first configuration area in the material configuration interface or displaying the default material display data under the condition that the target material is not configured or the material configuration interface is entered in the process of newly building the material.
S302, receiving configuration operation aiming at the second configuration area, and acquiring material display data of the target material.
In some embodiments, the configuration operation may include at least one of: an input operation for an input field in the second arrangement region, a selection operation for an arrangement control in the second arrangement region, and the like.
Wherein the material presentation data comprises at least one of: the material identification data is used for acquiring established materials corresponding to the material identification in a material library; material name data, the material name being used to determine material characteristics of the established material; material type data, the material type being used to determine the type of the established material.
Through the disclosed embodiment, the material configuration interface comprises a second configuration area for displaying material display data of the target material. Therefore, the user can set material display data needing to be displayed on the material management interface aiming at the target material, so that the user can conveniently and quickly find the target material needing to be configured in the multiple materials, and the material configuration efficiency is improved while the user experience is improved.
Referring to fig. 4, fig. 4 is an optional schematic flow chart of the material editing method provided by the embodiment of the present disclosure, based on any of the above embodiments, taking fig. 1 as an example, S101 in fig. 1 may be updated to S401, S402 may be further included before S102, and S403 may be further included before S103, which will be described with reference to the steps shown in fig. 4.
S401, responding to a material configuration request, and displaying a material configuration interface of a target material, wherein the material configuration interface further comprises at least two material type controls.
In some embodiments, the material may include material of different material types, where the material types may include video type, model type, image type, audio type, and the like. The materials of different material types can correspond to different material configuration data and different material display data, so that the material type control corresponding to each of the at least two material types can be displayed in the material configuration interface. The material type control is used for determining the material type of the target material corresponding to the current material configuration interface.
And under the condition that the material configuration interface has corresponding target materials, one target material type control in the at least two material type controls is in a labeling state, and the target material type control is used for indicating that the material type of the target material is the material type corresponding to the target material type control.
And under the condition that the material configuration interface is a material configuration interface entered in the process of newly building the material, the states of all the material type controls in the at least two material type controls are the same and are both in a non-labeled state.
S402, responding to the trigger operation of a target material type control in the at least two material type controls, and displaying a first configuration area and/or a second configuration area corresponding to the target material type control.
In some embodiments, a user trigger operation for a target material type control of the at least two material type controls may be received, and a material type corresponding to the target material type control may be used as the material type of the target material. Based on the above description of the embodiments, it can be known that, for different material types, the corresponding material configuration data and the material display data may be different, and therefore, after the target material type control is triggered, the first configuration area and/or the second configuration area corresponding to the target material type control may be displayed.
And S403, responding to the trigger event aiming at the storage control, performing format verification on the acquired material configuration data and/or material display data based on a preset verification rule, and storing the acquired material configuration data and/or material display data in a material library as the material configuration data and/or material display data of the target material under the condition that the format verification is successful.
In some embodiments, a suitable check rule may be set in advance according to the target format of the material configuration data, and format check may be performed on the edited material configuration data based on the check rule, so as to obtain a check result. For example, in the case where the material of the video type is included in the material configuration data, the target format, the target size, the target resolution, and the like of the material of the video type may be included in the verification rule.
In some embodiments, a proper verification rule may be set in advance according to the target format of the material display data, and format verification may be performed on the edited material display data based on the verification rule, so as to obtain a verification result. The checking rules may include a text length of the displayed text, a text blacklist or a text character type, etc.
According to the embodiment, format verification is carried out on the material configuration data based on the preset verification rule to obtain the verification result, and under the condition that the verification result represents that verification is successful, the obtained material configuration data is stored in the material library as the material configuration data/or the material display data of the target material. Thus, format errors occurring in the material management process can be reduced, and the accuracy of material management can be improved.
Referring to fig. 5, fig. 5 is an optional schematic flow chart of the material editing method provided in the embodiment of the present disclosure, and based on any of the above embodiments, taking fig. 1 as an example, the method may further include steps S501 to S505, which will be described with reference to the steps shown in fig. 5.
S501, responding to a material display request, and displaying a material management interface comprising a material display area; the material display area is used for displaying a material management control of each material in at least one material.
S502, responding to a trigger event of a material management control aiming at a target material in the at least one material, and skipping to a material configuration interface corresponding to the target material.
In some embodiments, to improve the pertinence of material presentation, we propose
The effectiveness of the material management interface for displaying the material is improved, and the embodiment of the disclosure further comprises a material query scheme.
S503, receiving query operation through the material query area;
s504, analyzing the query operation to obtain a query condition, and screening established materials in a material library based on the query condition to obtain materials to be displayed;
and S505, displaying the material management control and the material display data of the material to be displayed in the material display area.
In some embodiments, the material management interface further comprises a material add-on control for new material; the method further comprises the following steps: and responding to a trigger event aiming at the material newly-added control, and skipping to a material configuration interface corresponding to the new material.
In some embodiments, the material display area is further for displaying a material deletion control for each of the materials; and the material deleting control is used for deleting the material in the material library.
Through the above disclosed embodiment, the user can perform editing triggering operation on the created material at the material management interface of the augmented reality effect to display the editing interface of the target material. Therefore, the user can conveniently edit the created materials, so that the flexibility of material editing can be further improved, and the experience requirements of the user in the scene of the augmented reality effect can be better met.
Referring to fig. 6, fig. 6 is an alternative flow chart of a display method provided by the embodiment of the present disclosure, which will be described with reference to the steps shown in fig. 6.
S601, acquiring a configuration file comprising target materials and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture.
In some embodiments, the display method may be applied to any electronic device having a display screen, such as a laptop computer, a mobile phone, a tablet computer, a palm computer, a personal digital assistant, a digital television, or a desktop computer. For convenience of description, an electronic device implementing the display method will be referred to as a client.
In the above embodiment, after the material editing apparatus generates the configuration file including the target material and the corresponding material configuration data, the configuration file is sent to the client, and the client can store the configuration file locally and call the configuration file including the target material and the corresponding material configuration data when the augmented reality picture needs to be displayed.
S602, combining the target material with the acquired target real object based on the configuration file to obtain and display the augmented reality picture.
In some embodiments, the client acquires a configuration file corresponding to a target real object in a real scene in a process of acquiring the target real object, acquires target material and material configuration data corresponding to the target real object based on the configuration file, renders the target material based on the material configuration data, and combines the rendered target material with the acquired target real object to enhance a real picture. And displaying the augmented reality picture through display equipment arranged in the client.
In some embodiments, in the process of rendering the target material based on the configuration data of the configuration file, a corresponding virtual object may be obtained based on rendering the target material in the configuration file, and when the configuration file includes the position configuration data, the relative position of the virtual object with respect to the target real object in the real environment may be determined based on the position configuration data; where the profile includes angular configuration data, a relative angle of the virtual object with respect to the target real object may be determined based on the angular configuration data; where the configuration file includes scaling configuration data, the relative dimensions of the virtual object with respect to the target real object may be determined based on the scaling configuration data. Therefore, the enhanced display effect that the virtual object is attached to the target real object can be achieved, the relative size, the relative position and the relative angle of the virtual object and the target real object can be determined, and the reality of the virtual object in the augmented reality scene is improved.
Through the embodiment, a user can obtain diversified configuration files through the client, and in the process of acquiring the target real object in the real scene, the user can combine the target material with the acquired target real object based on the target material in the configuration files and the corresponding material configuration data based on the diversified configuration files to obtain and display the augmented reality picture, so that the experience requirements of the user in the scene with the augmented reality effect are met.
Next, an exemplary application of the embodiment of the present application in a practical application scenario will be described. The following describes an example of the arrangement of target materials in the AR item.
When an AR project is created, some background configuration may be performed on the front-end presentation of the AR project, including creating a repository. The user may select target material from the material library as material to be rendered for AR presentation content in the AR project. During presentation of the AR presentation content, the rendered target material may be displayed at an AR presentation interface.
The embodiment of the disclosure provides a material editing method, which can uniformly manage material configuration data of a material, can directly generate the material and the material configuration data in a material library, can display the material configuration data of the created material and the like, and is convenient for front-end calling. In some embodiments, the materials in the material library can be managed through a material management interface, and the target materials can be configured through a material configuration interface.
Fig. 7 is a schematic diagram of a material management interface provided by the embodiment of the present disclosure, and as shown in fig. 7, the material management interface a10 includes a material display area a 11. The material display area a11 is used for displaying the material management control a111 of each material in at least one material. Taking the above fig. 7 as an example, 4 materials are displayed in the material display area a11, and for each material, the material display area a11 displays the material management control a111 corresponding to the material, such as an "edit" option.
In some embodiments, after the user clicks the material management control a111, the user jumps to the material configuration interface corresponding to the material, and receives configuration data of the user for the material through the material configuration interface. In the material display area a11, material display data corresponding to each material, such as a112 in fig. 7, is also displayed. In a further embodiment, material display area a11 is also used to display a material deletion control for each of the materials; the material deletion control is used for deleting the material in the material library.
In some embodiments, the material management interface a10 further includes a material query area a12, which can receive a query operation input by a user, analyze the query operation, obtain a query condition, and filter established materials in a material library based on the query condition to obtain materials to be displayed; and displaying the material management control and the material display data of the material to be displayed in the material display area A11.
In some embodiments, the material management interface a10 further includes a material adding control a13, which can receive a user trigger event for the material adding control, and jump to a material configuration interface corresponding to the new material in response to the trigger event for the material adding control.
Fig. 8A is a schematic diagram of a material configuration interface provided by an embodiment of the disclosure, and as shown in fig. 8A, the material management interface B10 includes a first configuration area B11 for displaying the target material and corresponding material configuration data.
In fig. 8A, the material arrangement data presented in the first arrangement area B11 may include at least one of: position configuration data for determining a relative position of the virtual object with respect to the target real object, such as an XYZ coordinate input box corresponding to a "position" shown in the figure; angle configuration data for determining a relative angle of the virtual object with respect to the target real object, such as an XYZ coordinate input box corresponding to "angle" shown in the figure; scaling configuration data for determining the relative dimensions of the virtual object with respect to the target real object, as illustrated in the figure by the scaling "1: 1 ". Wherein, the user can input the above-mentioned position configuration data, angle configuration data and zoom configuration data in the first configuration area B11 to complete the update/acquisition of the material configuration data of the target material.
In some embodiments, the first configuration area B11 may include a file configuration area B111 for obtaining the corresponding target material. And receiving the file uploading operation of the user through the file uploading control in the file configuration area. For example, the user may click the upload option in B111, pop up a file upload window, and the user may select a target material to be uploaded in the file upload window, or the user may drag the target material to be uploaded to the file upload window; the user can also input the storage address of the target material in the input box in B111, and click the upload option, and the system acquires the target material that the user needs to upload based on the storage address.
In some embodiments, the first configuration area B11 may further include a data configuration area B112 for obtaining the corresponding target material. Wherein, the data input operation of the user can be received through the data configuration area B112; and analyzing the data input operation to obtain updated configuration data.
In the case where the first placement area B11 includes both the file placement area B111 and the data placement area B112, only the file placement area B111 may be displayed before the user uploads the target material, and the data placement area B112 corresponding to the material type may be displayed based on the material type corresponding to the target material after the user uploads the target material.
In some embodiments, the materials management interface B10 also includes a second configuration section B12 for presenting material presentation data for the target material.
In fig. 8A, the material display data displayed in the second configuration area B12 may include at least one of: material identification data, which is used for acquiring established materials corresponding to the material identification in a material library, such as an input box corresponding to a video ID shown in the figure; material name data for determining material characteristics of the established material, such as an input box corresponding to "video name" shown in the figure; material type data for determining the type of the established material. Wherein the user can input the above-mentioned material identification data, material name data and material type data in the second configuration area B12 to complete the update/acquisition of the material presentation data of the target material. It should be noted that the acquired material display data may be displayed in a112 in the material display area a11 of the material management interface a10 in the above-described embodiment.
In some embodiments, the materials management interface B10 also includes a save control B13, such as the "submit" corresponding interaction control shown in the figure. The trigger event for the saving control can be received through the saving control B13, format verification is performed on the obtained material configuration data and/or the obtained material display data based on a preset verification rule in response to the trigger event for the saving control, and the obtained material configuration data and/or the obtained material display data are stored in a material library as the material configuration data and/or the material display data of the target material when the format verification is successful.
In some embodiments, the material management interface B10 further includes at least two material type controls B14, such as the material type control corresponding to "customized video" and the material type control corresponding to "customized model" shown in the figure, it should be noted that the disclosed embodiments may also include more than two material types.
And the at least two material type controls B14 can receive a triggering operation of a user for a target material type control therein, and display a first configuration area and/or a second configuration area corresponding to the target material type control. Taking fig. 8A as an example, in a case where the user has triggered the material type control corresponding to "customized video", the first configuration area B11 and/or the second configuration area B12 corresponding to "customized video" may be displayed. Referring to fig. 8B, in a case where the user has triggered the material type control corresponding to the "customized model", the first configuration area C11 and/or the second configuration area C12 corresponding to the "customized model" may be displayed. By comparison, it can be seen that there may be differences in details between the first configuration area and/or the second configuration area corresponding to different material type controls, and switching between configuration areas of different material types can be achieved by the at least two material type controls B14.
Based on the above embodiment, through the material management interface and the material configuration interface provided by the embodiment of the disclosure, the background construction of the real object AR project can be realized, the unified management of the AR project and the unified management of the related content of the project are facilitated, the AR project can be directly created by the background, the corresponding configuration content and the like can be displayed, the online and offline combination can be realized, and the front-end calling and the unified management are facilitated.
Based on the foregoing embodiments, the present disclosure provides a material editing apparatus, which includes units and modules included in the units, and can be implemented by a processor in an electronic device; of course, the implementation can also be realized through a specific logic circuit; in implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 9 is a schematic structural diagram of a composition of a material editing apparatus according to an embodiment of the present disclosure, and as shown in fig. 9, the material editing apparatus 900 includes: the display module 901 is configured to respond to the material configuration request and display a material configuration interface of the target material. An obtaining module 902, configured to receive a material configuration operation through the material configuration interface, and obtain the target material and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture. A generating module 903, configured to generate a configuration file including the target material and corresponding material configuration data, and send the configuration file to a client; and the client is used for combining the target material with the acquired target real object based on the configuration file to obtain an augmented reality picture.
In some embodiments, the material configuration interface includes a first configuration area for displaying the target material and corresponding material configuration data; the material configuration data includes at least one of: position configuration data for determining a relative position of the virtual object with respect to the target real object; angular configuration data for determining a relative angle of the virtual object with respect to the target real object; scaling configuration data for determining a relative scale of the virtual object with respect to the target real object, the virtual object being an object rendered from the target material; the obtaining module 902 is further configured to: and receiving configuration operation aiming at the first configuration area, and updating the target material and corresponding material configuration data.
In some embodiments, the first configuration area includes a file configuration area for acquiring the target material; the obtaining module 902 is further configured to receive a file uploading operation for a file uploading control in the file configuration area; and analyzing the file uploading operation to obtain the updated target material.
In some embodiments, the first configuration area further comprises a data configuration area for presenting material configuration data of the target material; the obtaining module 902 is further configured to display the data configuration area in response to obtaining the updated target material; receiving a data input operation through the data configuration area; and analyzing the data input operation to obtain updated configuration data.
In some embodiments, the material configuration interface includes a second configuration area for displaying material display data of the target material; the material presentation data comprises at least one of: the material identification data is used for acquiring established materials corresponding to the material identification in a material library; material name data for determining material characteristics of the established material; material type data, wherein the material type data is used for determining the type of the established material; the obtaining module 902 is further configured to receive a configuration operation for the second configuration area, and obtain material display data of the target material.
In some embodiments, the material editing apparatus 900 further includes a saving module, configured to perform format verification on the obtained material configuration data and/or the material display data based on a preset verification rule in response to a trigger event for the saving control, and store the obtained material configuration data and/or the material display data in a material library as the material configuration data and/or the material display data of the target material if the format verification is successful.
In some embodiments, the material configuration interface further includes at least two material type controls, and the display module 901 is further configured to display a first configuration area and/or a second configuration area corresponding to a target material type control in response to a trigger operation for the target material type control in the at least two material type controls.
In some embodiments, the display module 901 is further configured to display a material management interface including a material display area in response to a material display request; the material display area is used for displaying a material management control of each material in at least one material; and responding to a trigger event of a material management control aiming at a target material in the at least one material, and skipping to a material configuration interface corresponding to the target material.
In some embodiments, the story management interface further includes a story query area; the display module 901 is further configured to receive a query operation through the material query area; analyzing the query operation to obtain a query condition, and screening established materials in a material library based on the query condition to obtain materials to be displayed; and displaying the material management control and the material display data of the material to be displayed in the material display area.
In some embodiments, the material management interface further comprises a material add-on control for new material; the display module 901 is further configured to jump to a material configuration interface corresponding to the new material in response to a trigger event for the new material added control.
In some embodiments, the material editing apparatus 900 further comprises a deletion module for the material display area and for the material deletion control for displaying each of the materials; and the material deleting control is used for deleting the material in the material library.
An embodiment of the present disclosure further provides a display device, including: the configuration file acquisition module is used for acquiring a configuration file comprising target materials and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture; and the rendering module is used for combining the target material with the acquired target real object based on the configuration file to obtain and display the augmented reality picture.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present disclosure, reference is made to the description of the embodiments of the method of the present disclosure.
It should be noted that, in the embodiment of the present disclosure, if the material editing method is implemented in the form of a software functional module and is sold or used as a standalone product, the material editing method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a device to perform all or part of the methods of the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. As such, the disclosed embodiments are not limited to any specific combination of hardware and software.
Fig. 10 is a schematic diagram of hardware entities of a material editing apparatus according to an embodiment of the present disclosure, and as shown in fig. 10, the hardware entities of the material editing apparatus 1000 include: a processor 1001 and a memory 1002, wherein the memory 1002 stores a computer program operable on the processor 1001, and the processor 1001 executes the computer program to implement the steps of the method according to any of the embodiments. In some embodiments, the apparatus 1000 for receiving the refunded gaming chips at the gaming table may be a detection apparatus as described in any of the embodiments above.
The Memory 1002 stores a computer program executable on the processor, and the Memory 1002 is configured to store instructions and applications executable by the processor 1001, and also to cache data (for example, image data, audio data, voice communication data, and video communication data) to be processed or already processed by each module in the processor 1001 and the material editing apparatus 1000, which may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
The processor 1001 implements the steps of the material editing method of any one of the above when executing the program. The processor 1001 generally controls the overall operation of the material editing apparatus 1000.
The disclosed embodiments provide a computer storage medium storing one or more programs executable by one or more processors to implement the steps of the material editing method of any of the above embodiments.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present disclosure, reference is made to the description of the embodiments of the method of the present disclosure.
The Processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic device implementing the above processor function may be other, and the embodiments of the present disclosure are not particularly limited.
The computer storage medium/Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM), and the like; but may also be various terminals such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above-mentioned memories.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment of the present disclosure" or "a previous embodiment" or "some embodiments" means that a target feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present disclosure. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "the disclosed embodiment" or "the foregoing embodiments" or "some embodiments" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the described features, structures, or characteristics of the objects may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present disclosure, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The above-mentioned serial numbers of the embodiments of the present disclosure are merely for description and do not represent the merits of the embodiments.
Without being specifically described, the detection device performs any step in the embodiments of the present disclosure, and the processor of the detection device may perform the step. Unless otherwise specified, the disclosed embodiments do not limit the order in which the detection device performs the following steps. In addition, the data may be processed in the same way or in different ways in different embodiments. It should be further noted that any step in the embodiments of the present disclosure may be executed independently by the detection device, that is, when the detection device executes any step in the above embodiments, the detection device may not depend on the execution of other steps.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The methods disclosed in the several method embodiments provided in this disclosure may be combined arbitrarily without conflict to arrive at new method embodiments. Features disclosed in several of the product embodiments provided in this disclosure may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in this disclosure may be combined in any combination to arrive at a new method or apparatus embodiment without conflict.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present disclosure may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a detection device, or a network device) to execute all or part of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
In the embodiments of the present disclosure, the descriptions of the same steps and the same contents in different embodiments may be mutually referred to. In the embodiments of the present disclosure, the term "not" does not affect the order of the steps.
The above description is only an embodiment of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Claims (13)
1. A method for editing material, the method comprising:
responding to the material configuration request, and displaying a material configuration interface of the target material;
receiving material configuration operation through the material configuration interface, and acquiring the target material and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture;
generating a configuration file comprising the target material and corresponding material configuration data and sending the configuration file to a client; and the client is used for combining the target material with the acquired target real object based on the configuration file to obtain an augmented reality picture.
2. The method of claim 1, wherein the material placement interface includes a first placement area for presenting the target material and corresponding material placement data; the material configuration data includes at least one of: position configuration data for determining a relative position of the virtual object with respect to the target real object; angular configuration data for determining a relative angle of the virtual object with respect to the target real object; scaling configuration data for determining a relative scale of the virtual object with respect to the target real object, the virtual object being an object rendered from the target material;
the receiving of the material configuration operation through the material configuration interface to obtain the target material and the corresponding material configuration data includes: and receiving configuration operation aiming at the first configuration area, and updating the target material and corresponding material configuration data.
3. The method of claim 2, wherein the first configuration area comprises a file configuration area for obtaining the target material; the receiving the configuration operation aiming at the first configuration area, and updating the target material comprises:
receiving a file uploading operation aiming at a file uploading control in the file configuration area;
and analyzing the file uploading operation to obtain the updated target material.
4. The method of claim 3, wherein the first configuration area further comprises a data configuration area for presenting material configuration data of the target material; the receiving the configuration operation aiming at the first configuration area, and updating material configuration data of the target material, further comprising:
responding to the updated target material, and displaying the data configuration area;
receiving a data input operation through the data configuration area;
and analyzing the data input operation to obtain updated configuration data.
5. The method of any of claims 1 to 4, wherein the material configuration interface includes a second configuration section for displaying material display data of the target material; the material presentation data comprises at least one of: the material identification data is used for acquiring established materials corresponding to the material identification in a material library; material name data for determining material characteristics of the established material; material type data, wherein the material type data is used for determining the type of the established material;
the receiving of the material configuration operation through the material configuration interface to obtain the target material and the corresponding material configuration data further includes: and receiving configuration operation aiming at the second configuration area, and acquiring material display data of the target material.
6. The method of any of claims 1-5, wherein the material configuration interface further comprises a save control; the method further comprises the following steps:
and responding to a trigger event aiming at the storage control, performing format verification on the acquired material configuration data and/or material display data based on a preset verification rule, and storing the acquired material configuration data and/or material display data in a material library as the material configuration data and/or material display data of the target material under the condition that the format verification is successful.
7. The method of any of claims 1-6, wherein the material configuration interface further comprises at least two material type controls, the method further comprising:
and responding to the triggering operation of a target material type control in the at least two material type controls, and displaying a first configuration area and/or a second configuration area corresponding to the target material type control.
8. The method according to any one of claims 1 to 7, further comprising:
responding to the material display request, and displaying a material management interface comprising a material display area; the material display area is used for displaying a material management control of each material in at least one material;
and responding to a trigger event of a material management control aiming at a target material in the at least one material, and skipping to a material configuration interface corresponding to the target material.
9. The method of claim 8, wherein the materials management interface further comprises a materials query area; the method further comprises the following steps:
receiving query operation through the material query area;
analyzing the query operation to obtain a query condition, and screening established materials in a material library based on the query condition to obtain materials to be displayed;
and displaying the material management control and the material display data of the material to be displayed in the material display area.
10. A display method is applied to a client side, and comprises the following steps:
acquiring a configuration file comprising target materials and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture;
and combining the target material with the acquired target real object based on the configuration file to obtain and display the augmented reality picture.
11. A material editing apparatus characterized by comprising:
the display module is used for responding to the material configuration request and displaying a material configuration interface of the target material;
the acquisition module is used for receiving material configuration operation through the material configuration interface and acquiring the target material and corresponding material configuration data; the material configuration data is used for determining the rendering effect of the target material in the augmented reality picture;
the generating module is used for generating a configuration file comprising the target material and corresponding material configuration data and sending the configuration file to a client; and the client is used for combining the target material with the acquired target real object based on the configuration file to obtain an augmented reality picture.
12. An electronic device, comprising:
a display screen; a memory for storing an executable computer program;
a processor for implementing the method of any one of claims 1 to 9 or the method of claim 10 in conjunction with the display screen when executing an executable computer program stored in the memory.
13. A computer-readable storage medium, having stored thereon a computer program for causing a processor, when executed, to carry out the method of any one of claims 1 to 9 or the method of claim 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111165578.9A CN113891140A (en) | 2021-09-30 | 2021-09-30 | Material editing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111165578.9A CN113891140A (en) | 2021-09-30 | 2021-09-30 | Material editing method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113891140A true CN113891140A (en) | 2022-01-04 |
Family
ID=79005152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111165578.9A Withdrawn CN113891140A (en) | 2021-09-30 | 2021-09-30 | Material editing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113891140A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114385302A (en) * | 2022-01-14 | 2022-04-22 | 华戎信息产业有限公司 | Screen effect generation method and system based on visualization engine |
CN114697703A (en) * | 2022-04-01 | 2022-07-01 | 北京字跳网络技术有限公司 | Video data generation method and device, electronic equipment and storage medium |
CN115134663A (en) * | 2022-07-11 | 2022-09-30 | 京东方科技集团股份有限公司 | Information display method, device and system and electronic equipment |
WO2023207981A1 (en) * | 2022-04-25 | 2023-11-02 | 北京字跳网络技术有限公司 | Configuration file generation method, apparatus, electronic device, medium and program product |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108595705A (en) * | 2018-05-10 | 2018-09-28 | 广州师培社教育科技有限公司 | Micro- class production method, system, device and the learning platform of multi-format document encapsulation |
CN109657185A (en) * | 2018-04-26 | 2019-04-19 | 福建优合创智教育发展有限公司 | Virtual scene sharing method and system in a kind of reality scene |
US20190354765A1 (en) * | 2014-02-28 | 2019-11-21 | Second Spectrum, Inc. | Methods, systems, and user interface navigation of video content based spatiotemporal pattern recognition |
CN111652986A (en) * | 2020-06-11 | 2020-09-11 | 浙江商汤科技开发有限公司 | Stage effect presentation method and device, electronic equipment and storage medium |
CN112070906A (en) * | 2020-08-31 | 2020-12-11 | 北京市商汤科技开发有限公司 | Augmented reality system and augmented reality data generation method and device |
CN112070907A (en) * | 2020-08-31 | 2020-12-11 | 北京市商汤科技开发有限公司 | Augmented reality system and augmented reality data generation method and device |
CN112672185A (en) * | 2020-12-18 | 2021-04-16 | 脸萌有限公司 | Augmented reality-based display method, device, equipment and storage medium |
CN113190314A (en) * | 2021-04-29 | 2021-07-30 | 北京有竹居网络技术有限公司 | Interactive content generation method and device, storage medium and electronic equipment |
-
2021
- 2021-09-30 CN CN202111165578.9A patent/CN113891140A/en not_active Withdrawn
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190354765A1 (en) * | 2014-02-28 | 2019-11-21 | Second Spectrum, Inc. | Methods, systems, and user interface navigation of video content based spatiotemporal pattern recognition |
CN109657185A (en) * | 2018-04-26 | 2019-04-19 | 福建优合创智教育发展有限公司 | Virtual scene sharing method and system in a kind of reality scene |
CN108595705A (en) * | 2018-05-10 | 2018-09-28 | 广州师培社教育科技有限公司 | Micro- class production method, system, device and the learning platform of multi-format document encapsulation |
CN111652986A (en) * | 2020-06-11 | 2020-09-11 | 浙江商汤科技开发有限公司 | Stage effect presentation method and device, electronic equipment and storage medium |
CN112070906A (en) * | 2020-08-31 | 2020-12-11 | 北京市商汤科技开发有限公司 | Augmented reality system and augmented reality data generation method and device |
CN112070907A (en) * | 2020-08-31 | 2020-12-11 | 北京市商汤科技开发有限公司 | Augmented reality system and augmented reality data generation method and device |
CN112672185A (en) * | 2020-12-18 | 2021-04-16 | 脸萌有限公司 | Augmented reality-based display method, device, equipment and storage medium |
CN113190314A (en) * | 2021-04-29 | 2021-07-30 | 北京有竹居网络技术有限公司 | Interactive content generation method and device, storage medium and electronic equipment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114385302A (en) * | 2022-01-14 | 2022-04-22 | 华戎信息产业有限公司 | Screen effect generation method and system based on visualization engine |
CN114385302B (en) * | 2022-01-14 | 2023-08-15 | 华戎信息产业有限公司 | Screen effect generation method and system based on visualization engine |
CN114697703A (en) * | 2022-04-01 | 2022-07-01 | 北京字跳网络技术有限公司 | Video data generation method and device, electronic equipment and storage medium |
WO2023185809A1 (en) * | 2022-04-01 | 2023-10-05 | 北京字跳网络技术有限公司 | Video data generation method and apparatus, and electronic device and storage medium |
CN114697703B (en) * | 2022-04-01 | 2024-03-22 | 北京字跳网络技术有限公司 | Video data generation method and device, electronic equipment and storage medium |
WO2023207981A1 (en) * | 2022-04-25 | 2023-11-02 | 北京字跳网络技术有限公司 | Configuration file generation method, apparatus, electronic device, medium and program product |
CN115134663A (en) * | 2022-07-11 | 2022-09-30 | 京东方科技集团股份有限公司 | Information display method, device and system and electronic equipment |
CN115134663B (en) * | 2022-07-11 | 2024-06-04 | 京东方科技集团股份有限公司 | Information display method, device and system and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113891140A (en) | Material editing method, device, equipment and storage medium | |
EP3129871B1 (en) | Generating a screenshot | |
KR101737725B1 (en) | Content creation tool | |
US10652462B2 (en) | Method and system for 360 degree video coverage visualization | |
CN103890795B (en) | System and method for showing advertisement in advertising unit | |
CN114116086A (en) | Page editing method, device, equipment and storage medium | |
CN110176197B (en) | Holographic display method, system, storage medium and equipment | |
CN112558824A (en) | Page display method and device and computer storage medium | |
CN109154943A (en) | Conversion based on server of the automatic broadcasting content to click play content | |
CN109313768A (en) | The graphic preview that weather for online ticket market enhances | |
Rumiński et al. | Creation of interactive AR content on mobile devices | |
CN114025188B (en) | Live advertisement display method, system, device, terminal and readable storage medium | |
CN114387400A (en) | Three-dimensional scene display method, display device, electronic equipment and server | |
CN112052416A (en) | Method and device for displaying image elements | |
US20230209125A1 (en) | Method for displaying information and computer device | |
CN111741321A (en) | Live broadcast control method, device, equipment and computer storage medium | |
CN109478117A (en) | For generating and being shown in the method and system of the 3-dimensional digital assets used in thread environment | |
CN113867875A (en) | Method, device, equipment and storage medium for editing and displaying marked object | |
KR20210157742A (en) | Method and system for providing web content in virtual reality environment | |
CN110990106A (en) | Data display method and device, computer equipment and storage medium | |
KR101909994B1 (en) | Method for providing 3d animating ar contents service using nano unit block | |
CN113867874A (en) | Page editing and displaying method, device, equipment and computer readable storage medium | |
CN115658063A (en) | Page information generation method, device, equipment and storage medium | |
CN115167721A (en) | Display method and device of functional interface | |
CN114356087A (en) | Interaction method, device, equipment and storage medium based on augmented reality |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220104 |