CN106485772B - Panorama switching method and system - Google Patents
Panorama switching method and system Download PDFInfo
- Publication number
- CN106485772B CN106485772B CN201610875687.2A CN201610875687A CN106485772B CN 106485772 B CN106485772 B CN 106485772B CN 201610875687 A CN201610875687 A CN 201610875687A CN 106485772 B CN106485772 B CN 106485772B
- Authority
- CN
- China
- Prior art keywords
- threedimensional model
- sight spot
- target field
- field sight
- current scene
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/20—3D [Three Dimensional] animation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention proposes a kind of panorama switching method and system, panorama switching method includes: the current scene point that fades out in viewport, and shows the first threedimensional model for corresponding to the current scene point;It is faded out first threedimensional model according to the distance for being moved to target field sight spot by the current scene point, and fades in the second threedimensional model corresponding to target field sight spot;When being moved to the target field sight spot, the target field sight spot is shown, and second threedimensional model that fades out.The animation effect of 3D roaming may be implemented in this method, and distortion phenomenon when can be effectively reduced or even panorama being avoided to switch, and promotes display effect.
Description
Technical field
The present invention relates to technical field of image processing, in particular to a kind of panorama switching method and system.
Background technique
Panorama, also known as 3D outdoor scene are, by special split, processing, to be synthesized visual point image with outdoor scene photo, allow people
It stands among picturesque scene.The wherein switching of scene point is always the key function in panorama.In the related technology, panorama switching is realized
Mode include: mode one, be fade-in fade-out by simple scene point and to realize that scene point switches;Mode two passes through BOX Model
The switching of (TIP model) Lai Shixian scene point.
The mode of panorama switching in the related technology has the following problems:
Mode one, effect are unobvious: animation effect is unobvious, and user is less to the perception being moved along, user experience
Difference.
Mode two, effect are not true to nature enough: although BOX Model handoff scenario point realizes the effect of 3D roaming, but viewport
Edge still will appear drawing effect, display distortion.
Summary of the invention
The purpose of the present invention aims to solve at least one of described technological deficiency.
For this purpose, an object of the present invention is to provide a kind of panorama switching methods.3D roaming may be implemented in this method
Animation effect, and distortion phenomenon when can be effectively reduced or even panorama being avoided to switch, promote display effect.
It is another object of the present invention to propose a kind of base panorama switching system.
In order to achieve the above objectives, the embodiment of the first aspect of the present invention discloses a kind of panorama switching method, including with
Lower step: current scene of fading out in viewport point, and show the first threedimensional model for corresponding to the current scene point;According to by
The distance that the current scene point is moved to target field sight spot is faded out first threedimensional model, and is faded in corresponding to target scene
Second threedimensional model of point;When being moved to the target field sight spot, the target field sight spot is shown, and fade out the described 2nd 3
Dimension module.
The animation effect of 3D roaming may be implemented in panorama switching for panorama switching method according to an embodiment of the present invention,
Distortion phenomenon when promoting user experience, and can be effectively reduced or even panorama is avoided to switch promotes display effect.
In addition, panorama switching method according to the above embodiment of the present invention can also have the following additional technical features:
Further, further includes: first threedimensional model and second three-dimensional are created according to the point cloud data of panorama
Model.
Further, described that first threedimensional model is created according to the point cloud data of panorama, comprising: according to current scene
The point cloud data of point creates the first point cloud model of the current scene point;Obtain multiple vertex in first point cloud model
Viewport coordinate;The Viewport coordinate is converted into UV coordinate, to generate institute according to the texture of the UV coordinate and current scene point
State the first threedimensional model;It is described that second threedimensional model is created according to the point cloud data of panorama, comprising: according to target field sight spot
Point cloud data create second point cloud model at the target field sight spot;Obtain the view on multiple vertex in second point cloud model
Mouth coordinate;The Viewport coordinate is converted into UV coordinate, according to the generation of the texture of the UV coordinate and target field sight spot
Second threedimensional model.
Further, before showing the target field sight spot, further includes: load the target field sight spot.
Further, the basis fades out the described 1st by the distance that the current scene point is moved to target field sight spot
Dimension module, and when fading in the second threedimensional model corresponding to target field sight spot, further includes: it is moved in viewport according to moving direction
First threedimensional model and second threedimensional model.
Further, when fading out first threedimensional model and fading in second threedimensional model, further includes: to described
First threedimensional model and second threedimensional model carry out piece processing.
Further, when fading out first threedimensional model and fading in second threedimensional model, further includes: to described
First threedimensional model and second threedimensional model are filtered.
The embodiment of the second aspect of the present invention discloses a kind of panorama switching system, comprising: display module;Handle mould
Block for the current scene point that fades out in display module, and controls the display module and shows and correspond to the current scene point
The first threedimensional model, and it is light from the display module according to the distance for being moved to target field sight spot by the current scene point
First threedimensional model out, and the second threedimensional model for corresponding to target field sight spot is faded in into the display module, and work as
It when being moved to the target field sight spot, controls the display module and shows the target field sight spot, and by the described second three-dimensional mould
Type fades out the display module.
The animation effect of 3D roaming may be implemented in panorama switching for panorama switching system according to an embodiment of the present invention,
Distortion phenomenon when promoting user experience, and can be effectively reduced or even panorama is avoided to switch promotes display effect.
In addition, panorama switching system according to the above embodiment of the present invention can also have the following additional technical features:
Further, further includes: creation module, for according to the point cloud data of panorama create first threedimensional model and
Second threedimensional model.
Further, the creation module is used to create the current scene point according to the point cloud data of current scene point
First point cloud model, and the Viewport coordinate on multiple vertex in first point cloud model is obtained, and the Viewport coordinate is turned
It is changed to UV coordinate, to generate first threedimensional model according to the texture of the UV coordinate and current scene point;The creation mould
Block is also used to create second point cloud model at target field sight spot according to the point cloud data at target field sight spot, and obtains described
The Viewport coordinate on multiple vertex in two point cloud models, and the Viewport coordinate is converted into UV coordinate, to be sat according to the UV
Mark and the texture at target field sight spot generate second threedimensional model.
Further, the processing module is also used to before the display module shows the target field sight spot, load
The target field sight spot.
Further, the processing module is being moved to the distance at target field sight spot from institute according to by the current scene point
First threedimensional model that fades out in display module is stated, and the second threedimensional model for corresponding to target field sight spot is faded in into described show
When showing module, it is also used to move first threedimensional model and second threedimensional model in viewport according to moving direction.
Further, the processing module is in first threedimensional model and when fading in second threedimensional model of fading out,
It is also used to carry out piece processing to first threedimensional model and second threedimensional model.
Further, the processing module is in first threedimensional model and when fading in second threedimensional model of fading out,
It is also used to be filtered first threedimensional model and second threedimensional model.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Of the present invention and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart of panorama switching method according to an embodiment of the invention;
Fig. 2 is the schematic diagram of panorama switching method according to an embodiment of the invention;
Fig. 3 is the schematic diagram of the coordinate conversion of panorama switching method according to an embodiment of the invention;And
Fig. 4 is the structural block diagram of panorama switching system according to an embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
In the description of the present invention, it is to be understood that, term " longitudinal direction ", " transverse direction ", "upper", "lower", "front", "rear",
The orientation or positional relationship of the instructions such as "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside" is based on attached drawing institute
The orientation or positional relationship shown, is merely for convenience of description of the present invention and simplification of the description, rather than the dress of indication or suggestion meaning
It sets or element must have a particular orientation, be constructed and operated in a specific orientation, therefore should not be understood as to limit of the invention
System.
In the description of the present invention, it should be noted that unless otherwise specified and limited, term " installation ", " connected ",
" connection " shall be understood in a broad sense, for example, it may be mechanical connection or electrical connection, the connection being also possible to inside two elements can
, can also indirectly connected through an intermediary, for the ordinary skill in the art to be to be connected directly, it can basis
Concrete condition understands the concrete meaning of the term.
Panorama switching method according to an embodiment of the present invention and system are described below in conjunction with attached drawing.
Before describing panorama switching method according to an embodiment of the present invention and system, go out first in the embodiment of the present invention
Existing term explains.
Panorama, also known as 3D outdoor scene are, by special split, processing, to synthesize visual point image with outdoor scene photo, like
People is allowed to stand among picturesque scene.
Point cloud data is the data structure of many depth planes.Each pixel of panoramic pictures, for a depth plane.It is deep
Degree face is the plane for describing direction with a normal vector, describing position at a distance from camera.
Current scene point, refers to the image at some visual angle of the panorama currently shown in viewport.
Target field sight spot refers to the image at some visual angle that will switch in viewport.
First threedimensional model refers to the threedimensional model of current scene point, wherein the first threedimensional model screen in the projected it is aobvious
Show as need to being kept with the display of current scene point on the screen.
Second threedimensional model, the threedimensional model of feeling the pulse with the finger-tip mark scene point.Wherein, the second threedimensional model screen in the projected is aobvious
Show as need to being kept with the display of target field sight spot on the screen.
Fig. 1 is the flow chart of panorama switching method according to an embodiment of the invention.
Wherein, the switching of scene point is the key function in panorama, therefore it is particularly important how to carry out scene switching.This hair
Bright panorama switching method is to create simple three-dimensional modeling to real world in two dimensional image by point cloud data, and apply
Into scene handoff procedure.Specifically, as shown in Figure 1, panorama switching method according to an embodiment of the invention, including it is as follows
Step:
S101: current scene of fading out in viewport point, and show the first threedimensional model for corresponding to current scene point.
S102: fading out the first threedimensional model according to the distance for being moved to target field sight spot by current scene point, and fades in pair
It should be in second threedimensional model at target field sight spot.
S103: when being moved to target field sight spot, displaying target scene point, and second threedimensional model that fades out.
As a specific example, as shown in Fig. 2, can by seamless switching model, current scene point the one or three
Second threedimensional model of dimension module (point cloud model of the current point in Fig. 2, current point are current scene point) and target field sight spot
(point cloud model of the target point in Fig. 2, target point be target field sight spot) mobile mode is come the switching that shows scene point.Specifically
Include:
1, point cloud model is shown.
Since the first threedimensional model and the second threedimensional model ensure that the display and corresponding scene of screen after model projection
Display is the same to point on the screen, therefore can only show threedimensional model, or three-dimensional mould is shown after fading out by scene point
Type or threedimensional model hide the mode of scene point after fading in show threedimensional model.
2, point cloud model is mobile.
That is: it is faded out the first threedimensional model according to the distance for being moved to target field sight spot by current scene point, and fades in correspondence
When second threedimensional model at target field sight spot, comprising: according to moving direction in viewport mobile first threedimensional model and
Second threedimensional model.
Such as: the point cloud model of current scene point is by frame animation towards moving after camera.The point cloud model at target field sight spot
It is mobile towards camera by frame animation.
3, point cloud model switches.
It is reference with mobile distance (or with a distance from target point), (i.e.: come the point cloud model for the current scene point that fades out
First threedimensional model), and fade in the point cloud model (that is: the second threedimensional model) at target field sight spot.
4, scene point models switching.
In order to guarantee transition effect, in one embodiment of the invention, need to load target field sight spot first, and in point
Cloud model (that is: the second threedimensional model) is illustrated below out, and point cloud model (that is: the second threedimensional model) is then allowed to fade out, thus
Complete panorama switching.
Due to two scene points that the first threedimensional model and the second threedimensional model are expressed, difference is very big, at this point, being
Reduction difference, the method for the embodiment of the present invention further include: right when fading out first threedimensional model and fading in the second threedimensional model
First threedimensional model and second threedimensional model carry out piece processing.Specifically, due to two point cloud models the (that is: the one three
Dimension module and the second threedimensional model) what is expressed is two distinguishing real worlds, therefore, difference may be very big, use piece
The difference of two point cloud models and real world can be effectively reduced in processing.
In addition, in order to reduce the difference of the display of point cloud model and real world, the method for the embodiment of the present invention further include:
When fading out the first threedimensional model and fading in the second threedimensional model, the first threedimensional model and the second threedimensional model are filtered.
Specifically, due to the first threedimensional model and the second threedimensional model it is usually used be sampling modeling, so the precision of model is lower,
Model and real world have difference, so Fuzzy Processing is carried out using sharpness filter, so that two point Yun Mo be effectively reduced
The difference of type and real world.
As shown in connection with fig. 2, the panorama switching method of the embodiment of the present invention, further includes: created according to the point cloud data of panorama
First threedimensional model and the second threedimensional model.Specifically, first threedimensional model, packet are created according to the point cloud data of panorama
It includes:
1, the first point cloud model of current scene point is created according to the point cloud data of current scene point.
2, the Viewport coordinate on multiple vertex in the first point cloud model is obtained.
3, Viewport coordinate is converted into UV coordinate, to generate the first three-dimensional mould according to the texture of UV coordinate and current scene point
Type.
More specifically, as shown in figure 3, the point cloud model of creation current scene point mainly passes through point cloud data and creates a little
Cloud model, and using current screen snapshot as texture, generate the simple 3D modeling of the real world in current scene point viewport (i.e.:
First threedimensional model).Such as:
1, point cloud sampling.
In order to guarantee that screen is shown as scene point is shown on the screen after model projection, is needed with the current of viewport
Snapshot is as model texture (that is: the texture of current scene point).So being sampled based on current viewport, to obtain a little
The vertex information of cloud model.For example, laterally being calculated with m equal part, longitudinal real world for being abstracted current viewport with n equal part
(m+1) * (n+1) a model vertices.
2, vertex is converted.
The vertex that sampling comes out is Viewport coordinate, can only obtain a direction in world coordinate system, can't calculate
Position in real world.So calculating world coordinates by point cloud data.Calculation method is as shown in table 1:
Table 1
Centre of sphere O
A point P on spy face
Vertical point N of the centre of sphere to spy face
Depth=OP
D=ON
Depth=d/cos (θ)
Ab=| a | | b | cos θ
Deriving final formula is
Depth=d/ (pnx*nx+pny*ny+pnz*nz)
3, texture mapping.
According to the screen coordinate on point cloud model vertex, corresponding UV coordinate can be calculated, texture is the current fast of viewport
According to, it can realize texture mapping, so far, the creation completion of the first threedimensional model.
In addition, creating the second threedimensional model according to the point cloud data of panorama, comprising:
1, second point cloud model at the target field sight spot is created according to the point cloud data at target field sight spot;
2, the Viewport coordinate on multiple vertex in second point cloud model is obtained;
3, the Viewport coordinate is converted into UV coordinate, to generate institute according to the texture of the UV coordinate and target field sight spot
State the second threedimensional model.
It should be noted that current real world model moves, while being also required to target in order to keep effect truer backward
The real world model of point is mobile toward current position.So just being needed when animation starts with the point with creation current scene point
The similar method of cloud model creates the point cloud model at target field sight spot.That is: target is created in a manner of creating the first threedimensional model
Second threedimensional model of scene point.In order to reduce redundancy, it is not repeated herein.
The animation effect of 3D roaming may be implemented in panorama switching for panorama switching method according to an embodiment of the present invention,
Distortion phenomenon when promoting user experience, and can be effectively reduced or even panorama is avoided to switch promotes display effect.
Fig. 4 is the structural block diagram of panorama switching system according to an embodiment of the invention, as shown in figure 4, according to this hair
The panorama switching system 400 of bright one embodiment, comprising: display module 410 and processing module 420.
Wherein, processing module 420 is for the current scene point that fades out in display module 410, and it is aobvious to control display module 410
Show the first threedimensional model corresponding to current scene point, and according to being moved to the distance at target field sight spot by current scene point from aobvious
Show first threedimensional model that fades out in module 410, and the second threedimensional model for corresponding to target field sight spot is faded in and displayed module
410, and when being moved to target field sight spot, 410 displaying target scene point of display module is controlled, and the second threedimensional model is light
Display module 410 out.
In one embodiment of the invention, panorama switching system 400, further includes: creation module (is not shown in Fig. 4
Out), creation module is used to create the first threedimensional model and second threedimensional model according to the point cloud data of panorama.
Further, creation module is used to create first cloud of current scene point according to the point cloud data of current scene point
Model, and the Viewport coordinate on multiple vertex in the first point cloud model is obtained, and Viewport coordinate is converted into UV coordinate, with basis
The texture of UV coordinate and current scene point generates first threedimensional model;Creation module is also used to the point according to target field sight spot
Second point cloud model at cloud data creation target field sight spot, and the Viewport coordinate on multiple vertex in the second point cloud model is obtained, with
And Viewport coordinate is converted into UV coordinate, to generate the second threedimensional model according to UV coordinate and the texture at target field sight spot.
In one embodiment of the invention, processing module 420 be also used to 410 displaying target scene point of display module it
Before, load target field sight spot.
In one embodiment of the invention, processing module 420 is being moved to target field sight spot according to by current scene point
Distance fade out from display module 410 first threedimensional model, and the second threedimensional model for corresponding to target field sight spot is faded in
When display module 410, it is also used to move the first threedimensional model and the second threedimensional model in viewport according to moving direction.
In one embodiment of the invention, processing module 420 first threedimensional model and fades in the second three-dimensional mould fading out
When type, it is also used to carry out piece processing to the first threedimensional model and the second threedimensional model.
Further, processing module 420 is in the first threedimensional model and when fading in the second threedimensional model of fading out, and is also used to the
One threedimensional model and second threedimensional model are filtered.
The animation effect of 3D roaming may be implemented in panorama switching for panorama switching system according to an embodiment of the present invention,
Distortion phenomenon when promoting user experience, and can be effectively reduced or even panorama is avoided to switch promotes display effect.
It should be noted that the specific implementation and the embodiment of the present invention of the panorama switching system of the embodiment of the present invention
The specific implementation of panorama switching method is similar, specifically refers to the description of method part, in order to reduce redundancy, does not do herein
It repeats.
Term " first ", " second " be used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance or
Implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or imply
Ground includes at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three etc.,
Unless otherwise specifically defined.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, can be with well known in the art as in the mode in another implementation for example, if realized with hardware
Any one of following technology or their combination are realized: having a logic gate electricity for realizing logic function to data-signal
The discrete logic on road, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA) are existing
Field programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (14)
1. a kind of panorama switching method, which comprises the following steps:
Current scene of fading out in viewport point, and show the first threedimensional model for corresponding to the current scene point, wherein it is described
Current scene point is the image at some visual angle of the panorama currently shown in the viewport, and first threedimensional model is in the projected
As the display of screen need to be kept with the display of the current scene point on the screen;
It is faded out first threedimensional model according to the distance for being moved to target field sight spot by the current scene point, and fades in correspondence
The second threedimensional model in target field sight spot, wherein the target field sight spot is some visual angle that will switch in the viewport
Image, the display of the display of screen and target field sight spot on the screen need to keep one to second threedimensional model in the projected
Sample;
When being moved to the target field sight spot, the target field sight spot is shown, and second threedimensional model that fades out.
2. panorama switching method according to claim 1, which is characterized in that further include:
First threedimensional model and second threedimensional model are created according to the point cloud data of panorama.
3. panorama switching method according to claim 2, which is characterized in that
It is described that first threedimensional model is created according to the point cloud data of panorama, comprising:
The first point cloud model of the current scene point is created according to the point cloud data of current scene point;
Obtain the Viewport coordinate on multiple vertex in first point cloud model;
The Viewport coordinate is converted into UV coordinate, to generate described first according to the texture of the UV coordinate and current scene point
Threedimensional model;
It is described that second threedimensional model is created according to the point cloud data of panorama, comprising:
Second point cloud model at the target field sight spot is created according to the point cloud data at target field sight spot;
Obtain the Viewport coordinate on multiple vertex in second point cloud model;
The Viewport coordinate is converted into UV coordinate, to generate described second according to the texture of the UV coordinate and target field sight spot
Threedimensional model.
4. panorama switching method according to claim 1, which is characterized in that before showing the target field sight spot, also
It include: the load target field sight spot.
5. panorama switching method according to claim 1, which is characterized in that the basis is mobile by the current scene point
Distance to target field sight spot is faded out first threedimensional model, and fades in the second threedimensional model corresponding to target field sight spot
When, further includes:
First threedimensional model and second threedimensional model are moved in viewport according to moving direction.
6. panorama switching method according to claim 1, which is characterized in that first threedimensional model and fade in fading out
When second threedimensional model, further includes:
Piece processing is carried out to first threedimensional model and second threedimensional model.
7. panorama switching method according to claim 1, which is characterized in that first threedimensional model and fade in fading out
When second threedimensional model, further includes:
First threedimensional model and second threedimensional model are filtered.
8. a kind of panorama switching system characterized by comprising
Display module;
Processing module for the current scene point that fades out in display module, and controls the display module and shows corresponding to described
First threedimensional model of current scene point, and shown according to the distance for being moved to target field sight spot by the current scene point from described
Show first threedimensional model that fades out in module, and the second threedimensional model for corresponding to target field sight spot is faded in into the display mould
Block, and when being moved to the target field sight spot controls the display module and shows the target field sight spot, and by described
Two threedimensional models fade out the display module, wherein the current scene point is some view of the panorama currently shown in viewport
The image at angle, showing for screen needs to protect first threedimensional model with the display of the current scene point on the screen in the projected
It holds the same;The target field sight spot is the image at some visual angle that will switch in viewport, and second threedimensional model is projecting
As the display of screen need to be kept with the display of target field sight spot on the screen afterwards.
9. panorama switching system according to claim 8, which is characterized in that further include:
Creation module, for creating first threedimensional model and second threedimensional model according to the point cloud data of panorama.
10. panorama switching system according to claim 9, which is characterized in that
The creation module is used to create the first point cloud model of the current scene point according to the point cloud data of current scene point,
And the Viewport coordinate on multiple vertex in first point cloud model is obtained, and the Viewport coordinate is converted into UV coordinate, with
First threedimensional model is generated according to the texture of the UV coordinate and current scene point;
The creation module is also used to create the second point cloud mould at target field sight spot according to the point cloud data at target field sight spot
Type, and the Viewport coordinate on multiple vertex in second point cloud model is obtained, and the Viewport coordinate is converted into UV coordinate,
To generate second threedimensional model according to the texture of the UV coordinate and target field sight spot.
11. panorama switching system according to claim 8, which is characterized in that the processing module is also used to described aobvious
Before showing that module shows the target field sight spot, the target field sight spot is loaded.
12. panorama switching system according to claim 8, which is characterized in that the processing module is worked as according to by described
The distance that preceding scene point is moved to target field sight spot is faded out first threedimensional model from the display module, and will be corresponded to
When second threedimensional model at target field sight spot fades in the display module, be also used to according to moving direction in viewport it is mobile described in
First threedimensional model and second threedimensional model.
13. panorama switching system according to claim 8, which is characterized in that the processing module is fading out described first
Threedimensional model and when fading in second threedimensional model, be also used to first threedimensional model and second threedimensional model into
The processing of row piece.
14. panorama switching system according to claim 8, which is characterized in that the processing module is fading out described first
Threedimensional model and when fading in second threedimensional model, be also used to first threedimensional model and second threedimensional model into
Row filtering.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610875687.2A CN106485772B (en) | 2016-09-30 | 2016-09-30 | Panorama switching method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610875687.2A CN106485772B (en) | 2016-09-30 | 2016-09-30 | Panorama switching method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106485772A CN106485772A (en) | 2017-03-08 |
CN106485772B true CN106485772B (en) | 2019-10-15 |
Family
ID=58268454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610875687.2A Active CN106485772B (en) | 2016-09-30 | 2016-09-30 | Panorama switching method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106485772B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11290758B2 (en) | 2017-08-30 | 2022-03-29 | Samsung Electronics Co., Ltd. | Method and apparatus of point-cloud streaming |
CN107767461A (en) * | 2017-09-27 | 2018-03-06 | 珠海研果科技有限公司 | A kind of panoramic picture jump method |
CN108495148B (en) * | 2018-04-02 | 2021-07-20 | 四川隧唐科技股份有限公司 | Image data loading method and device |
CN109391773B (en) * | 2018-09-21 | 2021-08-10 | 百度在线网络技术(北京)有限公司 | Method and device for controlling movement of shooting point during switching of panoramic page |
CN109767481A (en) * | 2018-12-29 | 2019-05-17 | 北京诺亦腾科技有限公司 | A kind of VR method for changing scenes and device |
CN110913177A (en) * | 2019-11-27 | 2020-03-24 | 国网辽宁省电力有限公司葫芦岛供电公司 | Visual presentation and operation method for electric power communication machine room |
CN112967389B (en) * | 2019-11-30 | 2021-10-15 | 北京城市网邻信息技术有限公司 | Scene switching method and device and storage medium |
CN113115023B (en) * | 2020-01-09 | 2022-09-27 | 百度在线网络技术(北京)有限公司 | Panoramic scene switching method, device and equipment |
CN113724331B (en) * | 2021-09-02 | 2022-07-19 | 北京城市网邻信息技术有限公司 | Video processing method, video processing apparatus, and non-transitory storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103646424A (en) * | 2013-11-26 | 2014-03-19 | 北京空间机电研究所 | Aerial seamless virtual roaming system constructing method |
CN105869201A (en) * | 2016-03-25 | 2016-08-17 | 北京全景思维科技有限公司 | Method and device for achieving smooth switching of panoramic views in panoramic roaming |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7450124B2 (en) * | 2005-03-18 | 2008-11-11 | Microsoft Corporation | Generating 2D transitions using a 3D model |
JP5464955B2 (en) * | 2009-09-29 | 2014-04-09 | 株式会社ソニー・コンピュータエンタテインメント | Panorama image display device |
JP5591281B2 (en) * | 2011-06-03 | 2014-09-17 | 任天堂株式会社 | Information processing system, information processing apparatus, information processing program, and moving image reproduction control method |
CN104182118A (en) * | 2013-05-27 | 2014-12-03 | 苏州蜗牛数字科技股份有限公司 | Network game-based 3D (three-dimensional) interactive method |
CN104346368A (en) * | 2013-07-30 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Indoor scene switch displaying method and device and mobile terminal |
CN104867174B (en) * | 2015-05-08 | 2018-02-23 | 腾讯科技(深圳)有限公司 | A kind of three-dimensional map rendering indication method and system |
-
2016
- 2016-09-30 CN CN201610875687.2A patent/CN106485772B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103646424A (en) * | 2013-11-26 | 2014-03-19 | 北京空间机电研究所 | Aerial seamless virtual roaming system constructing method |
CN105869201A (en) * | 2016-03-25 | 2016-08-17 | 北京全景思维科技有限公司 | Method and device for achieving smooth switching of panoramic views in panoramic roaming |
Also Published As
Publication number | Publication date |
---|---|
CN106485772A (en) | 2017-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106485772B (en) | Panorama switching method and system | |
Agrawala et al. | Artistic multiprojection rendering | |
US5694533A (en) | 3-Dimensional model composed against textured midground image and perspective enhancing hemispherically mapped backdrop image for visual realism | |
US6822648B2 (en) | Method for occlusion of movable objects and people in augmented reality scenes | |
CN100536970C (en) | Game image display control program, game device, and recording medium | |
US7277571B2 (en) | Effective image processing, apparatus and method in virtual three-dimensional space | |
CN105513112A (en) | Image processing method and device | |
WO2019008355A1 (en) | Generation of a 3d printable model comprising a 3d object encased in a transparent matrix | |
GB2295757A (en) | Three-dimensional simulator and image generating method | |
GB2336057A (en) | Coordinating light sources in combined image produced from real and virtual im ge data | |
JP4982862B2 (en) | Program, information storage medium, and image generation system | |
EP2954487A1 (en) | Improvements in and relating to image making | |
US9325960B2 (en) | Maintenance of three dimensional stereoscopic effect through compensation for parallax setting | |
CN109640070A (en) | A kind of stereo display method, device, equipment and storage medium | |
US20130057574A1 (en) | Storage medium recorded with program, information processing apparatus, information processing system, and information processing method | |
US11097486B2 (en) | System and method of 3D print modeling utilizing a point cloud representation and generating a voxel representation of the point cloud | |
CN105023294A (en) | Fixed point movement augmented reality method combining sensors and Unity3D | |
KR20110088995A (en) | Method and system to visualize surveillance camera videos within 3d models, and program recording medium | |
US20160239996A1 (en) | 3d map display system | |
CN105915885A (en) | 3D interaction display method and system of fish-eye image | |
JP4749198B2 (en) | Program, information storage medium, and image generation system | |
JP2014164003A (en) | Virtual indoor space display device | |
JP2006285511A (en) | Program, information storage medium and image generation system | |
CN106484850B (en) | Panoramic table display methods and device | |
KR20150107747A (en) | Video generation device, video generation program, and video generation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |