CN109920056B - Building rendering method, device, equipment and medium - Google Patents

Building rendering method, device, equipment and medium Download PDF

Info

Publication number
CN109920056B
CN109920056B CN201910203318.2A CN201910203318A CN109920056B CN 109920056 B CN109920056 B CN 109920056B CN 201910203318 A CN201910203318 A CN 201910203318A CN 109920056 B CN109920056 B CN 109920056B
Authority
CN
China
Prior art keywords
building
position data
rendering
map
surface area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910203318.2A
Other languages
Chinese (zh)
Other versions
CN109920056A (en
Inventor
胡俊霄
祝博
周志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Zhilian Beijing Technology Co Ltd
Original Assignee
Apollo Zhilian Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apollo Zhilian Beijing Technology Co Ltd filed Critical Apollo Zhilian Beijing Technology Co Ltd
Priority to CN201910203318.2A priority Critical patent/CN109920056B/en
Publication of CN109920056A publication Critical patent/CN109920056A/en
Application granted granted Critical
Publication of CN109920056B publication Critical patent/CN109920056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Generation (AREA)

Abstract

The embodiment of the invention discloses a building rendering method, a device, equipment and a medium, and relates to the field of three-dimensional electronic maps. The method comprises the following steps: acquiring surface position data of each building in a map region to be rendered; and uniformly rendering the surfaces with the same texture in each building according to the surface position data. The method, the device, the equipment and the medium for rendering the building provided by the embodiment of the invention realize that the rendering parameters do not need to be switched back and forth so as to render each building.

Description

Building rendering method, device, equipment and medium
Technical Field
The embodiment of the invention relates to the field of three-dimensional electronic maps, in particular to a building rendering method, a device, equipment and a medium.
Background
The three-dimensional electronic map has higher requirements on performance, while in the prior art, a server transmits coordinate data to a client by taking a building block as a unit, and the client analyzes the transmitted coordinate data. And integrally rendering the building according to the analysis data.
However, when the building is integrally rendered, the rendering parameters need to be modified because the textures of the top and side surfaces of the building are different. If a plurality of building blocks to be rendered exist, the rendering parameters need to be switched back and forth so as to render each building block integrally.
Disclosure of Invention
The embodiment of the invention provides a building rendering method, a device, equipment and a medium, which are used for rendering all building blocks without switching rendering parameters back and forth.
In a first aspect, an embodiment of the present invention provides a building rendering method, including:
acquiring surface position data of each building in a map region to be rendered;
and uniformly rendering the surfaces with the same texture in each building according to the surface position data.
Further, before the obtaining the surface position data of each building in the map area to be rendered, the method further includes:
according to the difference of textures, carrying out surface area division on each building in the region of the map to be rendered to generate a local surface area;
the position data of each local surface area is taken as the surface position data.
Further, before the step of using the position data of each local surface area as the surface position data, the method further includes:
matching the texture of each local surface area;
and according to the matching result, the position data of the local surface areas with the same texture are arranged together.
Further, according to the difference of textures, carrying out surface area division on each building in the map area to be rendered to generate a local surface area;
taking the position data of each local surface area as the surface position data;
according to the difference of textures, carrying out surface area division on each building in the region of the map to be rendered to generate a local surface area;
the operation of taking the position data of each local surface area as the surface position data is executed by a server.
Further, the step of using the position data of each local surface area as the surface position data includes:
according to the coordinate rendering sequence of the client to each local surface area, the coordinates of each local surface area are organized respectively, and a coordinate sequence is generated;
and converting the coordinate sequence into a data format used by client rendering to serve as the surface position data.
Further, before the obtaining the surface position data of each building in the map area to be rendered, the method further includes:
the server performs gridding on the map vector data to generate a map vector slice, and takes a map area to which the map vector slice belongs as a map area to be rendered;
and uniformly rendering the surfaces with the same texture in each building according to the surface position data, wherein the method comprises the following steps:
the client determines the screen coordinates of the surfaces of the buildings based on the coordinate mapping relation of the map vector slice in the world coordinate system and the screen coordinate system;
and the client uniformly renders the surfaces with the same texture in each building according to the screen coordinates.
In a second aspect, an embodiment of the present invention further provides a building rendering apparatus, the apparatus including:
the position data acquisition module is used for acquiring surface position data of each building in the map region to be rendered;
and the unified rendering module is used for uniformly rendering the surfaces with the same textures in the buildings according to the surface position data.
Further, the apparatus further comprises:
the surface area generating module is used for dividing the surface area of each building in the map area to be rendered according to the difference of textures before the surface position data of each building in the map area to be rendered are acquired, so as to generate a local surface area;
and the position data determining module is used for taking the position data of each local surface area as the surface position data.
Further, the apparatus further comprises:
a texture matching module, configured to match textures of each local surface area before the position data of each local surface area is used as the surface position data;
and the arrangement module is used for arranging the position data of the local surface areas with the same texture together according to the matching result.
Further, operations defined in the texture matching module, the arrangement module, the surface area generation module, and the position data determination module are performed by a server.
Further, the location data determining module includes:
the coordinate organization unit is used for organizing the coordinates of each local surface area according to the coordinate rendering sequence of the client to each local surface area, and generating a coordinate sequence;
and the format conversion unit is used for converting the coordinate sequence into a data format used by client rendering to serve as the surface position data.
Further, the apparatus further comprises:
the server side is used for meshing the map vector data before acquiring the surface position data of each building in the map region to be rendered, generating a map vector slice and taking the map region to which the map vector slice belongs as the map region to be rendered;
the unified rendering module comprises:
the screen coordinate determining unit is used for determining the screen coordinates of the surfaces of the buildings based on the coordinate mapping relation of the map vector slice in the world coordinate system and the screen coordinate system;
and the unified rendering unit is used for uniformly rendering the surfaces with the same texture in each building by the client according to the screen coordinates.
In a third aspect, an embodiment of the present invention further provides an apparatus, including:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the building rendering method according to any of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a building rendering method according to any of the embodiments of the present invention.
According to the embodiment of the invention, the surfaces with the same texture in each building are uniformly rendered according to the surface position data. Therefore, the rendering parameters do not need to be switched back and forth, and the rendering of each building is achieved.
Drawings
Fig. 1 is a flowchart of a building rendering method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a building rendering method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a building rendering device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device according to a fifth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a building rendering method according to an embodiment of the present invention. The embodiment can be suitable for the situation of rendering different buildings in a three-dimensional scene, and the different buildings have the same local textures. Typically, the present embodiment is applicable to the case of rendering the inherent texture of the building blocks in the three-dimensional electronic map, in which the top surface of each building block has the same inherent texture and the side surfaces of each building block have the same inherent texture. The method may be performed by a building rendering device, which may be implemented in software and/or hardware. Referring to fig. 1, the building rendering method provided in this embodiment includes:
s110, acquiring surface position data of each building in the map region to be rendered.
The map area to be rendered is a map area range to be rendered.
Alternatively, the entire map area may be regarded as the map area to be rendered, and the partial map area may be regarded as the map area to be rendered.
Since the data amount of the entire map area is large, the pressure of data transmission and processing is caused. To solve this problem, the determination of the map area to be rendered includes:
the server performs gridding on the map vector data to generate a map vector slice, and takes a map area to which the map vector slice belongs as a map area to be rendered.
Wherein, the gridding mesh size is determined according to actual need.
The surface position data of each building means data describing the position to which the surface of the building belongs.
Alternatively, the surface position data of each building may be building surface position data in building units; or surface position data in units of local surfaces of the building.
Typically, the building may be a building block. The surface location data for a building may be in units of a building block, including boundary coordinates for each face of the building block. The surface position data of the building may also be boundary coordinates in units of the floor side and the floor top.
And S120, uniformly rendering the surfaces with the same texture in each building according to the surface position data.
Specifically, the texture is an inherent texture of the building determined by the client.
If the surface position data is surface position data in units of buildings, after the surface position data is acquired, a local surface with the same texture in each building is rendered, and then the rest of each building is rendered.
For example, the building is a building block, and the top surface textures of different building blocks are the same, and the side surface textures of different building blocks are the same. After the surface position data of the current building taking the building block as a unit is obtained, rendering is carried out based on the surface position data of the current building block, if the top surface of the current building block is firstly rendered, the surface position data of the next building block is obtained, and the top surface of the next building block is rendered based on the surface position data of the next building block. Accordingly, top surface rendering of all floors in the map area to be rendered is completed. And then switching the rendering parameters to render the side surfaces of all building blocks in the map region to be rendered.
Specifically, the uniformly rendering the surface with the same texture in each building according to the surface position data comprises the following steps:
the client determines the screen coordinates of the surfaces of the buildings based on the coordinate mapping relation of the map vector slice in the world coordinate system and the screen coordinate system;
and the client uniformly renders the surfaces with the same texture in each building according to the screen coordinates.
Typically, the execution subjects of S110 and S120 are clients.
According to the technical scheme, the surfaces with the same texture in each building are uniformly rendered according to the surface position data. Thereby realizing the rendering of each building without switching the rendering parameters back and forth
Example two
Fig. 2 is a flowchart of a building rendering method according to a second embodiment of the present invention. This embodiment is an alternative to the embodiments described above. Referring to fig. 2, the method for rendering a building provided in this embodiment includes:
and S210, dividing the surface area of each building in the map area to be rendered according to the difference of textures, and generating a local surface area.
Wherein, the local surface area refers to a part of the surface area of the building, which has the same texture as the surface area of other buildings.
Specifically, if the building is a building and the top surface texture of different building blocks is the same, the side surface texture of different building blocks is the same, the local surface area may be a side surface area of the building block or a top surface area of the building block.
Specifically, according to differences in textures, performing surface area division on each building in the map area to be rendered includes:
texture matching of different building surface areas, and the surface area with consistent texture matching is taken as a local surface area.
S220, taking the position data of each local surface area as the surface position data of the building.
In particular, the position data of the respective local surface areas may be boundary coordinates of the respective local surface areas.
S230, acquiring surface position data of each building in the map region to be rendered.
And S240, uniformly rendering the surfaces with the same texture in each building according to the surface position data.
According to the technical scheme, according to the difference of textures, the surface areas of the buildings in the map area to be rendered are divided, and a local surface area is generated; the position data of each local surface area is taken as the surface position data of the building. Therefore, the uniform rendering of the surfaces with the same texture in each building is realized by taking the local surface area of the building as a unit, and the determination of the surfaces with the same texture from the surface position data taking the building as a unit is avoided, so that the rendering efficiency is improved.
To further improve the rendering efficiency, before the position data of each local surface area is used as the surface position data, the method further includes:
matching the texture of each local surface area;
and according to the matching result, the position data of the local surface areas with the same texture are arranged together.
Through the method, the client can render based on the received data directly according to the receiving sequence of the data.
Specifically, the step of using the position data of each local surface area as the surface position data includes:
according to the coordinate rendering sequence of the client to each local surface area, the coordinates of each local surface area are organized respectively, and a coordinate sequence is generated;
and converting the coordinate sequence into a data format used by client rendering to serve as the surface position data.
Alternatively, the execution subject of the two steps may be a client or a server.
Specifically, S210, S220, S230, and S240 are each performed by a client.
To relieve the computational pressure of the client, executing S210, S220 and matching the textures of the local surface areas by the server; and (3) according to the matching result, arranging the position data of the local surface areas with the same texture together.
Example III
The present embodiment is an alternative proposal provided on the basis of the above embodiment by taking a building as a building block, wherein the top surfaces of the building blocks have the same texture, and the side surfaces of the building blocks have the same texture. The building rendering method provided by the embodiment comprises the following steps:
the server performs gridding on the map vector data to generate map vector slices;
specifically, the map vector data may be gridded based on the display scale and the set grid size.
The server divides the top surface and the side surface of the building block according to the texture characteristics so as to be convenient for the client to directly use;
the server organizes the top surface coordinates and the side surface coordinates of the building in the map vector slice according to the coordinate rendering sequence of the client to the surfaces of the building, and generates a top surface coordinate sequence and a side surface coordinate sequence;
the server side converts the top surface coordinate sequence and the side surface coordinate sequence into a data format for rendering by the client side and sends the data format to the client side;
specifically, the data format used by the client rendering may be a provuffer data format.
The client side determines the top surface screen coordinates and the side surface screen coordinates of the building block based on the coordinate mapping relation of the map vector slice in the world coordinate system and the screen coordinate system and the received top surface coordinate sequence and side surface coordinate sequence;
and the client performs unified texture rendering on the top surface of each building and the side surface of each building in the map vector slice according to the determined top surface screen coordinates and the determined side surface screen coordinates.
Specifically, the client performs building block rendering based on opengl, so that three-dimensional building block rendering is realized.
According to the technical scheme, the server side transmits the coordinate data to the client side by taking the floors with the same texture as a unit, and the client side uniformly renders the floors with the same texture in each building based on the transmitted coordinate data. Therefore, the 3D building block has the problem that the drawing environment needs to be adjusted repeatedly in the drawing process due to different texture types.
The server combines the coordinate data of all the surfaces of the building block and converts the data format, so that the client can render directly based on the coordinate data of all the surfaces of the building block, thereby reducing the reorganization time of the client data and reducing the memory loss of the CPU of the client.
It should be noted that, after the technical teaching of this embodiment, a person skilled in the art is motivated to combine schemes of any implementation manners described in the foregoing embodiments, so as to implement rendering of each building without switching the rendering parameters back and forth.
Example IV
Fig. 3 is a schematic structural diagram of a building rendering device according to a third embodiment of the present invention. Referring to fig. 3, the building rendering apparatus provided in this embodiment includes: a location data acquisition module 10 and a unified rendering module 20.
The position data acquisition module 10 is used for acquiring surface position data of each building in the map region to be rendered;
and the unified rendering module 20 is used for uniformly rendering the surfaces with the same texture in each building according to the surface position data.
According to the technical scheme, the surfaces with the same texture in each building are uniformly rendered according to the surface position data. Therefore, the rendering of each building block is realized without switching the rendering parameters back and forth.
Further, the device also comprises a surface area generating module and a position data determining module.
The surface area generating module is used for dividing the surface area of each building in the map area to be rendered according to the difference of textures before the surface position data of each building in the map area to be rendered are acquired, so as to generate a local surface area;
and the position data determining module is used for taking the position data of each local surface area as the surface position data.
Further, the apparatus further comprises: and the texture matching module and the arrangement module.
The texture matching module is used for matching textures of the local surface areas before the position data of the local surface areas are used as the surface position data;
and the arrangement module is used for arranging the position data of the local surface areas with the same texture together according to the matching result.
Further, the operations of the surface area generating module, the position data determining module, the texture matching module and the arranging module are executed by a server.
Further, the location data determining module includes: and the coordinate organization unit and the format conversion unit.
The system comprises a coordinate organization unit, a coordinate generation unit and a coordinate generation unit, wherein the coordinate organization unit is used for respectively organizing the coordinates of each local surface area according to the coordinate rendering sequence of each local surface area by a client to generate a coordinate sequence;
and the format conversion unit is used for converting the coordinate sequence into a data format used by client rendering to serve as the surface position data.
Further, the apparatus further comprises: and (5) meshing the modules.
The server side is used for meshing the map vector data before acquiring the surface position data of each building in the map region to be rendered, generating a map vector slice and taking the map region to which the map vector slice belongs as the map region to be rendered;
the unified rendering module comprises: and a screen coordinate determining unit and a unified rendering unit.
The system comprises a screen coordinate determining unit, a map vector slice processing unit and a map vector slice processing unit, wherein the screen coordinate determining unit is used for determining the screen coordinates of the surfaces of all the buildings based on the coordinate mapping relation of the map vector slice in a world coordinate system and a screen coordinate system;
and the unified rendering unit is used for uniformly rendering the surfaces with the same texture in each building by the client according to the screen coordinates.
The building rendering device provided by the embodiment of the invention can execute the building rendering method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
Fig. 4 is a schematic structural diagram of a device according to a fifth embodiment of the present invention. Fig. 4 shows a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 4 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 4, device 12 is in the form of a general purpose computing device. Components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with device 12, and/or any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, via network adapter 20. As shown, network adapter 20 communicates with other modules of device 12 over bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a building rendering method provided by an embodiment of the present invention.
Example six
A sixth embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a building rendering method according to any one of the present embodiments, the method comprising:
acquiring surface position data of each building in a map region to be rendered;
and uniformly rendering the surfaces with the same texture in each building according to the surface position data.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

1. A method of building rendering comprising:
the server performs gridding on the map vector data to generate a map vector slice, and takes a map area to which the map vector slice belongs as a map area to be rendered;
acquiring surface position data of each building in a map region to be rendered;
the client determines the screen coordinates of the surfaces of the buildings based on the coordinate mapping relation of the map vector slice in the world coordinate system and the screen coordinate system;
and the client uniformly renders the surfaces with the same texture in each building according to the screen coordinates.
2. The method of claim 1, wherein prior to the acquiring surface location data for each building within the map region to be rendered, the method further comprises:
according to the difference of textures, carrying out surface area division on each building in the region of the map to be rendered to generate a local surface area;
the position data of each local surface area is taken as the surface position data.
3. The method of claim 2, wherein prior to said taking the location data of each local surface area as the surface location data, the method further comprises:
matching the texture of each local surface area;
and according to the matching result, the position data of the local surface areas with the same texture are arranged together.
4. The method of claim 2, wherein said taking the location data of each local surface area as the surface location data comprises:
according to the coordinate rendering sequence of the client to each local surface area, the coordinates of each local surface area are organized respectively, and a coordinate sequence is generated;
and converting the coordinate sequence into a data format used by client rendering to serve as the surface position data.
5. A building rendering apparatus, comprising:
before acquiring the surface position data of each building in the map region to be rendered, the server performs gridding on the map vector data to generate a map vector slice, and takes the map region to which the map vector slice belongs as the map region to be rendered;
the position data acquisition module is used for acquiring surface position data of each building in the map region to be rendered;
a unified rendering module, comprising:
the screen coordinate determining unit is used for determining the screen coordinates of the surfaces of the buildings based on the coordinate mapping relation of the map vector slice in the world coordinate system and the screen coordinate system;
and the unified rendering unit is used for uniformly rendering the surfaces with the same texture in each building by the client according to the screen coordinates.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the surface area generating module is used for dividing the surface area of each building in the map area to be rendered according to the difference of textures before the surface position data of each building in the map area to be rendered are acquired, so as to generate a local surface area;
and the position data determining module is used for taking the position data of each local surface area as the surface position data.
7. The apparatus of claim 6, wherein the apparatus further comprises:
a texture matching module, configured to match textures of each local surface area before the position data of each local surface area is used as the surface position data;
and the arrangement module is used for arranging the position data of the local surface areas with the same texture together according to the matching result.
8. The apparatus of claim 6, wherein the location data determination module comprises:
the coordinate organization unit is used for organizing the coordinates of each local surface area according to the coordinate rendering sequence of the client to each local surface area, and generating a coordinate sequence;
and the format conversion unit is used for converting the coordinate sequence into a data format used by client rendering to serve as the surface position data.
9. A building rendering apparatus, the apparatus comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the building rendering method of any of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the building rendering method according to any one of claims 1-4.
CN201910203318.2A 2019-03-18 2019-03-18 Building rendering method, device, equipment and medium Active CN109920056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910203318.2A CN109920056B (en) 2019-03-18 2019-03-18 Building rendering method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910203318.2A CN109920056B (en) 2019-03-18 2019-03-18 Building rendering method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN109920056A CN109920056A (en) 2019-06-21
CN109920056B true CN109920056B (en) 2023-08-01

Family

ID=66965302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910203318.2A Active CN109920056B (en) 2019-03-18 2019-03-18 Building rendering method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109920056B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112129314A (en) * 2019-06-25 2020-12-25 上海擎感智能科技有限公司 Map display method and device
CN110321854B (en) * 2019-07-05 2021-12-24 阿波罗智联(北京)科技有限公司 Method and apparatus for detecting target object
CN112001994B (en) * 2020-07-16 2024-04-05 厦门亿力吉奥信息科技有限公司 Method, device and storage medium for optimizing dynamic rendering of three-dimensional scene of power system
CN112614221A (en) * 2020-12-29 2021-04-06 北京百度网讯科技有限公司 High-precision map rendering method and device, electronic equipment and automatic driving vehicle
CN113538686B (en) * 2021-09-15 2021-12-17 深圳市华付信息技术有限公司 Regional building 3D modeling method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101228412A (en) * 2005-07-21 2008-07-23 波音公司 System and method for data mapping and map discrepancy reporting
CN101782925A (en) * 2009-01-20 2010-07-21 阿尔卡特朗讯公司 Method, device and storage medium for displaying a map
CN103959339A (en) * 2011-10-12 2014-07-30 谷歌公司 Use of banding to optimize map rendering in a three-dimensional tilt view
CN104658039A (en) * 2015-02-12 2015-05-27 南京市测绘勘察研究院有限公司 Urban digital map three-dimensional modeling manufacturing method
CN109163730A (en) * 2018-08-02 2019-01-08 武汉中海庭数据技术有限公司 A kind of management method and device of automatic Pilot accurately diagram data gridding

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1410910A (en) * 1971-09-30 1975-10-22 Bpb Industries Ltd Treatment of wood-wool slabs
JP3970866B2 (en) * 2004-05-28 2007-09-05 大建工業株式会社 Method for producing wooden decorative sheet
US20080104531A1 (en) * 2006-09-29 2008-05-01 Stambaugh Thomas M Spatial organization and display of enterprise operational integration information
US9454847B2 (en) * 2009-02-24 2016-09-27 Google Inc. System and method of indicating transition between street level images
CN102223525B (en) * 2010-04-13 2014-02-19 富士通株式会社 Video decoding method and system
US9140792B2 (en) * 2011-06-01 2015-09-22 GM Global Technology Operations LLC System and method for sensor based environmental model construction
US20130035853A1 (en) * 2011-08-03 2013-02-07 Google Inc. Prominence-Based Generation and Rendering of Map Features
WO2014165646A1 (en) * 2013-04-03 2014-10-09 The General Hospital Corporation Mapping cardiac tissue architecture systems and methods
CN103823553B (en) * 2013-12-18 2017-08-25 微软技术许可有限责任公司 The augmented reality of the scene of surface behind is shown
JP7053259B6 (en) * 2014-08-08 2022-06-01 コーニンクレッカ フィリップス エヌ ヴェ Methods and equipment for encoding HDR images
CN104157011A (en) * 2014-09-05 2014-11-19 电子科技大学 Modeling method for three-dimensional terrain
EP2996086A1 (en) * 2014-09-12 2016-03-16 Kubity System, method and computer program product for automatic optimization of 3d textured models for network transfer and real-time rendering
CN105763885B (en) * 2014-12-19 2020-05-12 艾迪普(北京)文化科技股份有限公司 Method and device for releasing three-dimensional image-text information in real time
GB2546286B (en) * 2016-01-13 2020-02-12 Sony Interactive Entertainment Inc Apparatus and method of image rendering
CN106570922A (en) * 2016-08-25 2017-04-19 浙江科澜信息技术有限公司 Method for improving three-dimensional model rendering performance
CN108205960B (en) * 2016-12-19 2020-10-30 北京四维图新科技股份有限公司 Method and device for rendering characters, electronic map making system and navigation system
CN107358643B (en) * 2017-07-04 2020-08-14 网易(杭州)网络有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN108932742B (en) * 2018-07-10 2022-09-09 北京航空航天大学 Large-scale infrared terrain scene real-time rendering method based on remote sensing image classification
CN109388467B (en) * 2018-09-30 2022-12-02 阿波罗智联(北京)科技有限公司 Map information display method, map information display device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101228412A (en) * 2005-07-21 2008-07-23 波音公司 System and method for data mapping and map discrepancy reporting
CN101782925A (en) * 2009-01-20 2010-07-21 阿尔卡特朗讯公司 Method, device and storage medium for displaying a map
CN103959339A (en) * 2011-10-12 2014-07-30 谷歌公司 Use of banding to optimize map rendering in a three-dimensional tilt view
CN104658039A (en) * 2015-02-12 2015-05-27 南京市测绘勘察研究院有限公司 Urban digital map three-dimensional modeling manufacturing method
CN109163730A (en) * 2018-08-02 2019-01-08 武汉中海庭数据技术有限公司 A kind of management method and device of automatic Pilot accurately diagram data gridding

Also Published As

Publication number Publication date
CN109920056A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN109920056B (en) Building rendering method, device, equipment and medium
CN106846497B (en) Method and device for presenting three-dimensional map applied to terminal
CN109766319B (en) Compression task processing method and device, storage medium and electronic equipment
CN103679813B (en) The construction method of three-dimensional digital earth and three-dimensional digital earth system
WO2023207356A1 (en) Image rendering method and apparatus, device, and storage medium
US20150012644A1 (en) Performance measurement method, storage medium, and performance measurement device
CN112954391A (en) Video editing method and device and electronic equipment
US10255720B1 (en) Hybrid mesh from 2.5D and 3D point data
CN109445760B (en) Image rendering method and system
CN110807111A (en) Three-dimensional graph processing method and device, storage medium and electronic equipment
CN113971307A (en) Incidence relation generation method and device, storage medium and electronic equipment
CN110435154A (en) For the image processing method of 3D printing, device, electronic equipment and storage medium
CN114004972A (en) Image semantic segmentation method, device, equipment and storage medium
CN110288523B (en) Image generation method and device
CN116863078A (en) Three-dimensional human body model reconstruction method, three-dimensional human body model reconstruction device, electronic equipment and readable medium
CN116452720A (en) Rendering graph generation method, rendering graph generation device, computer equipment and medium thereof
CN109241059A (en) A kind of building method of point cloud data, device, electronic equipment and storage medium
CN110083357B (en) Interface construction method, device, server and storage medium
KR102161950B1 (en) Hologram Generation Method Using Segmentation
CN111882629A (en) Image rendering method, device and equipment and storage medium
CN106530216B (en) Full-view image document handling method and system
CN115457180A (en) Three-dimensional terrain gradient rendering method and device, electronic equipment and storage medium
CN111354070A (en) Three-dimensional graph generation method and device, electronic equipment and storage medium
CN111862053B (en) Method, device, equipment and medium for searching gap
CN116385612B (en) Global illumination representation method and device under indoor scene and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20211018

Address after: 100176 101, floor 1, building 1, yard 7, Ruihe West 2nd Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Applicant after: Apollo Zhilian (Beijing) Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant