Three-dimensional object processing method, system, electronic device and storage medium
Through implicit representation models and neural network technology, the observation perspective is captured and three-dimensional objects are rendered, which solves the problem of low rendering accuracy of three-dimensional objects and improves the rendering effect of three-dimensional map scenes.
Patent Information
- Application Number
- CN202310492050.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-04
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-05-04
AI Technical Summary
The rendering accuracy of three-dimensional objects in the existing technology is low, especially the rendering effect of uncertain shapes such as water, fog, etc. is poor, resulting in a decline in the visual experience of three-dimensional map scenes.
The implicit representation model is combined with the neural network to capture the observation perspective and determine the target model from it. The observation image is rendered through the observation perspective to improve the rendering accuracy.
It achieves accurate rendering of three-dimensional objects, improves the visual experience and interactivity of three-dimensional map scenes, and solves the problem of low rendering accuracy.
Smart Images

Figure CN116543105B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing in three-dimensional scenes, and specifically, to a method, system, electronic device and storage medium for processing three-dimensional objects. Background Art
[0002] In a three-dimensional map scene, for example, a three-dimensional game map scene or a three-dimensional navigation map scene, multiple three-dimensional objects are usually included. Three-dimensional objects enable users to experience the three-dimensional map scene more immersively on the basis of planar objects, and can improve the interaction between users and the three-dimensional map scene. However, as the display functions of three-dimensional map scenes become increasingly complex, the requirements for three-dimensional map scenes are gradually increasing. In order to improve the user's visual perception and interaction with the three-dimensional map scene, the display effect requirements for three-dimensional objects are also becoming higher and higher. In the related art, when generating a three-dimensional object image, the three-dimensional object is mainly rendered through an explicit representation mode to generate a three-dimensional object image corresponding to the three-dimensional object. However, when the explicit representation model renders the three-dimensional object, it cannot accurately render uncertain three-dimensional objects (such as water, fog, etc.), which will lead to low rendering accuracy of the three-dimensional object.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a three-dimensional object processing method, system, electronic device and storage medium to at least solve the technical problem of low rendering accuracy of three-dimensional objects in the related art.
[0005] According to one aspect of an embodiment of the present application, a method for processing a three-dimensional object is provided, including: capturing an observation perspective for observing the three-dimensional object, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; determining a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object; and rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective.
[0006] According to another aspect of an embodiment of the present application, a method for processing three-dimensional objects is also provided, including: responding to an input instruction acting on an operation interface, displaying a three-dimensional object on the operation interface, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; responding to an observation instruction acting on the operation interface, displaying an observation image corresponding to the observation instruction on the operation interface, wherein the observation image is obtained by rendering a target model corresponding to the observation time based on the observation perspective corresponding to the observation instruction, and the target model is determined from an implicit representation model corresponding to the three-dimensional object based on the observation perspective.
[0007] According to another aspect of an embodiment of the present application, a method for processing a three-dimensional object is also provided, including: displaying a three-dimensional object on a presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; capturing an observation perspective for observing the three-dimensional object; determining a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object; rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; and driving the VR device or AR device to render and display the observation image.
[0008] According to another aspect of an embodiment of the present application, a method for processing three-dimensional objects is also provided, including: obtaining an observation perspective by calling a first interface, wherein the first interface includes a first parameter, the parameter value of the first parameter is the observation perspective, the observation perspective is the perspective for observing the three-dimensional object, and the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; determining a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object; rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; and outputting the observation image by calling a second interface, wherein the second interface includes a second parameter, the parameter value of the second parameter is the observation image.
[0009] According to another aspect of an embodiment of the present application, a three-dimensional object processing system is also provided, including: a client device, used to display the three-dimensional object and capture the observation perspective of observing the three-dimensional object, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; a server cluster, connected to the client, used to determine a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object, and render the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; the client device is also used to display the observation image.
[0010] According to another aspect of an embodiment of the present application, an electronic device is further provided, including: a memory storing an executable program; and a processor for running the program, wherein any one of the above methods is executed when the program is running.
[0011] According to another aspect of an embodiment of the present application, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above methods.
[0012] In the embodiment of the present application, the observation perspective of observing a three-dimensional object is captured, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; a target model corresponding to the observation perspective is determined from an implicit representation model corresponding to the three-dimensional object; and the target model is rendered based on the observation perspective to obtain an observation image corresponding to the observation perspective. It is easy to notice that in a three-dimensional map scene, by capturing the observation perspective of observing a three-dimensional object and the implicit representation model constructed in advance, a target model for rendering can be obtained quickly and accurately. Further, the target model is rendered through the observation perspective, and the target model is based on a neural network, which can accurately and intuitively reflect the observation image in a visual way, so that the observation image of the three-dimensional object corresponding to the observation perspective can be accurately generated, achieving the purpose of being able to accurately obtain the observation image corresponding to the three-dimensional object, thereby achieving the technical effect of improving the rendering accuracy of the three-dimensional object, and then solving the technical problem of low rendering accuracy of the three-dimensional object in the related technology.
[0013] It is easy to notice that the above general description and the following detailed description are only for the purpose of exemplifying and explaining the present application, and do not constitute a limitation of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0015] Figure 1 is a schematic diagram of a hardware environment of a virtual reality device according to a three-dimensional object processing method of an embodiment of the present application;
[0016] Figure 2 is a structural block diagram of a computing environment of a three-dimensional object processing method according to an embodiment of the present application;
[0017] Figure 3 is a flow chart of a method for processing a three-dimensional object according to Embodiment 1 of the present application;
[0018] Figure 4 is a flow chart of a method for processing a three-dimensional object according to Embodiment 2 of the present application;
[0019] Figure 5 This is a display schematic diagram of an optional operation interface according to Example 2 of the present application;
[0020] Figure 6 is a flow chart of a method for processing a three-dimensional object according to Embodiment 3 of the present application;
[0021] Figure 7is a flowchart of a three-dimensional object processing method according to Embodiment 4 of the present application;
[0022] Figure 8 is a schematic diagram of a three-dimensional object processing system according to Embodiment 5 of the present application;
[0023] Fig. 9 is a schematic diagram of a three-dimensional object processing device according to Embodiment 6 of the present application;
[0024] Fig.10 is a schematic diagram of a three-dimensional object processing device according to Embodiment 7 of the present application;
[0025] Fig.11 is a schematic diagram of a three-dimensional object processing device according to Embodiment 8 of the present application;
[0026] Fig.12 is a schematic diagram of a three-dimensional object processing device according to Embodiment 9 of the present application;
[0027] Fig.13 It is a structural block diagram of a computer terminal according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:
[0031] 1. CIM: City Information Modeling, based on urban information data, based on BIM (Building Information Modeling), GIS (Geographic Information System), IoT (Internet of Things) and other technologies, integrates multi-scale and multi-dimensional urban spatiotemporal data to build an organic complex of urban information in three-dimensional digital space.
[0032] 2. NeRF: Neural Radiance Fields, a technical solution that uses deep neural networks to implicitly represent three-dimensional data and provide high-quality two-dimensional image rendering at any angle.
[0033] 3. Three-dimensional data representation:
[0034] a) Display representation: a scheme to describe three-dimensional objects through geometric shapes such as triangles, tetrahedrons, and Bezier surfaces;
[0035] b) Implicit representation: A scheme that describes three-dimensional objects through abstract forms such as mathematical functions and radiation fields.
[0036] 4. View cone: The space within the rendering range between the near clipping plane and the far clipping plane of the camera is called the view cone. The shape can be a pyramid with the top cut off parallel to the base, which is the shape of the area that can be seen when rendering with a perspective camera.
[0037] 5. Envelope: The envelope of a family of plane lines (or curves) is a curve that is tangent to any line (or curve) in the family.
[0038] Example 1
[0039] According to an embodiment of the present application, an embodiment of a method for processing a three-dimensional object is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0040] Figure 1 FIG. 1 is a schematic diagram of a hardware environment of a virtual reality device according to a method for processing a three-dimensional object in an embodiment of the present application. Figure 1As shown, the virtual reality device 104 is connected to the terminal 106, and the terminal 106 is connected to the server 102 through a network. The above-mentioned virtual reality device 104 is not limited to: virtual reality helmets, virtual reality glasses, virtual reality all-in-one machines, etc., and the above-mentioned terminal 104 is not limited to PCs, mobile phones, tablet computers, etc. The server 102 can be a server corresponding to a media file operator, and the above-mentioned network includes but is not limited to: a wide area network, a metropolitan area network or a local area network.
[0041] Optionally, the virtual reality device 104 of this embodiment includes: a memory, a processor, and a transmission device. The memory is used to store an application program, which can be used to execute: displaying a three-dimensional object on a presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; capturing an observation perspective for observing the three-dimensional object; determining a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object; rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; driving the VR device or AR device to render and display the observation image, thereby solving the technical problem of low rendering accuracy of three-dimensional objects in related technologies and achieving the purpose of improving the rendering accuracy of three-dimensional objects.
[0042] The terminal of this embodiment can be used to display the observation image on the presentation screen of a virtual reality (VR) device or an augmented reality (AR) device, and send the observation image to the virtual reality device 104. After receiving the observation image, the virtual reality device 104 displays it at the target delivery position.
[0043] Optionally, the virtual reality device 104 of this embodiment has an eye-tracking HMD (Head Mount Display) head display and an eye-tracking module that have the same functions as those in the above embodiment, that is, the screen in the HMD head display is used to display real-time images, and the eye-tracking module in the HMD is used to obtain the real-time movement trajectory of the user's eyeballs. The terminal of this embodiment obtains the user's position information and movement information in the real three-dimensional space through the tracking system, and calculates the three-dimensional coordinates of the user's head in the virtual three-dimensional space, as well as the user's field of view direction in the virtual three-dimensional space.
[0044] Figure 1 The hardware structure block diagram shown can be used not only as an exemplary block diagram of the above-mentioned AR / VR device (or mobile device), but also as an exemplary block diagram of the above-mentioned server. In an optional embodiment, Figure 2 The block diagram shows the use of the above Figure 1The AR / VR device (or mobile device) shown is an embodiment of a computing node in the computing environment 201. Figure 2 is a structural block diagram of a computing environment of a three-dimensional object processing method according to an embodiment of the present application, such as Figure 2 As shown, computing environment 201 includes multiple computing nodes (such as servers) running on a distributed network (shown as 210-1, 210-2, ..., in the figure). Different computing nodes contain local processing and memory resources, and end users 202 can remotely run applications or store data in computing environment 201. Applications can be provided as multiple services 220-1, 220-2, 220-3 and 220-4 in computing environment 201, representing services "A", "D", "E" and "H" respectively.
[0045] The end user 202 can provide and access services through a web browser or other software application on the client, and in some embodiments, the end user 202's provision and / or request can be provided to the entry gateway 230. The entry gateway 230 can include a corresponding agent to handle the provision and / or request for the service (one or more services provided in the computing environment 201).
[0046] Services are provided or deployed based on various virtualization technologies supported by the computing environment 201. In some embodiments, services can be provided based on virtual machine (VM)-based virtualization, container-based virtualization, and / or similar methods. Virtual machine-based virtualization can be to simulate a real computer by initializing a virtual machine, and execute programs and applications without directly contacting any actual hardware resources. While the virtual machine virtualizes the machine, according to container-based virtualization, a container can be started to virtualize the entire operating system (OS) so that multiple workloads can run on a single operating system instance.
[0047] In an embodiment based on container virtualization, several containers of a service can be assembled into a Pod (e.g., a Kubernetes Pod). Figure 2 As shown, service 220-2 can be equipped with one or more Pods 240-1, 240-2, ..., 240-N (collectively referred to as Pods). Pods can include a proxy 245 and one or more containers 242-1, 242-2, ..., 242-M (collectively referred to as containers). One or more containers in a Pod process requests related to one or more corresponding functions of the service, and the proxy 245 generally controls network functions related to the service, such as routing, load balancing, etc. Other services can also be equipped with similar Pods.
[0048] During operation, executing a user request from end user 202 may require invoking one or more services in computing environment 201, and executing one or more functions of one service may require invoking one or more functions of another service. Figure 2 As shown, service "A" 220-1 receives a user request from end user 202 from ingress gateway 230, service "A" 220-1 may call service "D" 220-2, and service "D" 220-2 may request service "E" 220-3 to perform one or more functions.
[0049] The computing environment described above can be a cloud computing environment, where the allocation of resources is managed by the cloud service provider, allowing the development of functions without considering the implementation, adjustment or expansion of servers. The computing environment allows developers to execute code in response to events without building or maintaining complex infrastructure. Services can be divided into a set of functions that can be automatically and independently scaled, rather than expanding a single hardware device to handle potential loads.
[0050] Under the above operating environment, this application provides Figure 3 It should be noted that the three-dimensional object processing method of this embodiment can be Figure 1 The illustrated embodiment is executed by a mobile terminal. Figure 3 FIG. 1 is a flow chart of a method for processing a three-dimensional object according to Embodiment 1 of the present application. Figure 3 As shown, the method may include the following steps:
[0051] Step S302 , capturing an observation angle for observing a three-dimensional object, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment.
[0052] In the technical solution provided in step S302 of the present application, the three-dimensional object can be a virtual three-dimensional object corresponding to a real object in a real environment, for example, it can be a virtual three-dimensional mountain range corresponding to a mountain range in a real environment; it can also be a virtual three-dimensional building corresponding to a building in a real environment; it can also be a virtual three-dimensional river corresponding to a river in a real environment, but it is not limited to this. It should be noted that the three-dimensional object can be a three-dimensional object in a three-dimensional map scene, for example, it can be a three-dimensional object in a three-dimensional game map, or it can be a three-dimensional object in a three-dimensional navigation map, but it is not limited to this. The above-mentioned observation perspective can be the perspective from which the user observes the three-dimensional object in the virtual environment, and the observation images of the three-dimensional object observed from different perspectives are different.
[0053] In an optional embodiment, when a user obtains a specific observation image of a virtual three-dimensional object in a three-dimensional map, the user can select an observation angle in the virtual environment, for example, the user selects the observation angle by clicking, sliding, etc. on the operation interface. Therefore, the observation angle for observing the virtual three-dimensional object in the virtual environment can be captured by detecting the user operation. For example, when a user observes a certain area of a three-dimensional map, the user can first operate on the three-dimensional map to select the observation angle, so that the device can capture the observation angle for observing the three-dimensional map.
[0054] Step S304: determine the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object.
[0055] The above-mentioned target model may be a partial model of the implicit representation model based on observations from an observation perspective.
[0056] In an embodiment of the present application, a three-dimensional object can be described by an implicit representation, that is, a three-dimensional object can be represented by an implicit representation model in a virtual environment. The implicit representation model can be a NeRF model, but is not limited thereto, and can also be other types of models. The above-mentioned target model can be a partial model of the implicit representation model that can be observed by the user. For example, for the entire three-dimensional map, the user can only observe a certain building or a certain road.
[0057] In an optional embodiment, after capturing the observation angle of the virtual three-dimensional object, an implicit representation model corresponding to the three-dimensional object can be generated based on an artificial intelligence algorithm. The specific model generation process can adopt the method provided by the relevant technology, which is not specifically limited in this application. Then, based on the observation angle, determine which part of the model on the implicit representation model the user can observe, and then use this part of the model as the target model.
[0058] In another optional embodiment, first, an implicit representation model corresponding to the three-dimensional object can be generated based on an artificial intelligence algorithm, and secondly, based on the captured observation perspective, it can be determined which part of the implicit representation model the user can observe, and then this part of the model can be used as the target model.
[0059] In another optional embodiment, while capturing the observation perspective of the three-dimensional object, an implicit representation model corresponding to the three-dimensional object can be generated based on an artificial intelligence algorithm. Secondly, based on the captured observation perspective, it can be determined which part of the implicit representation model the user can observe, and then this part of the model can be used as the target model.
[0060] Step S306, rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective.
[0061] The above-mentioned observation image may be a two-dimensional image obtained by rendering the target model and projecting it onto a plane.
[0062] In an optional embodiment, after determining the target model corresponding to the observation perspective, the target model can be rendered based on the observation perspective, and the obtained rendering result can be the observation image corresponding to the observation perspective. For example, after obtaining the target model corresponding to the observation perspective, the pixel points in the target model can be sampled based on the observation perspective to obtain the sampling values of the pixel points, and then the sampling values can be summarized and presented on the background canvas to obtain the observation image.
[0063] In the embodiment of the present application, the observation perspective of observing a three-dimensional object is captured, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; a target model corresponding to the observation perspective is determined from an implicit representation model corresponding to the three-dimensional object; and the target model is rendered based on the observation perspective to obtain an observation image corresponding to the observation perspective. It is easy to notice that in a three-dimensional map scene, by capturing the observation perspective of observing a three-dimensional object and the implicit representation model constructed in advance, a target model for rendering can be obtained quickly and accurately. Further, the target model is rendered through the observation perspective, and the target model is based on a neural network, which can accurately and intuitively reflect the observation image in a visual way, so that the observation image of the three-dimensional object corresponding to the observation perspective can be accurately generated, achieving the purpose of being able to accurately obtain the observation image corresponding to the three-dimensional object, thereby achieving the technical effect of improving the rendering accuracy of the three-dimensional object, and then solving the technical problem of low rendering accuracy of the three-dimensional object in the related technology.
[0064] The above method of this embodiment is further introduced below.
[0065] In the above embodiment of the present application, a target model corresponding to the observation perspective is determined from an implicit representation model corresponding to the three-dimensional object, including: constructing a viewing cone corresponding to the observation perspective, wherein the viewing cone is used to represent the observation space range corresponding to the observation perspective; based on a first spatial index corresponding to the implicit representation model, an implicit representation set within the viewing cone is screened from the implicit representation model, wherein different spatial indexes contained in the first spatial index represent different spatial ranges corresponding to the implicit representation model; and based on the implicit representation set, a target model is determined.
[0066] The above-mentioned cone of vision can be used to accurately describe the spatial range corresponding to the observation angle, which can be expressed as V. The cone of vision can include but is not limited to: the opening angle of the cone of vision, the range angle of the cone of vision. The above-mentioned first spatial index can be a spatial index of the correspondence between different spatial ranges and different implicit representation sets established in advance, wherein the first spatial index contains multiple different spatial indexes, and the implicit representation sets in different cones can be determined through different spatial indexes. The above-mentioned implicit representation set can be a set composed of multiple implicit representations in the cone of vision. The above-mentioned different spatial ranges can be expressed as A n , n represents the number of different spatial ranges, but is not limited to this.
[0067] In an optional embodiment, first, a cone of view corresponding to the observation perspective can be constructed, wherein the cone of view can be a more precise spatial range corresponding to the observation perspective; secondly, different implicit representation sets corresponding to different spatial indexes can be determined based on the first spatial index corresponding to the implicit representation model, wherein the first spatial index includes multiple different spatial indexes, and then the cone of view within the observation perspective can be determined from the different spatial indexes, and then the implicit representation set within the cone of view can be screened from the implicit representation model, and finally the target model can be obtained based on the implicit representation set. For example, a set of implicit representation sets can be obtained to obtain the target model.
[0068] In the above embodiments of the present application, based on the first spatial index corresponding to the implicit representation model, the implicit representation set within the visual cone is filtered from the implicit representation model, including: obtaining the spatial ranges corresponding to different spatial indexes; determining whether there is an intersection area between the spatial ranges corresponding to different spatial indexes and the visual cone; and when there is an intersection area between the spatial range corresponding to the first spatial index and the visual cone, adding the implicit representation corresponding to the first spatial index to the implicit representation set.
[0069] The above-mentioned intersection area can be different spatial ranges corresponding to different spatial indexes, and the overlapping area of the viewing cone.
[0070] In an optional embodiment, first, the spatial ranges corresponding to different spatial indexes can be obtained, and then it can be determined whether there is an intersection area between the spatial ranges corresponding to different spatial indexes and the visual cone. If it is determined that the spatial range corresponding to the first spatial index and the visual cone have an intersection area, the implicit representation set corresponding to the first spatial index in the intersection area can be added to the implicit representation set, that is, the implicit representation set within the visual cone can be obtained.
[0071] In another optional embodiment, first, the spatial ranges corresponding to different index spaces can be obtained, and then it can be determined whether there is an intersection area between the spatial ranges corresponding to different spatial indexes and the visual cone. If it is determined that a spatial range corresponding to a first spatial index has an intersection area with the visual cone, an implicit representation set corresponding to the first spatial index in the intersection area can be added to the implicit representation set, so that the implicit representation set within the visual cone can be obtained.
[0072] In another optional embodiment, first, the spatial ranges corresponding to different index spaces can be obtained, and then it can be determined whether there is an intersection area between the spatial ranges corresponding to different spatial indexes and the visual cone. If it is determined that multiple spatial ranges corresponding to the first spatial index have an intersection area with the visual cone, multiple implicit representation sets corresponding to the first spatial index in the intersection area can be added to the implicit representation set, that is, the implicit representation set within the visual cone can be obtained.
[0073] In the above embodiment of the present application, after constructing the visual cone corresponding to the observation angle, the method also includes: dividing the visual cone to obtain multiple subspace ranges; obtaining sub-models corresponding to the multiple subspace ranges in parallel through multiple processing engines, wherein the multiple processing engines and the multiple subspace ranges correspond one-to-one; and summarizing the sub-models to obtain the target model.
[0074] The above-mentioned processing engine may be a cloud processing engine capable of acquiring sub-models corresponding to multiple sub-space ranges in parallel, wherein the multiple cloud processing engines correspond to the multiple sub-space ranges one-to-one. In this embodiment, the specific cloud processing engine type is not limited, and the user may select the cloud processing engine according to actual needs. The above-mentioned sub-model may be an implicit representation model corresponding to the sub-range space.
[0075] In an optional embodiment, the visual cone can be first divided to obtain multiple sub-range spaces, and then sub-models corresponding to the multiple sub-range spaces can be obtained in parallel through multiple processing engines, wherein the multiple processing engines correspond to the multiple sub-space ranges one-to-one, and then the sub-models can be summarized, for example, the sum of the multiple sub-models can be obtained, that is, the target model can be obtained.
[0076] In the above embodiment of the present application, the target model is rendered based on the observation perspective to obtain an observation image corresponding to the observation perspective, including: determining the sampling points within the viewing cone based on the observation perspective; determining the values of the sampling points based on the target model; superimposing the values of the sampling points to obtain superimposed pixel values; superimposing the superimposed pixel values with the preset image to generate an observation image.
[0077] The above-mentioned sampling points may be pixel points within the visual cone. The values of the above-mentioned sampling points may be pixel values after sampling the pixel points, which may be expressed as red, green, and blue σ (RGBσ), but are not limited thereto. The above-mentioned preset images may be virtual images corresponding to other objects other than real objects in a real environment, for example, may be virtual background images, but are not limited thereto.
[0078] In an optional embodiment, first, the sampling points within the viewing cone can be determined based on the observation perspective, and secondly, the values of the sampling points can be determined based on the target model. Then, the values of the sampling points can be superimposed to obtain superimposed pixel values, and finally, the superimposed pixel values can be superimposed with the preset image to obtain the observed image.
[0079] In the above embodiment of the present application, the value of the sampling point is determined based on the target model, including: constructing a second spatial index based on the geometric envelope of the target model; determining the target implicit representation corresponding to the sampling point from the target model based on the second spatial index; and determining the value of the sampling point based on the target implicit representation.
[0080] The geometric envelope can be obtained by screening the target model and includes an envelope of multiple sampling points. The second spatial index can be a pre-established spatial index that determines the correspondence between different sampling points and different implicit representations, and different implicit representations corresponding to different sampling points can be obtained based on the second spatial index.
[0081] In an optional embodiment, the target model can be firstly screened to obtain a geometric envelope of the target model, wherein the geometric envelope includes a plurality of different sampling points. Secondly, a second spatial index can be constructed based on the geometric envelope, wherein different spatial indexes included in the second spatial index can reflect different target implicit representations corresponding to different sampling points. Then, based on the second spatial index, the target implicit features corresponding to the sampling points can be determined from the target model. Finally, the value of the sampling point can be determined based on the target implicit features and the target model.
[0082] In the above embodiment of the present application, based on the target model, determining the value of the sampling point includes: dividing the sampling points to obtain multiple sampling point sets; determining the values of the multiple sampling point sets based on the target model in parallel by multiple model inference devices, wherein the multiple model inference devices and the multiple sampling point sets correspond one to one; and summarizing the values of the multiple sampling point sets to obtain the value of the sampling point.
[0083] The above-mentioned sampling point set may be a set consisting of multiple sampling points. The above-mentioned multiple model inference devices can determine the values of multiple sampling point sets based on the target model, and may be cloud model inference devices. The specific cloud model inference device is not limited in this embodiment, and the user can set it according to actual needs.
[0084] In an optional embodiment, the sampling points may be first divided to obtain a plurality of sampling point sets, and then the values of the plurality of sampling point sets may be determined in parallel based on the target model by a plurality of model inference devices, wherein the plurality of model inference devices correspond one to one to the plurality of sampling point sets, and finally the values of the plurality of sampling point sets may be summarized, for example, the values of the plurality of sampling point sets may be summed, or the values of the plurality of sampling point sets may be weighted summed, so as to obtain the values of the sampling points.
[0085] In the above embodiment of the present application, the method also includes: photographing real objects in a real environment to obtain image materials; generating an implicit representation model based on the image materials; and constructing a first spatial index corresponding to the implicit representation model.
[0086] In an optional embodiment, first, real objects in a real environment can be photographed by an image acquisition device to obtain image materials; secondly, an implicit representation model can be obtained based on the image materials and artificial intelligence algorithms; finally, a first spatial index corresponding to the implicit representation model can be constructed based on the implicit representation model.
[0087] It should be noted that the above-mentioned image acquisition device can be any one or more devices that can capture real objects in a real environment, for example, it can be a drone, a camera, etc., but it is not limited to this. In this embodiment, the specific type of the image acquisition device is not limited, and the user can choose according to actual needs.
[0088] In the above embodiments of the present application, constructing a first spatial index corresponding to the implicit representation model includes one of the following: determining the scene space range of the three-dimensional object in the real environment, and constructing the first spatial index based on the scene space range; extracting the explicit envelope of the implicit representation model, and constructing the first spatial index based on the explicit envelope.
[0089] The above scene space range may include but is not limited to: the longitude range, latitude range and altitude range of the scene. The above explicit envelope may be a more accurate spatial range obtained by extracting the implicit representation model.
[0090] In an optional embodiment, firstly, the scene space range of the three-dimensional object in the real environment may be determined, and secondly, a first spatial index may be constructed based on the scene space range and the implicit representation model.
[0091] In another optional embodiment, firstly, the implicit representation model may be extracted to obtain an explicit envelope, and then, based on the explicit envelope and the implicit representation model, a first spatial index may be constructed.
[0092] In the related art, when generating an observation image corresponding to a three-dimensional object, the following problems are mainly involved:
[0093] 1. The production cost of 3D explicit representation data is extremely high and the preparation cycle is long;
[0094] 2. The client-side rendering solution based on explicit representation requires the 3D explicit representation data to be transmitted from the backend to the frontend, which poses a data security risk.
[0095] 3. Explicit representation cannot describe three-dimensional objects with uncertain geometric shapes such as fluids, gases, and liquids (for example, water and fog), and the rendering results are not realistic;
[0096] 4. As the size of explicit representation data grows, rendering speed is limited by client devices.
[0097] In order to solve the above technical problems, this application proposes a three-dimensional map solution based on neural implicit representation, which includes the following contents:
[0098] Step S1, data collection: two-dimensional image materials can be collected for three-dimensional scenes by means of aerial photography, drones, manual photography, etc. The scene space range including the longitude, latitude and altitude range of the collected scene is recorded.
[0099] Step S2, obtaining an implicit representation model: using an artificial intelligence algorithm to remove unnecessary backgrounds of the photographs and generate an implicit representation model of the three-dimensional scene.
[0100] It should be noted that the implicit representation model is a three-dimensional model expressed by a neural network, which mainly expresses visual information. The implicit representation can allow the application party (such as the user) to feel the shape through other means (such as visual means), and the authenticity of the implicit representation model is higher than that of the explicit representation model.
[0101] Step S3, obtaining an implicit representation spatial index: a global spatial index (i.e., a first spatial index) can be constructed based on the scene spatial range of the acquisition record; or a relevant explicit envelope can be extracted based on the implicit representation model to replace the spatial range of the acquisition record as the global spatial index.
[0102] It should be noted that when the number of scenes is large enough, the scene space range (A1, A2, ..., A n ). When you are interested in a certain spatial range (V), you need to quickly find the scene spatial range within the range of interest (for example, when V and A 10 , A 100 There is overlap, but there is no overlap with other scene space ranges, then it can be determined that A 10 and A 100Within the range of V), this technical means that can help quickly filter the scene space range is called global space index.
[0103] Step S4, filter the implicit representation set based on the observation perspective: After determining the observation perspective, the viewing cone can be determined, and then the implicit representation set within the viewing cone can be filtered out, and a fast spatial index (i.e., the second spatial index) can be constructed based on the geometric envelope of the implicit representation set.
[0104] It should be noted that the visual cone is a more precise expression of the map's perspective. It is a specific mathematical geometric body that can accurately express the spatial range seen from the perspective.
[0105] Step S5, based on the observation perspective, the implicit representation set rendering is implemented to obtain the observed image: first, sampling can be performed within the viewing cone based on the light emitted from the observation perspective, and secondly, the specific implicit representation model can be located based on the fast spatial index, and the model capability can be called to obtain the value of the sampling point (RGBσ), and then the values of these sampling points can be accumulated, and finally the superimposed pixel values can be superimposed on the background canvas to obtain the observed image.
[0106] It should be noted that the above steps S2 to S5 can all be completed in a cloud scenario, and the client can directly display the rendered image after receiving it, without consuming computing power on the terminal.
[0107] Among them, relevant cloud computing solutions may include:
[0108] 1. Implicit representation model production and implicit representation space index extraction can distribute production tasks to cloud containers for execution.
[0109] 2. The storage and query capabilities of implicit spatial indexes are supported by powerful database products in the cloud.
[0110] 3. Model screening based on perspective includes the following steps:
[0111] a) After the observation angle is stabilized, the viewing cone range will be partitioned into multiple sub-viewing cones and distributed to multiple cloud map engines for execution;
[0112] b) The cloud map engine calls the cloud database to complete the rough screening, and then creates a temporary index in memory based on the screening results.
[0113] 4. Rendering based on observation perspective and implicit representation model:
[0114] a) The cloud map engine distributes the reasoning of the sampling points to the model reasoning cluster. The machines on the cluster will cache the representation model to reduce the overhead of repeated model loading;
[0115] b) The results of the model inference cluster will be accumulated by the Cloud Map Engine and rendered on the canvas;
[0116] c) After the client receives the partition results, it renders them on the display screen in sequence according to the partitions, and then the observed image can be obtained.
[0117] This application implements three-dimensional maps based on implicit representation models. By collecting information and geometric envelopes, an index system is constructed to quickly locate implicit representation models related to the viewing cone. Combined with cloud resources, powerful computing power is provided to support perspective rendering.
[0118] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0119] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), including several instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0120] Example 2
[0121] According to an embodiment of the present application, a method for processing a three-dimensional object is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0122] Figure 4 is a flow chart of a method for processing a three-dimensional object according to Embodiment 2 of the present application, such as Figure 4 As shown, the method may include the following steps:
[0123] Step S402, in response to an input instruction acting on the operation interface, displaying a three-dimensional object on the operation interface, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment;
[0124] Step S404, in response to the observation instruction acting on the operation interface, an observation image corresponding to the observation instruction is displayed on the operation interface, wherein the observation image is obtained by rendering the target model corresponding to the observation time based on the observation perspective corresponding to the observation instruction, and the target model is determined from the implicit representation model corresponding to the three-dimensional object based on the observation perspective.
[0125] Figure 5 is a display schematic diagram of an optional operation interface according to Example 2 of the present application, such as Figure 5 As shown, first, in response to the user's input instructions in the input instruction input area, the operation interface can display a three-dimensional object in the display area, wherein the three-dimensional object is used to represent the virtual object corresponding to the real object in the real environment; secondly, in response to the observation instruction input by the user in the observation instruction input area, the operation interface can display the observation image corresponding to the observation instruction in the real area, wherein the observation image is rendered based on the observation perspective corresponding to the observation instruction, and the target model is determined from the implicit representation model corresponding to the three-dimensional object based on the observation perspective.
[0126] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0127] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), including several instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0128] Example 3
[0129] According to an embodiment of the present application, a method for processing three-dimensional objects in virtual reality scenes such as virtual reality VR devices and augmented reality AR devices is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.
[0130] Figure 6 FIG. 3 is a flow chart of a method for processing a three-dimensional object according to Embodiment 3 of the present application. Figure 6 As shown, the method may include the following steps:
[0131] Step S602, displaying a three-dimensional object on a presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment;
[0132] Step S604, capturing the observation angle for observing the three-dimensional object;
[0133] Step S606, determining a target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object;
[0134] Step S608, rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective;
[0135] Step S6010: drive the VR device or AR device to render and display the observed image.
[0136] In an optional embodiment, first, in response to the user's acquisition request, a three-dimensional object can be displayed on the presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment. Secondly, the observation perspective of the three-dimensional object can be captured by the virtual reality VR device or the augmented reality AR device, and then the target model corresponding to the observation perspective can be determined from the implicit representation model corresponding to the three-dimensional object. Then, the target model can be rendered based on the observation perspective to obtain an observation image corresponding to the observation perspective. Finally, the VR device or AR device can be driven to render and display the observation image.
[0137] Optionally, in this embodiment, the above-mentioned three-dimensional object processing method can be applied to a hardware environment composed of a server and a virtual reality device. The observed image is displayed on the presentation screen of the virtual reality VR device or the augmented reality AR device. The server can be a server corresponding to the media file operator. The above-mentioned network includes but is not limited to: a wide area network, a metropolitan area network or a local area network. The above-mentioned virtual reality device is not limited to: a virtual reality helmet, a virtual reality glasses, a virtual reality all-in-one machine, etc.
[0138] Optionally, the virtual reality device includes: a memory, a processor, and a transmission device. The memory is used to store an application, which can be used to execute: displaying a three-dimensional object on a presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; capturing an observation perspective for observing the three-dimensional object; determining a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object; rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; and driving the VR device or AR device to render and display the observation image.
[0139] It should be noted that the above-mentioned method for processing three-dimensional objects in the VR device or AR device of this embodiment may include: Figure 6 The method of the illustrated embodiment is used to achieve the purpose of driving a VR device or an AR device to display an observed image.
[0140] Optionally, the processor of this embodiment can call the application stored in the memory to execute the above steps through a transmission device. The transmission device can receive media files sent by the server through the network, and can also be used for data transmission between the processor and the memory.
[0141] Optionally, in a virtual reality device, a head-mounted display with eye tracking is provided, wherein the screen in the HMD is used to display the displayed video images, the eye tracking module in the HMD is used to obtain the real-time movement trajectory of the user's eyes, the tracking system is used to track the user's position information and motion information in the real three-dimensional space, and the computing processing unit is used to obtain the user's real-time position and motion information from the tracking system, and calculate the three-dimensional coordinates of the user's head in the virtual three-dimensional space, as well as the user's field of view direction in the virtual three-dimensional space, etc.
[0142] In an embodiment of the present application, a virtual reality device may be connected to a terminal, and the terminal and the server are connected through a network. The virtual reality device is not limited to: a virtual reality helmet, virtual reality glasses, a virtual reality all-in-one machine, etc. The terminal is not limited to a PC, a mobile phone, a tablet computer, etc. The server may be a server corresponding to a media file operator, and the network includes but is not limited to: a wide area network, a metropolitan area network or a local area network.
[0143] Example 4
[0144] According to an embodiment of the present application, a method for processing a three-dimensional object is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0145] Figure 7 is a flow chart of a method for processing a three-dimensional object according to Embodiment 4 of the present application, such as Figure 7 As shown, the method may include the following steps:
[0146] Step S702, obtaining an observation angle of view by calling a first interface, wherein the first interface includes a first parameter, and a parameter value of the first parameter is an observation angle of view, and the observation angle of view is a angle of view for observing a three-dimensional object, and the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment;
[0147] Step S704, determining a target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object;
[0148] Step S706, rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective;
[0149] Step S708, outputting the observed image by calling the second interface, wherein the second interface includes a second parameter, and the parameter value of the second parameter is the observed image.
[0150] The first interface mentioned above may be an interface for the cloud server to obtain the observation angle from the mobile terminal. The second interface mentioned above may be an interface for the cloud server to output the observation image to the mobile terminal.
[0151] In an optional embodiment, first, the observation perspective can be obtained from the mobile terminal by calling a first interface, wherein the first interface includes a first parameter, and the parameter value of the first parameter is the observation perspective. The observation perspective is the perspective for observing three-dimensional objects, and the three-dimensional objects are used to represent virtual objects corresponding to real objects in the real environment; secondly, the target model corresponding to the observation perspective can be determined from the implicit representation model corresponding to the three-dimensional object; then, the target model can be rendered based on the observation perspective to obtain an observation image corresponding to the observation perspective; finally, the observation image is output to the mobile terminal by calling a second interface, wherein the second interface includes a second parameter, and the parameter value of the second parameter is the observation image.
[0152] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0153] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), including several instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0154] Example 5
[0155] According to an embodiment of the present application, a processing system for implementing the above-mentioned three-dimensional object is also provided. Figure 8 is a schematic diagram of a three-dimensional object processing system according to Embodiment 5 of the present application, such as Figure 8 As shown, the system includes: a client device 80 and a server cluster 82 .
[0156] Among them, the client device is used to display three-dimensional objects and capture the observation perspective of observing the three-dimensional objects, wherein the three-dimensional objects are used to represent virtual objects corresponding to real objects in the real environment; the server cluster is connected to the client and is used to determine the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object, and render the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; the client device is also used to display the observation image.
[0157] In the above embodiments of the present application, the server cluster includes: a control device, a database and a processing device.
[0158] Among them, the control device is used to construct a visual cone corresponding to the observation perspective, wherein the visual cone is used to represent the observation space range corresponding to the observation perspective; the database is used to store the first spatial index corresponding to the implicit representation model, wherein different indexes contained in the first spatial index represent different spatial ranges corresponding to the implicit representation model; the processing device is connected to the control device and the database, and is used to filter the implicit representation set within the visual cone from the implicit representation model based on the first spatial index corresponding to the implicit representation model, and determine the target model based on the implicit representation set.
[0159] In the above embodiments of the present application, the processing device includes: multiple processing engines.
[0160] Among them, multiple processing engines are used to obtain sub-models corresponding to multiple sub-space ranges in parallel, wherein the multiple processing engines correspond to the multiple sub-space ranges one-to-one, and the multiple sub-space ranges are obtained by dividing the visual cone through the control device; the control device is also used to summarize the sub-models to obtain the target model.
[0161] In the above embodiments of the present application, the server cluster also includes: a processing device and an inference cluster.
[0162] Among them, the processing device is used to determine the sampling points within the viewing cone based on the observation perspective; the inference cluster is connected to the processing device and is used to determine the values of the sampling points based on the target model; the processing device is also used to superimpose the values of the sampling points to obtain superimposed pixel values, and superimpose the superimposed pixel values with the preset image to generate an observed image.
[0163] In the above embodiments of the present application, the inference cluster includes: multiple model inference devices.
[0164] Among them, multiple model inference devices are used to determine the values of multiple sampling point sets in parallel based on the target model, wherein the multiple model inference devices correspond to the multiple sampling point sets one by one, and the multiple sampling point sets are obtained by dividing the sampling points; the processing device is also used to summarize the values of the multiple sampling point sets to obtain the values of the sampling points.
[0165] In the above embodiments of the present application, the server cluster further includes: a container device.
[0166] The container device is used to generate an implicit representation model based on image material and construct a first spatial index corresponding to the implicit representation model, wherein the image material is obtained by photographing a real object in a real environment.
[0167] Example 6
[0168] According to an embodiment of the present application, a three-dimensional object processing device for implementing the above-mentioned three-dimensional object processing method is also provided. Fig. 9is a schematic diagram of a three-dimensional object processing device according to Embodiment 6 of the present application, such as Fig. 9 As shown, the device includes: a capturing module 92 , a determining module 94 and a rendering module 96 .
[0169] Among them, the capture module is used to capture the observation perspective of observing three-dimensional objects, wherein the three-dimensional objects are used to represent virtual objects corresponding to real objects in the real environment; the determination module is used to determine the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object; the rendering module is used to render the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective.
[0170] It should be noted that the above-mentioned capture module 92, determination module 94 and rendering module 96 correspond to steps S302 to S306 in Example 1, and the three modules and the corresponding steps implement the same instances and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules or units may be hardware components or software components stored in a memory and processed by one or more processors, and the above-mentioned modules may also be part of the device and run in the AR / VR device provided in Example 1.
[0171] In the above embodiments of the present application, the determination module includes: a construction unit, a screening unit and a first determination unit.
[0172] Among them, the construction unit is used to construct a viewing cone corresponding to the observation perspective, wherein the viewing cone is used to represent the observation space range corresponding to the observation perspective; the screening unit is used to screen the implicit representation set within the viewing cone from the implicit representation model based on the first spatial index corresponding to the implicit representation model, wherein different spatial indexes contained in the first spatial index represent different spatial ranges corresponding to the implicit representation model; the first determination unit is used to determine the target model based on the implicit representation set.
[0173] In the above embodiments of the present application, the screening unit includes: an acquisition subunit, a first determination subunit and an addition subunit.
[0174] Among them, the acquisition subunit is used to obtain the spatial ranges corresponding to different spatial indexes; the first determination subunit is used to determine whether there is an intersection area between the spatial ranges corresponding to different spatial indexes and the visual cone; the addition subunit is used to add the implicit representation corresponding to the first spatial index to the implicit representation set when there is an intersection area between the spatial range corresponding to the first spatial index and the visual cone.
[0175] In the above embodiment of the present application, the determination module also includes: a division unit, an acquisition unit and a summary unit.
[0176] Among them, the division unit is used to divide the visual cone to obtain multiple subspace ranges; the acquisition unit is used to obtain sub-models corresponding to the multiple subspace ranges in parallel through multiple processing engines, wherein the multiple processing engines and the multiple subspace ranges correspond one to one; the summarization unit is used to summarize the sub-models to obtain the target model.
[0177] In the above embodiment of the present application, the rendering module includes: a sampling unit, a second determining unit, a first superimposing unit and a second superimposing unit.
[0178] Among them, the sampling unit is used to determine the sampling points within the viewing cone based on the observation perspective; the second determination unit is used to determine the values of the sampling points based on the target model; the first superposition unit is used to superimpose the values of the sampling points to obtain superimposed pixel values; the second superposition unit is used to superimpose the superimposed pixel values with the preset image to generate an observed image.
[0179] In the above embodiment of the present application, the second determining unit includes: a constructing subunit, a second determining subunit and a third determining subunit.
[0180] Among them, the construction subunit is used to construct a second spatial index based on the geometric envelope of the target model; the second determination subunit is used to determine the target implicit representation corresponding to the sampling point from the target model based on the second spatial index; the third determination subunit is used to determine the value of the sampling point based on the target implicit representation.
[0181] In the above embodiment of the present application, the second determination unit further includes: a division subunit, a fourth determination subunit and a summary subunit.
[0182] Among them, the division subunit finally divides the sampling points to obtain multiple sampling point sets; the fourth determination subunit is used to determine the values of the multiple sampling point sets based on the target model in parallel through multiple model inference devices, wherein the multiple model inference devices and the multiple sampling point sets correspond one to one; the aggregation subunit is used to aggregate the values of the multiple sampling point sets to obtain the values of the sampling points.
[0183] In the above embodiments of the present application, the device also includes: a shooting module, a generating module and a building module.
[0184] Among them, the shooting module is used to shoot real objects in a real environment to obtain image materials; the generation module is used to generate an implicit representation model based on the image materials; and the construction module is used to construct a first spatial index corresponding to the implicit representation model.
[0185] In the above embodiments of the present application, the construction module includes at least one of the following: a third determination unit and an extraction unit.
[0186] Among them, the third determination unit is used to determine the scene space range of the three-dimensional object in the real environment, and construct a first spatial index based on the scene space range; the extraction unit is used to extract the explicit envelope of the implicit representation model, and construct the first spatial index based on the explicit envelope.
[0187] Example 7
[0188] According to an embodiment of the present application, a three-dimensional object processing device for implementing the above-mentioned three-dimensional object processing method is also provided. Fig.10 is a schematic diagram of a three-dimensional object processing device according to Embodiment 7 of the present application, such as Fig.10 As shown, the device includes: a first display module 1002 and a second display module 1004 .
[0189] Among them, the first display module is used to respond to input instructions acting on the operation interface, and display three-dimensional objects on the operation interface, wherein the three-dimensional objects are used to represent virtual objects corresponding to real objects in the real environment; the second display module is used to respond to observation instructions acting on the operation interface, and display observation images corresponding to the observation instructions on the operation interface, wherein the observation image is rendered based on the observation perspective corresponding to the observation instruction, and the target model corresponding to the observation time is determined from the implicit representation model corresponding to the three-dimensional object based on the observation perspective.
[0190] It should be noted that the first display module 1002 and the second display module 1004 correspond to steps S402 to S404 in Example 2, and the two modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in Example 1. It should be noted that the above modules or units may be hardware components or software components stored in a memory and processed by one or more processors, and the above modules may also be part of a device and run in the AR / VR device provided in Example 1.
[0191] Example 8
[0192] According to an embodiment of the present application, a three-dimensional object processing device for implementing the above-mentioned three-dimensional object processing method is also provided. Fig.11 is a schematic diagram of a three-dimensional object processing device according to Embodiment 8 of the present application, such as Fig.11 As shown, the device includes: a display module 1102 , a capture module 1104 , a determination module 1106 , a rendering module 1108 and a driving module 11010 .
[0193] Among them, the display module is used to display three-dimensional objects on the presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the three-dimensional objects are used to represent virtual objects corresponding to real objects in the real environment; the capture module is used to capture the observation perspective of observing the three-dimensional objects; the determination module is used to determine the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object; the rendering module is used to render the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; the driving module is used to drive the VR device or AR device to render and display the observation image.
[0194] It should be noted that the display module 1102, the capture module 1104, the determination module 1106, the rendering module 1108 and the driving module 11010 correspond to steps S602 to S6010 in Example 3, and the two modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules or units may be hardware components or software components stored in a memory and processed by one or more processors, and the above-mentioned modules may also be part of the device and run in the AR / VR device provided in Example 1.
[0195] Example 9
[0196] According to an embodiment of the present application, a three-dimensional object processing device for implementing the above-mentioned three-dimensional object processing method is also provided. Fig.12 is a schematic diagram of a three-dimensional object processing device according to Embodiment 9 of the present application, such as Fig.12 As shown, the device includes: a calling module 1202 , a determining module 1204 , a rendering module 1206 and an output module 1208 .
[0197] Among them, the calling module is used to obtain the observation perspective by calling the first interface, wherein the first interface includes a first parameter, the parameter value of the first parameter is the observation perspective, the observation perspective is the perspective for observing the three-dimensional object, and the three-dimensional object is used to represent the virtual object corresponding to the real object in the real environment; the determination module is used to determine the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object; the rendering module is used to render the target model based on the observation perspective to obtain the observation image corresponding to the observation perspective; the output module is used to output the observation image by calling the second interface, wherein the second interface includes a second parameter, and the parameter value of the second parameter is the observation image.
[0198] It should be noted that the above-mentioned calling module 1202, determining module 1204, rendering module 1206 and output module 1208 correspond to steps S702 to S708 in Example 4, and the two modules and the corresponding steps implement the same instances and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules or units may be hardware components or software components stored in a memory and processed by one or more processors, and the above-mentioned modules may also be part of the device and run in the AR / VR device provided in Example 1.
[0199] Example 10
[0200] The embodiment of the present application may provide an AR / VR device, which may be any AR / VR device in an AR / VR device group. Optionally, in this embodiment, the AR / VR device may also be replaced by a terminal device such as a mobile terminal.
[0201] Optionally, in this embodiment, the AR / VR device may be located in at least one network device among a plurality of network devices of a computer network.
[0202] In this embodiment, the above-mentioned AR / VR device can execute the program code of the following steps in the three-dimensional object processing method: displaying the three-dimensional object on the presentation screen of the virtual reality VR device or the augmented reality AR device, wherein the three-dimensional object is used to represent the virtual object corresponding to the real object in the real environment; capturing the observation perspective of the three-dimensional object; determining the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object; rendering the target model based on the observation perspective to obtain the observation image corresponding to the observation perspective; driving the VR device or AR device to render and display the observation image.
[0203] Optionally, Fig.13 is a structural block diagram of a computer terminal according to an embodiment of the present application. Fig.13 As shown, the computer terminal A may include: one or more (only one is shown in the figure) processors 1302, a memory 1304, a storage controller, and a peripheral interface, wherein the peripheral interface is connected to a radio frequency module, an audio module, and a display.
[0204] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the three-dimensional object processing method and device in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned three-dimensional object processing method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the terminal A via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0205] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: capturing the observation perspective of observing the three-dimensional object, wherein the three-dimensional object is used to represent the virtual object corresponding to the real object in the real environment; determining the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object; rendering the target model based on the observation perspective to obtain the observation image corresponding to the observation perspective.
[0206] Optionally, the processor may also execute the program code of the following steps: constructing a viewing cone corresponding to the observation perspective, wherein the viewing cone is used to represent the observation space range corresponding to the observation perspective; based on the first spatial index corresponding to the implicit representation model, filtering an implicit representation set within the viewing cone from the implicit representation model, wherein different spatial indexes contained in the first spatial index represent different spatial ranges corresponding to the implicit representation model; and determining the target model based on the implicit representation set.
[0207] Optionally, the processor may also execute the program code of the following steps: obtaining the spatial ranges corresponding to different spatial indexes; determining whether there is an intersection area between the spatial ranges corresponding to different spatial indexes and the visual cone; and when there is an intersection area between the spatial range corresponding to the first spatial index and the visual cone, adding the implicit representation corresponding to the first spatial index to the implicit representation set.
[0208] Optionally, the processor may also execute the program code of the following steps: dividing the visual cone to obtain multiple subspace ranges; obtaining sub-models corresponding to the multiple subspace ranges in parallel through multiple processing engines, wherein the multiple processing engines correspond to the multiple subspace ranges one-to-one; and summarizing the sub-models to obtain the target model.
[0209] Optionally, the processor may also execute the program code of the following steps: determining the sampling points within the viewing cone based on the observation perspective; determining the values of the sampling points based on the target model; superimposing the values of the sampling points to obtain superimposed pixel values; and superimposing the superimposed pixel values with a preset image to generate an observed image.
[0210] Optionally, the processor may also execute program code of the following steps: constructing a second spatial index based on the geometric envelope of the target model; determining a target implicit representation corresponding to the sampling point from the target model based on the second spatial index; and determining a value of the sampling point based on the target implicit representation.
[0211] Optionally, the processor may also execute program code of the following steps: dividing the sampling points to obtain multiple sampling point sets; determining values of the multiple sampling point sets based on the target model in parallel through multiple model inference devices, wherein the multiple model inference devices correspond one to one to the multiple sampling point sets; and summarizing the values of the multiple sampling point sets to obtain the values of the sampling points.
[0212] Optionally, the processor may also execute program codes of the following steps: photographing real objects in a real environment to obtain image materials; generating an implicit representation model based on the image materials; and constructing a first spatial index corresponding to the implicit representation model.
[0213] Optionally, the processor may also execute a program code of one of the following steps: determining the scene space range of the three-dimensional object in the real environment, and constructing a first spatial index based on the scene space range; extracting the explicit envelope of the implicit representation model, and constructing a first spatial index based on the explicit envelope.
[0214] According to an embodiment of the present application, a method for capturing an observation perspective for observing a three-dimensional object is provided, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; a target model corresponding to the observation perspective is determined from an implicit representation model corresponding to the three-dimensional object; and the target model is rendered based on the observation perspective to obtain an observation image corresponding to the observation perspective. It is easy to notice that in a three-dimensional map scene, by capturing the observation perspective for observing the three-dimensional object and the implicit representation model constructed in advance, the target model to be rendered can be obtained quickly and accurately. Furthermore, the target model is rendered through the observation perspective, and the target model is based on a neural network, which can accurately and intuitively reflect the observation image in a visual manner, so that the observation image of the three-dimensional object corresponding to the observation perspective can be accurately generated, achieving the purpose of being able to accurately obtain the observation image corresponding to the three-dimensional object, thereby achieving the technical effect of improving the rendering accuracy of the three-dimensional object, and thus solving the technical problem of low rendering accuracy of the three-dimensional object in the related technology.
[0215] It can be understood by those skilled in the art that Fig.13The structure shown is for illustration only, and the computer terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Fig.13 The structure of the electronic device is not limited. For example, the computer terminal A may also include Fig.13 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Fig.13 Different configurations shown.
[0216] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0217] Example 6
[0218] The embodiment of the present application further provides a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium can be used to store the program code executed by the three-dimensional object processing method provided in the above embodiment 1.
[0219] Optionally, in this embodiment, the above-mentioned computer-readable storage medium can be located in any computer terminal in the AR / VR device terminal group in the AR / VR device network, or in any mobile terminal in the mobile terminal group.
[0220] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: capturing an observation perspective for observing a three-dimensional object, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; determining a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object; and rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective.
[0221] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program code for executing the following steps: constructing a viewing cone corresponding to the observation perspective, wherein the viewing cone is used to characterize the observation space range corresponding to the observation perspective; based on a first spatial index corresponding to the implicit representation model, filtering an implicit representation set within the viewing cone from the implicit representation model, wherein different spatial indexes contained in the first spatial index represent different spatial ranges corresponding to the implicit representation model; and determining a target model based on the implicit representation set.
[0222] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program code for executing the following steps: obtaining the spatial ranges corresponding to different spatial indexes; determining whether there is an intersection area between the spatial ranges corresponding to different spatial indexes and the visual cone; and when there is an intersection area between the spatial range corresponding to the first spatial index and the visual cone, adding the implicit representation corresponding to the first spatial index to the implicit representation set.
[0223] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program codes for executing the following steps: dividing the visual cone to obtain multiple subspace ranges; obtaining sub-models corresponding to the multiple subspace ranges in parallel through multiple processing engines, wherein the multiple processing engines and the multiple subspace ranges correspond one-to-one; and summarizing the sub-models to obtain a target model.
[0224] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program codes for executing the following steps: determining sampling points within the viewing cone based on the observation perspective; determining values of the sampling points based on the target model; superimposing the values of the sampling points to obtain superimposed pixel values; and superimposing the superimposed pixel values with a preset image to generate an observed image.
[0225] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program code for performing the following steps: constructing a second spatial index based on the geometric envelope of the target model; determining a target implicit representation corresponding to the sampling point from the target model based on the second spatial index; and determining the value of the sampling point based on the target implicit representation.
[0226] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program codes for executing the following steps: dividing the sampling points to obtain multiple sampling point sets; determining values of the multiple sampling point sets based on the target model in parallel through multiple model inference devices, wherein the multiple model inference devices and the multiple sampling point sets correspond one to one; and summarizing the values of the multiple sampling point sets to obtain values of the sampling points.
[0227] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program codes for executing the following steps: photographing real objects in a real environment to obtain image materials; generating an implicit representation model based on the image materials; and constructing a first spatial index corresponding to the implicit representation model.
[0228] Optionally, in this embodiment, the computer-readable storage medium is also configured to store program code for performing one of the following steps: determining the scene space range of the three-dimensional object in the real environment, and constructing a first spatial index based on the scene space range; extracting the explicit envelope of the implicit representation model, and constructing a first spatial index based on the explicit envelope.
[0229] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0230] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0231] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0232] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0233] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0234] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0235] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for processing a three-dimensional object, characterized in that: include: capturing an observation perspective for observing a three-dimensional object, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; Determining a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object; Rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; Wherein, determining the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object includes: Constructing a viewing cone corresponding to the observation viewing angle, wherein the viewing cone is used to characterize the observation space range corresponding to the observation viewing angle; The target model is determined based on the viewing cone and a first spatial index corresponding to the implicit representation model, wherein different spatial indexes contained in the first spatial index represent different spatial ranges corresponding to the implicit representation model.
2. The method according to claim 1, characterized in that: Determining the target model based on the first spatial index corresponding to the visual cone and the implicit representation model includes: Based on the first spatial index, filtering the implicit representation set within the visual cone from the implicit representation model; Based on the implicit representation set, the target model is determined.
3. The method according to claim 2, characterized in that Based on the first spatial index corresponding to the implicit representation model, the implicit representation set within the visual cone is filtered from the implicit representation model, including: Obtaining the spatial ranges corresponding to the different spatial indexes; Determine whether there is an intersection area between the spatial range corresponding to the different spatial indexes and the visual cone; When there is an intersection between the spatial range corresponding to the first spatial index and the viewing cone, the implicit representation corresponding to the first spatial index is added to the implicit representation set.
4. The method according to claim 2, characterized in that: After constructing the viewing cone corresponding to the observation viewing angle, the method further includes: Dividing the visual cone to obtain multiple subspace ranges; Acquire sub-models corresponding to the multiple sub-space ranges in parallel through multiple processing engines, wherein the multiple processing engines correspond to the multiple sub-space ranges one by one; The sub-models are summarized to obtain the target model.
5. The method according to claim 1, characterized in that: Rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective includes: Determining sampling points within the viewing cone based on the observation angle; Based on the target model, determining the value of the sampling point; Superimposing the values of the sampling points to obtain superimposed pixel values; The superimposed pixel values are superimposed on a preset image to generate the observed image.
6. The method according to claim 5, characterized in that Determining the value of the sampling point based on the target model includes: constructing a second spatial index based on the geometric envelope of the target model; Based on the second spatial index, determining the implicit representation of the target corresponding to the sampling point from the target model; Based on the target implicit representation, the value of the sampling point is determined.
7. The method according to claim 5, characterized in that Determining the value of the sampling point based on the target model includes: Dividing the sampling points to obtain multiple sampling point sets; Determine the values of the plurality of sampling point sets based on the target model in parallel by using a plurality of model inference devices, wherein the plurality of model inference devices correspond to the plurality of sampling point sets in one-to-one correspondence; The values of the plurality of sampling point sets are aggregated to obtain the value of the sampling point.
8. The method according to claim 1, characterized in that The method further comprises: Photographing the real object in the real environment to obtain image material; Based on the image material, generating the implicit representation model; Construct a first spatial index corresponding to the implicit representation model.
9. The method according to claim 8, characterized in that Constructing the first spatial index corresponding to the implicit representation model includes one of the following: Determine a scene space range of the three-dimensional object in the real environment, and construct the first spatial index based on the scene space range; An explicit envelope of the implicit representation model is extracted, and the first spatial index is constructed based on the explicit envelope.
10. A method for processing a three-dimensional object, characterized in that: include: In response to an input instruction acting on the operation interface, displaying a three-dimensional object on the operation interface, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; In response to an observation instruction applied on the operation interface, an observation image corresponding to the observation instruction is displayed on the operation interface, wherein the observation image is obtained by rendering a target model corresponding to the observation perspective based on the observation perspective corresponding to the observation instruction, and the target model is determined based on a first spatial index corresponding to a viewing cone corresponding to the observation perspective and an implicit representation model corresponding to the three-dimensional object, the viewing cone is used to represent the observation space range corresponding to the observation perspective, and different spatial indexes contained in the first spatial index represent different spatial ranges corresponding to the implicit representation model.
11. A method for processing a three-dimensional object, characterized in that: include: Displaying a three-dimensional object on a presentation screen of a virtual reality (VR) device or an augmented reality (AR) device, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; capturing an observation angle for observing the three-dimensional object; Determining a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object; Rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; Driving the VR device or the AR device to render and display the observed image; Wherein, determining the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object includes: Constructing a viewing cone corresponding to the observation viewing angle, wherein the viewing cone is used to characterize the observation space range corresponding to the observation viewing angle; The target model is determined based on the viewing cone and a first spatial index corresponding to the implicit representation model, wherein different spatial indexes contained in the first spatial index represent different spatial ranges corresponding to the implicit representation model.
12. A method for processing a three-dimensional object, characterized in that: include: Obtaining an observation angle by calling a first interface, wherein the first interface includes a first parameter, a parameter value of the first parameter is the observation angle, the observation angle is a angle for observing a three-dimensional object, and the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; Determining a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object; Rendering the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; Outputting the observed image by calling a second interface, wherein the second interface includes a second parameter, and a parameter value of the second parameter is the observed image; Wherein, determining the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object includes: Constructing a viewing cone corresponding to the observation viewing angle, wherein the viewing cone is used to characterize the observation space range corresponding to the observation viewing angle; The target model is determined based on the viewing cone and a first spatial index corresponding to the implicit representation model, wherein different spatial indexes contained in the first spatial index represent different spatial ranges corresponding to the implicit representation model.
13. A three-dimensional object processing system, characterized in that: include: A client device, configured to display a three-dimensional object and capture an observation angle for observing the three-dimensional object, wherein the three-dimensional object is used to represent a virtual object corresponding to a real object in a real environment; A server cluster connected to the client, configured to determine a target model corresponding to the observation perspective from an implicit representation model corresponding to the three-dimensional object, and render the target model based on the observation perspective to obtain an observation image corresponding to the observation perspective; The client device is also used to display the observed image; Wherein, determining the target model corresponding to the observation perspective from the implicit representation model corresponding to the three-dimensional object includes: Constructing a viewing cone corresponding to the observation viewing angle, wherein the viewing cone is used to characterize the observation space range corresponding to the observation viewing angle; The target model is determined based on the viewing cone and a first spatial index corresponding to the implicit representation model, wherein different spatial indexes contained in the first spatial index represent different spatial ranges corresponding to the implicit representation model.
14. An electronic device, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 12 when running.
