Summary of the invention
Since existing method is there are the above problem, the embodiment of the present invention proposes that a kind of three-dimensional space model jumps processing method
And device.
In a first aspect, the embodiment of the present invention proposes that a kind of three-dimensional space model jumps processing method, including:
The relative positional relationship of each three-dimensional space submodel is obtained, depending on that relative position relationship, determines each three-dimensional space
Between target area in submodel;
Setting jumps label in each target area, and the label that jumps includes target submodel;
If judgement know it is described jump label and be triggered, jump to the target submodel and checked.
Optionally, the setting in each target area jumps label, specifically includes:
If window and/or door in the target area comprising current three-dimensional space submodel are known in judgement, in each mesh
Setting jumps label on window and/or door in mark region.
Optionally, the setting in each target area jumps label, specifically includes:
If the window or door for not including current three-dimensional space submodel in the target area are known in judgement, working as prezone
The predeterminated position setting in face jumps label.
Optionally, if the judgement know it is described jump label and be triggered, jump to the target submodel and looked into
It sees, specifically includes:
If knowing that the click on area of the clicking operation is jumping label equipped with described according to the judgement of the clicking operation of user
Target area in, then jump to the target submodel and checked.
Second aspect, the embodiment of the present invention also propose that a kind of three-dimensional space model jumps processing unit, including:
Area determination module, for obtaining the relative positional relationship of each three-dimensional space submodel, depending on that relative position
Relationship determines the target area in each three-dimensional space submodel;
Label setup module jumps label for being arranged in each target area, and the label that jumps includes target submodule
Type;
Model jump module, if for judge to know it is described jump label and be triggered, jump to the target submodel
It is checked.
Optionally, if the label setup module is specifically used for judgement and knows in the target area comprising current three-dimensional space
Between submodel window and/or door, then setting jumps label on window and/or door in each target area.
Optionally, if the label setup module is specifically used for judgement and knows in the target area not comprising current three-dimensional
The window or door of space submodel then jump label in the predeterminated position setting of current interface.
Optionally, if the model jump module is specifically used for knowing that the click is grasped according to the judgement of the clicking operation of user
The click on area of work is being equipped in the target area for jumping label, then jumps to the target submodel and checked.
The third aspect, the embodiment of the present invention also propose a kind of electronic equipment, including:
At least one processor;And
At least one processor being connect with the processor communication, wherein:
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to
Order is able to carry out the above method.
Fourth aspect, the embodiment of the present invention also propose a kind of non-transient computer readable storage medium, the non-transient meter
Calculation machine readable storage medium storing program for executing stores computer program, and the computer program makes the computer execute the above method.
As shown from the above technical solution, the embodiment of the present invention is determined by the relative positional relationship of each three-dimensional space submodel
Target area, setting jumps label in each target area, and target submodel is jumped to when jumping label and being triggered, and realizes more
Close friend between a submodel jumps, closer to see that room body is tested on the spot.
Specific embodiment
With reference to the accompanying drawing, further description of the specific embodiments of the present invention.Following embodiment is only used for more
Technical solution of the present invention is clearly demonstrated, and not intended to limit the protection scope of the present invention.
Before describing in detail to content provided by the invention, " VR (VirtualReality, virtual reality) is first provided
See room " meaning.
See that room, video see that room, panorama see that room etc. can not provide depth information and really perceive with currently a popular picture
It sees that " VR sees room ", which refers to, really restores source of houses three-dimensional scenic using VR technology unlike room concept, is provided certainly for consumer
See that room body is tested by the immersion under mode, so that user be allowed to stay indoors to experience and really see room scene.For example, by beating
The VR source of houses on APP is opened, touching screen any place can be obtained size, direction, far and near even depth including house real space
Information.In reduction source of houses three-dimensional scenic this respect, the scanning shoot of multiple spot multi-angle can be first carried out to house, is obtained complete
Three dimensional point cloud, longitude and latitude data and the high clear colorful photo more exposed, later period are filled out by automatic modeling, intelligent cavity
Mend, full-automatic data are extracted, the three-dimensional reconstructions such as HDR optimization, by total data and picture texture mapping to threedimensional model,
Obtain the true floor space that end user sees.
Fig. 1 shows the flow diagram that a kind of three-dimensional space model provided in this embodiment jumps processing method, including:
S101, the relative positional relationship for obtaining each three-dimensional space submodel, relationship, determines each three depending on that relative position
Target area in dimension space submodel.
Wherein, positional relationship of the relative positional relationship between every two submodel, for example, current house submodel
With the positional relationship of gymnasium submodel, alternatively, current house submodel and the positional relationship of coffee-house submodel, etc..
The target area is the position according to different standing places, where the relatively current submodel of another submodel
It is mapped to the region in current submodel.
S102, setting jumps label in each target area, and the label that jumps includes target submodel.
Wherein, the label that jumps is that will do it the label that submodel jumps after user triggers.
If S103, judgement know it is described jump label and be triggered, jump to the target submodel and checked.
Specifically, when seeing the function in room using VR, user is often not content with a understanding house internal information, also thinks
More other informations are solved, such as the case where public domain etc..Public domain includes cell environment, balcony situation, coffee-house, is good for
Body room etc. region.In order to solve such case, the present embodiment is realized interrelated between multiple space submodels, makes each
Submodel can be shifted mutually, to meet this demand of user.Specifically, it when making three-dimensional space model, makes multiple
The three-dimensional space submodel of different places, and record the relative positional relationship of each submodel;It is interrelated to different submodels
Place production label, click label realize three-dimensional space submodel between jumping.
The present embodiment determines target area by the relative positional relationship of each three-dimensional space submodel, in each target area
Setting jumps label, and target submodel is jumped to when jumping label and being triggered, realizes that the close friend between multiple submodels jumps, more
It is close to see that room body is tested on the spot.
Further, on the basis of above method embodiment, S102 is specifically included:
If window and/or door in the target area comprising current three-dimensional space submodel are known in judgement, in each mesh
Setting jumps label on window and/or door in mark region.
If the window or door for not including current three-dimensional space submodel in the target area are known in judgement, working as prezone
The predeterminated position setting in face jumps label.
For example, if certain fan window through current house is it can be seen that coffee-house in public domain, current
Label record coffee-house submodel is arranged in certain fan window of the submodel in house, and coffee-house can be checked by clicking the label.
If all windows and door through current house can not all see the balcony in public domain, in current interface
Predeterminated position setting jumps label, and balcony can be checked by clicking the label.The predeterminated position can be the lower right corner at interface, or
The other positions for not influencing three-dimensional space model and checking of person.
By the way that a three-dimensional space submodel minimum to be placed in another three-dimensional space submodel, so that user
Jumping more freely between three-dimensional and three-dimensional.
Further, on the basis of above method embodiment, the S103 is specifically included:
If knowing that the click on area of the clicking operation is jumping label equipped with described according to the judgement of the clicking operation of user
Target area in, then jump to the target submodel and checked.
Specifically, when as user, progress house is checked in three-dimensional space model, it is seen that show coffee-house at window, then
The coffee-house at window is clicked, coffee-house submodel is jumped to automatically and is checked, while meeting user and seeing room psychology, more
Facilitate user.
It is described Fig. 2 shows the structural schematic diagram that a kind of three-dimensional space model provided in this embodiment jumps processing unit
Device includes:Area determination module 201, label setup module 202 and model jump module 203, wherein:
The area determination module 201 is used to obtain the relative positional relationship of each three-dimensional space submodel, according to the phase
To positional relationship, the target area in each three-dimensional space submodel is determined;
The label setup module 202 is used for the setting in each target area and jumps label, and the label that jumps includes mesh
Mark submodel;
If the model jump module 203 for judge to know it is described jump label and be triggered, jump to the target
Submodel is checked.
Specifically, the area determination module 201 obtains the relative positional relationship of each three-dimensional space submodel, according to described
Relative positional relationship determines the target area in each three-dimensional space submodel;The label setup module 202 is in each target area
Interior setting jumps label, and the label that jumps includes target submodel;If the jump is known in the judgement of model jump module 203
Turn label to be triggered, then jumps to the target submodel and checked.
The present embodiment determines target area by the relative positional relationship of each three-dimensional space submodel, in each target area
Setting jumps label, and target submodel is jumped to when jumping label and being triggered, realizes that the close friend between multiple submodels jumps, more
It is close to see that room body is tested on the spot.
Further, on the basis of above-mentioned apparatus embodiment, if the label setup module 202 is specifically used for judgement and obtains
Know in the target area include current three-dimensional space submodel window and/or door, then in each target area window and/or
Setting jumps label on door.
Further, on the basis of above-mentioned apparatus embodiment, if the label setup module 202 is specifically used for judgement and obtains
Know the window or door for not including current three-dimensional space submodel in the target area, is then arranged in the predeterminated position of current interface
Jump label.
Further, on the basis of above-mentioned apparatus embodiment, if the model jump module 203 be specifically used for according to
The clicking operation judgement at family knows that the click on area of the clicking operation is being equipped in the target area for jumping label, then jumps
The target submodel is gone to be checked.
Three-dimensional space model described in the present embodiment, which jumps processing unit, can be used for executing above method embodiment, former
Reason is similar with technical effect, and details are not described herein again.
Reference Fig. 3, the electronic equipment, including:Processor (processor) 301, memory (memory) 302 and total
Line 303;
Wherein,
The processor 301 and memory 302 complete mutual communication by the bus 303;
The processor 301 is used to call the program instruction in the memory 302, to execute above-mentioned each method embodiment
Provided method.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating
Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated
When machine executes, computer is able to carry out method provided by above-mentioned each method embodiment.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium
Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
It should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although reference
Invention is explained in detail for previous embodiment, those skilled in the art should understand that:It still can be right
Technical solution documented by foregoing embodiments is modified or equivalent replacement of some of the technical features;And this
It modifies or replaces, the spirit and model of technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution
It encloses.