CN108510433B - Space display method and device and terminal - Google Patents
Space display method and device and terminal Download PDFInfo
- Publication number
- CN108510433B CN108510433B CN201710112689.0A CN201710112689A CN108510433B CN 108510433 B CN108510433 B CN 108510433B CN 201710112689 A CN201710112689 A CN 201710112689A CN 108510433 B CN108510433 B CN 108510433B
- Authority
- CN
- China
- Prior art keywords
- picture
- point
- dimensional model
- click
- determining
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000008569 process Effects 0.000 claims description 17
- 230000004044 response Effects 0.000 claims description 10
- 230000000694 effects Effects 0.000 abstract description 6
- 238000007654 immersion Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/08—Projecting images onto non-planar surfaces, e.g. geodetic screens
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A space display method, a device and a terminal are provided, wherein the space display method comprises the following steps: when the three-dimensional model of the space object is displayed, determining a first click point based on a first click operation of a user on the three-dimensional model; and determining a first picture of the space object according to the position of the first click point, and switching to display the three-dimensional model into display of at least one part of the first picture. By adopting the technical scheme of the invention, the display effect of space display can be improved.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a space display method, a space display device and a space display terminal.
Background
For spatial representation, existing solutions either represent the three-dimensional model purely or represent the panorama purely. The three-dimensional model can display the three-dimensional structure of the space to be displayed; and the panoramic image can well show the color information of the space.
However, the way of simply presenting a three-dimensional model is very large in data volume; if the data amount of the model is reduced by compression, it is difficult to reveal detailed information that is sufficiently satisfactory to the user. The solution of using only the panoramic image can only provide two-dimensional picture information, but cannot provide related information of a three-dimensional structure, and the direct skipping of the picture requires a large amount of manual labeling, so that the efficiency is very low.
Disclosure of Invention
The technical problem solved by the invention is how to improve the display effect of space display.
In order to solve the above technical problem, an embodiment of the present invention provides a space display method, where the space display method includes: when the three-dimensional model of the space object is displayed, determining a first click point based on a first click operation of a user on the three-dimensional model; and determining a first picture of the space object according to the position of the first click point, and switching to display the three-dimensional model into display of at least one part of the first picture.
Optionally, the determining a first picture of the spatial object according to the position of the first click point includes: forming a ray according to the first click point, wherein the starting point of the ray is the first click point, and the extending direction of the ray is the view angle direction when the three-dimensional model is displayed; determining all intersection points of the rays and the three-dimensional model, and determining a first intersection point, wherein the first intersection point is the intersection point which is closest to the first click point in all the intersection points; searching a first shooting position closest to the first intersection point, and taking a shooting picture of the space object corresponding to the first shooting position as the first picture.
Optionally, the first picture is a panorama; the switching to show the three-dimensional model to show at least a portion of the first picture comprises: and switching to show the three-dimensional model to show the part of the first picture within the view angle range defined by the ray.
Optionally, the spatial display method further includes: responding to a second clicking operation of the user in the first picture, and determining a second clicking point; and determining a second picture of the space object according to the position of the second click point, and switching to display the second picture.
Optionally, the determining the second picture according to the position of the second click point includes: determining a second shooting position closest to the second click point according to the position of the second click point; and taking the shot picture of the space object corresponding to the second shooting position as the second picture.
Optionally, the switching to display the second picture includes: responding to the second click operation, and projecting the first picture and the second picture on the three-dimensional model according to respective shooting positions; in the moving process of the observation point formed in response to the second click operation, switching to show the projection results of the first picture and the second picture projected on the three-dimensional model; and after the moving process of the observation point is finished, switching to display the second picture.
In order to solve the above technical problem, an embodiment of the present invention further discloses a space display apparatus, including:
the system comprises a first click point determining module, a first click point determining module and a second click point determining module, wherein the first click point determining module is suitable for determining a first click point based on a first click operation of a user on a three-dimensional model when the three-dimensional model of a space object is displayed; and the switching display module is suitable for determining a first picture of the space object according to the position of the first click point and switching to display the three-dimensional model into displaying at least one part of the first picture.
Optionally, the switching display module includes: a ray forming unit, adapted to form a ray according to the first click point, where a starting point of the ray is the first click point, and an extending direction of the ray is a view direction when the three-dimensional model is displayed; the intersection point determining unit is suitable for determining all intersection points of the ray and the three-dimensional model and determining a first intersection point, wherein the first intersection point is the intersection point which is closest to the first click point in all the intersection points; and the first picture determining unit is suitable for searching a first shooting position closest to the first intersection point, and taking a shooting picture of the space object corresponding to the first shooting position as the first picture.
Optionally, the first picture is a panorama; the switching display module comprises: and the switching display unit is suitable for switching to display the three-dimensional model into a part of the first picture within the view angle range defined by the ray.
Optionally, the space display apparatus further includes: the second click point determining module is suitable for responding to a second click operation of the user in the first picture and determining a second click point; and the picture switching module is suitable for determining a second picture of the space object according to the position of the second click point and switching to display the second picture.
Optionally, the image switching module includes: the second shooting position determining unit is suitable for determining a second shooting position closest to the second click point according to the position of the second click point; and the second picture determining unit is suitable for taking the shot picture of the space object corresponding to the second shooting position as the second picture.
Optionally, the image switching module includes: the projection unit is suitable for responding to the second click operation and projecting the first picture and the second picture to the three-dimensional model according to respective shooting positions; the switching display unit is suitable for switching to display the projection results of the first picture and the second picture projected on the three-dimensional model in the observation point moving process formed in response to the second clicking operation; and the picture switching unit is suitable for switching to display the second picture after the observation point moving process is finished.
In order to solve the technical problem, the embodiment of the invention also discloses a terminal, and the terminal comprises the space display device.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
when a three-dimensional model of a space object is displayed, determining a first click point based on a first click operation of a user on the three-dimensional model; and determining a first picture of the space object according to the position of the first click point, and switching to display the three-dimensional model into display of at least one part of the first picture. According to the technical scheme, the first picture of the space object is determined according to the position of the first click point determined by the user through the first click operation on the three-dimensional model, so that the three-dimensional model is displayed by switching to display at least one part of the first picture, the three-dimensional structure of the space object can be displayed through the three-dimensional model, and in addition, the details of the space object can be displayed through the first picture. By combining the three-dimensional model and the picture for display, the advantages of panoramic display and model display are integrated, and the display effect of space display is improved.
Further, switching to show the second picture comprises: responding to the second click operation, and projecting the first picture and the second picture on the three-dimensional model according to respective shooting positions; in the moving process of the observation point formed in response to the second click operation, switching to show the projection results of the first picture and the second picture projected on the three-dimensional model; and after the moving process of the observation point is finished, switching to display the second picture. According to the technical scheme, the first picture and the second picture are projected to the three-dimensional model according to the respective shooting positions, and the projection results are displayed in a switching mode, so that the fluency and the immersion sense of the pictures during switching display are further improved, and the user experience is optimized.
Drawings
FIG. 1 is a flow chart of a space displaying method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a space display apparatus according to an embodiment of the present invention.
Detailed Description
As described in the background art, the data size is very large in the manner of simply presenting a three-dimensional model in the prior art; if the data amount of the model is reduced by compression, it is difficult to reveal detailed information that is sufficiently satisfactory to the user. The solution of using only the panoramic image can only provide two-dimensional image information, and cannot provide a three-dimensional structure, and the direct skipping of the images needs a large amount of manual labeling, so that the efficiency is very low.
According to the embodiment of the invention, the first picture of the space object is determined according to the position of the first click point determined by the first click operation of the three-dimensional model by the user, so that the three-dimensional model is displayed by switching to display at least one part of the first picture, the three-dimensional structure of the space object can be displayed through the three-dimensional model, and in addition, the details of the space object can be displayed through the first picture. By means of the mode of combining the three-dimensional model and the picture for display, the advantages of panoramic display and model display are combined, and the display effect of space display is improved.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 is a flowchart of a space display method according to an embodiment of the present invention.
The space exhibition method shown in fig. 1 may include the steps of:
step S101: when the three-dimensional model of the space object is displayed, determining a first click point based on a first click operation of a user on the three-dimensional model;
step S102: and determining a first picture of the space object according to the position of the first click point, and switching to display the three-dimensional model into display of at least one part of the first picture.
In this embodiment, when the three-dimensional model of the spatial object is displayed, the three-dimensional model may be displayed from a plurality of angles, such as a front view, a side view, a top view, or other angles determined by operations such as dragging by a user. Due to the different display angles of the three-dimensional model, the viewing angle of the user for observing the three-dimensional model is different.
In a specific implementation, the spatial object may have a three-dimensional structure, and may further have color information and texture information. The three-dimensional model of the space object can show the three-dimensional structure information of the space object so as to provide abundant three-dimensional space information for a user; the picture of the spatial object can show the color information and the texture information of the spatial object. Specifically, the spatial object may be any object having a three-dimensional structure, color information, and texture information, for example, a building, an apartment, or the like.
In a specific implementation, a user may click on various locations in a three-dimensional model while the three-dimensional model of a spatial object is presented. In step S101, a first click point is determined based on a first click operation of the three-dimensional model by the user. Specifically, when the three-dimensional model of the spatial object is displayed on the display screen, the user may click on the screen, and in step S101, the contact point between the user and the screen may be determined as the first click point.
In a specific implementation, the spatial object may have a plurality of pictures, and each picture may represent texture information and/or color information of a partial structure of the spatial object. In step S102, a first picture of the spatial object is determined according to the position of the first click point. That is, by the position of the first click point, the picture to be presented, i.e., the first picture, can be determined. Then, in step S102, the three-dimensional model is switched to be displayed to display at least a part of the first picture. In other words, the presentation of the three-dimensional model may be switched to the presentation of at least a part of the first picture to switch from the three-dimensional structure of the presentation space object to the texture information and/or the color information of the presentation space object, enabling an all-around presentation of the space object.
In this embodiment, the first picture of the space object is determined according to the position of the first click point determined by the first click operation of the user on the three-dimensional model, so that the display of the three-dimensional model is switched to display at least a part of the first picture, and further, the three-dimensional structure of the space object can be displayed through the three-dimensional model, and in addition, the details of the space object can be displayed through the first picture. By means of the mode of combining the three-dimensional model and the picture for display, the advantages of panoramic display and model display are combined, and the display effect of space display is improved. In other words, by using the three-dimensional model to display the whole three-dimensional structure of the space object, when the user needs detailed requirements, the user can jump to the picture display.
Preferably, step S102 may include the steps of: forming a ray according to the first click point, wherein the starting point of the ray is the first click point, and the extending direction of the ray is the view angle direction when the three-dimensional model is displayed; determining all intersection points of the rays and the three-dimensional model, and determining a first intersection point, wherein the first intersection point is the intersection point which is closest to the first click point in all the intersection points; searching a first shooting position closest to the first intersection point, and taking a shooting picture of the space object corresponding to the first shooting position as the first picture.
In a specific implementation, the three-dimensional model can be displayed from multiple angles during displaying, that is, there is a viewing angle direction during displaying the three-dimensional model. For example, the viewing direction may be a direction of a user's gaze relative to the three-dimensional model, and may be represented, for example, by an angle between the user's gaze direction and a reference line (e.g., normal, axis, etc.) of the three-dimensional model. Specifically, a first click point and a view direction when the three-dimensional model is displayed may form a ray, a starting point of the ray is the first click point, and an extending direction of the ray is the view direction when the three-dimensional model is displayed.
In a specific implementation, the ray has at least one intersection with the three-dimensional model. Specifically, the intersection point of the ray and the three-dimensional model may be an intersection point of the ray and a plane in the three-dimensional model, or an intersection point of the ray and a line in the three-dimensional model. For example, when the space object is an indoor space, the at least one intersection point may be a point of a ray and a wall surface of a living room, and a point of a floor surface of a bedroom, respectively. The first intersection point is an intersection point closest to the first click point among all the intersection points, and for example, the first intersection point is a point between a ray and a wall surface of a living room.
In a specific implementation, the spatial object may have a plurality of shooting positions, so as to perform comprehensive picture acquisition on a plurality of parts of the spatial object. Further, a first shooting position closest to the first intersection point may be searched, and a shooting picture of the spatial object at the first shooting position may be taken as the first picture, so as to display at least a part of the first picture. It should be noted that each shooting position may correspond to at least one picture taken at the shooting position.
Specifically, the first photographing position may be a position of the image pickup apparatus, so the first photographing position is generally located on the ground of the space object. For example, when the space object is an indoor space, the first photographing position may be a balcony floor, a doorway floor, or the like. Specifically, the display pictures of the spatial object are taken at a plurality of shooting positions. In other words, the plurality of shooting positions correspond to the plurality of panoramic views, and when the pictures need to be displayed, the pictures to be displayed can be determined in a mode of determining the shooting positions.
Preferably, the first picture is a panorama; step S102 may include the steps of: and switching to show the three-dimensional model to show the part of the first picture within the view angle range defined by the ray.
In a specific implementation, since the first picture may be a panorama, the panorama may include texture information and/or color information of 360 degrees in the horizontal direction; therefore, when the three-dimensional model is switched to show at least one part of the first picture, the part of the first picture within the view angle range defined by the ray is switched to show. In other words, the part of the first picture in the visual range of the user is displayed, so that the problems of distortion and low speed in displaying the panoramic picture are avoided, and the fluency of switching and displaying the three-dimensional model and the picture is realized.
Preferably, the space exhibition method shown in fig. 1 may further include the steps of: responding to a second clicking operation of the user in the first picture, and determining a second clicking point; and determining a second picture of the space object according to the position of the second click point, and switching to display the second picture. According to the embodiment of the invention, the second picture of the space object is determined according to the position of the second click point determined by the second click operation, the second picture is a picture to be displayed, and the first picture is switched to display the second picture. That is to say, the user performs the second click operation on the first picture, and can control to switch and display other pictures besides the first picture.
Preferably, the determining the second picture according to the position of the second click point may include the following steps: determining a second shooting position closest to the second click point according to the position of the second click point; and taking the shot picture of the space object corresponding to the second shooting position as the second picture.
In a specific implementation, when the second picture to be displayed is determined, the corresponding second shooting position is determined first, and the second shooting position can be determined according to the position of the second click point. If the position of the second click point is a shooting position, a shot picture of the display space object corresponding to the shooting position can be taken as the second picture; and if the position of the second click point is not the shooting position, searching a second shooting position closest to the second click point, and taking a shooting picture of the space object at the second shooting position as the second picture.
Specifically, a new ray can be formed with the first photographing position as a starting point and the direction from the first photographing position to the second photographing position as a direction. The second picture may be a panorama. Then, switching to show the second picture may be switching to show the first picture to show the portion of the second picture within the view angle range defined by the new ray. Wherein the new ray-defined view angle range may be a certain angle range centered on the new ray.
Preferably, the switching to show the second picture may include the steps of: responding to the second click operation, and projecting the first picture and the second picture on the three-dimensional model according to respective shooting positions; in the moving process of the observation point formed in response to the second click operation, switching to show the projection results of the first picture and the second picture projected on the three-dimensional model; and after the moving process of the observation point is finished, switching to display the second picture.
It is understood that, during the presentation, the observation point, i.e. the position where the user observes the three-dimensional model, and/or the angle or direction at which the user observes the three-dimensional model, may be determined according to the click operation of the user, etc. For example, the user may change the viewing direction at the viewpoint through a second click operation (e.g., drag rotation after clicking), and when the change in the viewing direction occurs at the viewpoint, the displayed pictures are different parts of the same panoramic image. For example, after the user performs a turning operation at the first photographing position, different parts of the first picture will be respectively displayed along with the turning operation.
It should be understood by those skilled in the art that any practicable operation may be adopted to project the first picture and the second picture on the three-dimensional model, and the embodiment of the present invention is not limited thereto. In other words, the projection process is also a rendering process of the three-dimensional model.
In a specific implementation, after the user performs the second click operation, the observation point may be moved in response to the second click operation, that is, moved from the first shooting position to the second shooting position. Specifically, the viewpoint may be a position in the three-dimensional model when the display picture is viewed, and the viewpoint may be a shooting position or a position other than the shooting position.
Compared with the direct switching between the display pictures in the prior art, when the first picture is switched into the second picture, the first picture is projected to the three-dimensional model for display, the second picture is projected to the three-dimensional model for display, and finally the second picture is displayed; the fluency of switching transition between the first picture and the second picture is realized by using the projection operation (namely rendering operation) of the three-dimensional model in the moving process of the observation point, the fluency and the immersion feeling of the pictures during switching display are further improved, and the user experience is optimized.
Fig. 2 is a schematic structural diagram of a space display apparatus according to an embodiment of the present invention.
The spatial display device 20 shown in fig. 2 may include a first click point determining module 201 and a switch display module 202.
The first click point determining module 201 is adapted to determine a first click point based on a first click operation of a user on a three-dimensional model of a space object when the three-dimensional model of the space object is displayed; the switching presentation module 202 is adapted to determine a first picture of the spatial object according to the position of the first click point and to switch to present the three-dimensional model to present at least a portion of the first picture.
In a specific implementation, a user may click on a three-dimensional model while the three-dimensional model of the spatial object is presented. The first click point determination module 201 may determine a first click point based on a first click operation of the three-dimensional model by the user. Specifically, when the three-dimensional model of the spatial object is displayed on the display screen, the user may click on the screen, and in step S101, the contact point between the user and the screen may be determined as the first click point.
In a specific implementation, the spatial object may have a plurality of pictures, and each picture may represent texture information and/or color information of a partial structure of the spatial object. Switching presentation module 202 may determine a first picture of the spatial object based on the location of the first click point. That is, by the position of the first click point, the picture to be presented, i.e., the first picture, can be determined. Switching presentation module 202 may then switch presentation of the three-dimensional model to present at least a portion of the first picture. In other words, the presentation of the three-dimensional model may be switched to the presentation of at least a part of the first picture to switch from the three-dimensional structure of the presentation space object to the texture information and/or the color information of the presentation space object, enabling an all-around presentation of the space object.
In this embodiment, the first picture of the space object is determined according to the position of the first click point determined by the first click operation of the user on the three-dimensional model, so that the display of the three-dimensional model is switched to display at least a part of the first picture, and further, the three-dimensional structure of the space object can be displayed through the three-dimensional model, and in addition, the details of the space object can be displayed through the first picture. By means of the mode of combining the three-dimensional model and the picture for display, the advantages of panoramic display and model display are combined, and the display effect of space display is improved. In other words, by using the three-dimensional model to display the whole three-dimensional structure of the space object, when the user needs detailed requirements, the user can jump to the picture display.
Preferably, the switch presentation module 202 may comprise a ray forming unit 2021, an intersection point determining unit 2022 and a first picture determining unit 2023 for determining the first picture.
Wherein the ray forming unit 2021 is adapted to form a ray according to the first click point, a starting point of the ray is the first click point, and an extending direction of the ray is a view angle direction when the three-dimensional model is displayed; the intersection point determination unit 2022 is adapted to determine all intersection points of the ray and the three-dimensional model, and determine a first intersection point, which is the closest intersection point to the first hit point among the all intersection points; the first picture determining unit 2023 is adapted to search for a first photographing position closest to the first intersection, and take a photographed picture of the spatial object corresponding to the first photographing position as the first picture.
In a specific implementation, the three-dimensional model can be displayed from multiple angles during displaying, that is, there is a viewing angle direction during displaying the three-dimensional model. Specifically, a first click point and a view direction when the three-dimensional model is displayed may form a ray, a starting point of the ray is the first click point, and an extending direction of the ray is the view direction when the three-dimensional model is displayed.
In a specific implementation, the ray has at least one intersection with the three-dimensional model. Specifically, the intersection point of the ray and the three-dimensional model may be an intersection point of the ray and a plane in the three-dimensional model, or an intersection point of the ray and a line in the three-dimensional model. For example, when the space object is an indoor space, the at least one intersection point may be a point of a ray and a wall surface of a living room, and a point of a floor surface of a bedroom, respectively. The first intersection point is an intersection point closest to the first click point among all the intersection points, and for example, the first intersection point is a point between a ray and a wall surface of a living room.
In a specific implementation, the spatial object may have a plurality of shooting positions, so as to perform comprehensive picture acquisition on a plurality of parts of the spatial object. Then a first shooting position closest to the first intersection point may be searched, and a shooting picture of the spatial object at the first shooting position is taken as the first picture, so as to show at least a part of the first picture.
Preferably, the first picture is a panorama; the switch presentation module 202 may comprise a switch presentation unit 2024. Wherein the switching presentation unit 2024 is adapted to switch to present the three-dimensional model to present a portion of the first picture within a view angle range defined by the ray.
Preferably, the spatial display apparatus 20 shown in fig. 2 may further include a second click point determining module 203 and a picture switching module 204.
The second click point determining module 203 is adapted to determine a second click point in response to a second click operation of the user in the first picture; the picture switching module 204 is adapted to determine a second picture of the spatial object according to the position of the second click point, and switch to show the second picture.
Further, the picture switching module 204 may include a second photographing position determining unit 2041 and a second picture determining unit 2042.
The second shooting position determining unit 2041 is adapted to determine, according to the position of the second click point, a second shooting position closest to the second click point; the second picture determining unit 2042 is adapted to take the picture of the spatial object corresponding to the second shooting position as the second picture.
Further, the picture switching module 204 may include a projection unit 2043, a switching presentation unit 2044, and a picture switching unit 2045.
The projection unit 2043 is adapted to project the first picture and the second picture to the three-dimensional model according to the respective shooting positions in response to the second click operation; the switching display unit 2044 is adapted to switch to display the projection results of the first picture and the second picture projected on the three-dimensional model in the process of moving the observation point formed in response to the second click operation; and a picture switching unit 2045 adapted to switch to show the second picture after the moving process of the viewpoint is completed.
According to the embodiment of the invention, the first picture and the second picture are projected on the three-dimensional model according to the respective shooting positions and are switched to display projection results, so that the fluency and the immersion sense of the pictures during switching display are improved, and the user experience is optimized.
For more details on the working principle and the working mode of the space display apparatus 20, reference may be made to the related description in fig. 1, and details are not repeated here.
The embodiment of the invention also discloses a terminal, which can comprise the space display device 20 shown in fig. 2. The space display apparatus 20 may be internally integrated with or externally coupled to the terminal. Specifically, the terminal may be a computer, a mobile phone, a tablet computer, or the like; the terminal may perform the various steps shown in fig. 1 in the form of a server.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (7)
1. A space display method is characterized by comprising the following steps:
determining a first click point based on a first click operation of a user on a three-dimensional model when a three-dimensional structure of a space object is displayed through the three-dimensional model;
determining a first picture of the space object according to the position of the first click point, switching to display at least one part of the first picture by displaying the three-dimensional model, and displaying the details of the space object through the first picture;
the determining a first picture of the spatial object according to the position of the first click point comprises:
forming a ray according to the first click point, wherein the starting point of the ray is the first click point, and the extending direction of the ray is the view angle direction when the three-dimensional model is displayed;
determining all intersection points of the rays and the three-dimensional model, and determining a first intersection point, wherein the first intersection point is the intersection point which is closest to the first click point in all the intersection points;
searching a first shooting position closest to the first intersection point, and taking a shooting picture of the space object corresponding to the first shooting position as the first picture;
the first picture is a panoramic picture; the switching to show the three-dimensional model to show at least a portion of the first picture comprises:
switching to show the three-dimensional model to show a portion of the first picture within a view angle range defined by the ray;
further comprising:
responding to a second clicking operation of the user in the first picture, and determining a second clicking point;
and determining a second picture of the space object according to the position of the second click point, and switching to display the second picture.
2. The spatial presentation method of claim 1, wherein said determining a second picture according to the position of the second click point comprises:
determining a second shooting position closest to the second click point according to the position of the second click point;
and taking the shot picture of the space object corresponding to the second shooting position as the second picture.
3. The spatial presentation method of claim 2, wherein said switching to present said second picture comprises:
responding to the second click operation, and projecting the first picture and the second picture on the three-dimensional model according to respective shooting positions;
in the moving process of the observation point formed in response to the second click operation, switching to show the projection results of the first picture and the second picture projected on the three-dimensional model;
and after the moving process of the observation point is finished, switching to display the second picture.
4. A space display apparatus, comprising:
the system comprises a first click point determining module, a second click point determining module and a third click point determining module, wherein the first click point determining module is suitable for determining a first click point based on a first click operation of a user on a three-dimensional model when the three-dimensional structure of a space object is displayed through the three-dimensional model;
the switching display module is suitable for determining a first picture of the space object according to the position of the first click point, switching to display at least one part of the first picture by the three-dimensional model, and displaying the details of the space object through the first picture;
the switching display module comprises:
a ray forming unit, adapted to form a ray according to the first click point, where a starting point of the ray is the first click point, and an extending direction of the ray is a view direction when the three-dimensional model is displayed;
the intersection point determining unit is suitable for determining all intersection points of the ray and the three-dimensional model and determining a first intersection point, wherein the first intersection point is the intersection point which is closest to the first click point in all the intersection points;
the first picture determining unit is suitable for searching a first shooting position which is closest to the first intersection point, and taking a shooting picture of the space object corresponding to the first shooting position as the first picture;
the first picture is a panoramic picture; the switching display module comprises:
the switching and displaying unit is suitable for switching to display the three-dimensional model into display of the part of the first picture within the view angle range defined by the ray;
further comprising:
the second click point determining module is suitable for responding to a second click operation of the user in the first picture and determining a second click point;
and the picture switching module is suitable for determining a second picture of the space object according to the position of the second click point and switching to display the second picture.
5. The spatial display device as claimed in claim 4, wherein the picture switching module comprises:
the second shooting position determining unit is suitable for determining a second shooting position closest to the second click point according to the position of the second click point;
and the second picture determining unit is suitable for taking the shot picture of the space object corresponding to the second shooting position as the second picture.
6. The spatial display device as claimed in claim 5, wherein the picture switching module comprises:
the projection unit is suitable for responding to the second click operation and projecting the first picture and the second picture to the three-dimensional model according to respective shooting positions;
the switching display unit is suitable for switching to display the projection results of the first picture and the second picture projected on the three-dimensional model in the observation point moving process formed in response to the second clicking operation;
and the picture switching unit is suitable for switching to display the second picture after the observation point moving process is finished.
7. A terminal, characterised in that it comprises a spatial display device according to any one of claims 4 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710112689.0A CN108510433B (en) | 2017-02-28 | 2017-02-28 | Space display method and device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710112689.0A CN108510433B (en) | 2017-02-28 | 2017-02-28 | Space display method and device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108510433A CN108510433A (en) | 2018-09-07 |
CN108510433B true CN108510433B (en) | 2020-03-24 |
Family
ID=63373320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710112689.0A Active CN108510433B (en) | 2017-02-28 | 2017-02-28 | Space display method and device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108510433B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110619659A (en) * | 2019-06-20 | 2019-12-27 | 北京无限光场科技有限公司 | House resource display method, device, terminal equipment and medium |
CN112802083B (en) * | 2021-04-15 | 2021-06-25 | 成都云天创达科技有限公司 | Method for acquiring corresponding two-dimensional image through three-dimensional model mark points |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103824317A (en) * | 2008-02-27 | 2014-05-28 | 谷歌公司 | Using image content to facilitate navigation in panoramic image data |
CN106296783A (en) * | 2016-07-28 | 2017-01-04 | 众趣(北京)科技有限公司 | A kind of combination space overall situation 3D view and the space representation method of panoramic pictures |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467756B (en) * | 2010-10-29 | 2015-11-25 | 国际商业机器公司 | For perspective method and the device of three-dimensional scenic |
US9443353B2 (en) * | 2011-12-01 | 2016-09-13 | Qualcomm Incorporated | Methods and systems for capturing and moving 3D models and true-scale metadata of real world objects |
US9984177B2 (en) * | 2013-05-31 | 2018-05-29 | Panasonic Intellectual Property Management Co., Ltd. | Modeling device, three-dimensional model generation device, modeling method, program and layout simulator |
US10185463B2 (en) * | 2015-02-13 | 2019-01-22 | Nokia Technologies Oy | Method and apparatus for providing model-centered rotation in a three-dimensional user interface |
CN104699842B (en) * | 2015-03-31 | 2019-03-26 | 百度在线网络技术(北京)有限公司 | Picture display method and device |
US9277122B1 (en) * | 2015-08-13 | 2016-03-01 | Legend3D, Inc. | System and method for removing camera rotation from a panoramic video |
CN105224179A (en) * | 2015-09-30 | 2016-01-06 | 北京恒华伟业科技股份有限公司 | Method for information display and device |
CN105786432A (en) * | 2016-03-18 | 2016-07-20 | 北京奇虎科技有限公司 | Method and device for displaying virtual image on mobile terminal |
CN106331732B (en) * | 2016-09-26 | 2019-11-12 | 北京疯景科技有限公司 | Generate, show the method and device of panorama content |
-
2017
- 2017-02-28 CN CN201710112689.0A patent/CN108510433B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103824317A (en) * | 2008-02-27 | 2014-05-28 | 谷歌公司 | Using image content to facilitate navigation in panoramic image data |
CN106296783A (en) * | 2016-07-28 | 2017-01-04 | 众趣(北京)科技有限公司 | A kind of combination space overall situation 3D view and the space representation method of panoramic pictures |
Also Published As
Publication number | Publication date |
---|---|
CN108510433A (en) | 2018-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11238644B2 (en) | Image processing method and apparatus, storage medium, and computer device | |
CN110650368B (en) | Video processing method and device and electronic equipment | |
CN111145352A (en) | House live-action picture display method and device, terminal equipment and storage medium | |
WO2019112663A1 (en) | Video capture systems and methods | |
US11776142B2 (en) | Structuring visual data | |
US10540918B2 (en) | Multi-window smart content rendering and optimizing method and projection method based on cave system | |
CN106296783A (en) | A kind of combination space overall situation 3D view and the space representation method of panoramic pictures | |
US11044398B2 (en) | Panoramic light field capture, processing, and display | |
CN102945563A (en) | Showing and interacting system and method for panoramic videos | |
CN113223130B (en) | Path roaming method, terminal equipment and computer storage medium | |
JP7459870B2 (en) | Image processing device, image processing method, and program | |
WO2018086532A1 (en) | Display control method and apparatus for surveillance video | |
US20210225038A1 (en) | Visual object history | |
US9025007B1 (en) | Configuring stereo cameras | |
CN109120901B (en) | Method for switching pictures among cameras | |
US20180249075A1 (en) | Display method and electronic device | |
JP2016511850A (en) | Method and apparatus for annotating plenoptic light fields | |
CN113286138A (en) | Panoramic video display method and display equipment | |
WO2019051228A1 (en) | Camera-based transparent display | |
CN108510433B (en) | Space display method and device and terminal | |
CN110870304B (en) | Method and apparatus for providing information to a user for viewing multi-view content | |
CN108734791B (en) | Panoramic video processing method and device | |
JP2016066918A (en) | Video display device, video display control method and program | |
EP3177005B1 (en) | Display control system, display control device, display control method, and program | |
CN113168228A (en) | Systems and/or methods for parallax correction in large area transparent touch interfaces |
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: 20190108 Address after: 100085 Floor 101 102-1, No. 35 Building, No. 2 Hospital, Xierqi West Road, Haidian District, Beijing Applicant after: Seashell Housing (Beijing) Technology Co., Ltd. Address before: Room 2220, 22 floors, 3 blocks, Laifushi Square, 1193 Changning Road, Changning District, Shanghai 200051 Applicant before: Shanghai truss Network Technology Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |