CN109885783A - A kind of loading method and its device of three-dimensional building model - Google Patents
A kind of loading method and its device of three-dimensional building model Download PDFInfo
- Publication number
- CN109885783A CN109885783A CN201910043778.3A CN201910043778A CN109885783A CN 109885783 A CN109885783 A CN 109885783A CN 201910043778 A CN201910043778 A CN 201910043778A CN 109885783 A CN109885783 A CN 109885783A
- Authority
- CN
- China
- Prior art keywords
- level
- sample
- object element
- initial data
- loading method
- 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.)
- Granted
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The present invention relates to a kind of loading method of three-dimensional building model, including S1, startup program and load presupposed information;S2, it generates and the plane guide figure of stress model object is to interactive interface;S3, it activates object element and sends data transfer instruction to server;S4, object element initial data is downloaded to browser rs cache from server;S5, it parses initial data and generates object element level-one displaying sample;S6, show that sample carries out advanced treating and then generate second level to show sample to level-one;S7, the second level displaying mutual interface of sample best friend is sent.A kind of loading device of threedimensional model building, including preloaded components, plane guide figure generation module, active module, initial data obtain module, level-one shows sample generation module, second level shows sample generation module and data transmission module.The present invention can render the drawbacks of load overall model takes long time to avoid traditional web terminal, effectively improve displaying efficiency, bring better usage experience for user.
Description
Technical field
The present invention relates to the loading method and its device of a kind of three-dimensional building model, belong to three-dimensional modeling, three-dimensional animation,
Web terminal three-dimensional display field.
Background technique
Dimension display technologies are widely used in every field at present, and for traditional threedimensional model, it needs substantially
Installing dedicated software in client could use, and also having part is then to execute rendering because model itself is sufficiently bulky
Need to take a significant amount of time load, the rendering of Holding Model when work;Compared to this, the threedimensional model displaying of web terminal becomes to get over
Come more universal, but web terminal renders three-dimensional model equally exists efficiency, and how to effectively improve the displaying efficiency of web be to work as
Preceding technical problem urgently to be solved.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of loading methods of three-dimensional building model, including following step
It is rapid:
S1, startup program simultaneously load presupposed information;
S2, it generates and the plane guide figure of stress model object is to interactive interface;
S3, it activates object element and sends data transfer instruction to server;
S4, object element initial data is downloaded to browser rs cache from server;
S5, it parses initial data and generates object element level-one displaying sample;
S6, show that sample carries out advanced treating and then generate second level to show sample to level-one;
S7, the second level displaying mutual interface of sample best friend is sent.
Further, the presupposed information includes but is not limited to application scenarios, advanced treating rule and material database.
Further, the application scenarios are updated in each startup program.
Further, step S2 further includes the longitudinal list for determining model object first based on the application scenarios in presupposed information
Member, then the judgement of lateral cell number successively is carried out to each longitudinal unit, if it is determined that result is greater than one, then according to actual quantity
Longitudinal unit is split;If it is determined that result is one, then next longitudinal unit determine until completing to all vertical
Judgement to unit.
Further, longitudinal unit and lateral cell at least have one.
Further, step S6 further includes showing that sample carries out including but not limited to color to level-one based on advanced treating rule
Rendering, texture mapping and comparison adjustment.
Further, material database of the material called in advanced treatment process in presupposed information.
A kind of loading device of threedimensional model building, comprises the following modules:
Preloaded components for startup program and load presupposed information;
Plane guide figure generation module, for generating and the plane guide figure of stress model object is to interactive interface;
Active module, for activating object element and sending data transfer instruction to server;
Initial data obtains module, for downloading object element initial data to browser rs cache from server;
Level-one shows sample generation module, shows sample for parsing initial data and generating object element level-one;
Second level shows sample generation module, for showing that sample carries out advanced treating and generates second level flex spline in turn to level-one
This;And
Data transmission module shows the mutual interface of sample best friend for sending second level.
A kind of computer readable storage medium, is stored thereon with computer instruction, realization when which is executed by processor
Step in the above method.
The drawbacks of being taken long time when the invention has the benefit that load overall model can be rendered to avoid traditional web terminal,
Displaying efficiency is effectively improved, brings better usage experience for user.
Detailed description of the invention
Fig. 1 show overview flow chart according to the present invention;
Fig. 2 show apparatus according to the invention connection figure;
Fig. 3 show A according to a particular embodiment of the invention;
Fig. 4 show B according to a particular embodiment of the invention.
Specific embodiment
It should be appreciated that the embodiment of the present invention can be by computer hardware, the combination of hardware and software or by depositing
The computer instruction in non-transitory computer-readable memory is stored up to be effected or carried out.Standard volume can be used in the method
Journey technology-includes that the non-transitory computer-readable storage media configured with computer program is realized in computer program,
In configured in this way storage medium computer is operated in a manner of specific and is predefined --- according in a particular embodiment
The method and attached drawing of description.Each program can with the programming language of level process or object-oriented come realize with department of computer science
System communication.However, if desired, the program can be realized with compilation or machine language.Under any circumstance, which can be volume
The language translated or explained.In addition, the program can be run on the specific integrated circuit of programming for this purpose.
In addition, the operation of process described herein can be performed in any suitable order, unless herein in addition instruction or
Otherwise significantly with contradicted by context.Process described herein (or modification and/or combination thereof) can be held being configured with
It executes, and is can be used as jointly on the one or more processors under the control of one or more computer systems of row instruction
The code (for example, executable instruction, one or more computer program or one or more application) of execution, by hardware or its group
It closes to realize.The computer program includes the multiple instruction that can be performed by one or more processors.
Further, the method can be realized in being operably coupled to suitable any kind of computing platform, wrap
Include but be not limited to PC, mini-computer, main frame, work station, network or distributed computing environment, individual or integrated
Computer platform or communicated with charged particle tool or other imaging devices etc..Each aspect of the present invention can be to deposit
The machine readable code on non-transitory storage medium or equipment is stored up to realize no matter be moveable or be integrated to calculating
Platform, such as hard disk, optical reading and/or write-in storage medium, RAM, ROM, so that it can be read by programmable calculator, when
Storage medium or equipment can be used for configuration and operation computer to execute process described herein when being read by computer.This
Outside, machine readable code, or part thereof can be transmitted by wired or wireless network.When such media include combining microprocessor
Or other data processors realize steps described above instruction or program when, invention as described herein including these and other not
The non-transitory computer-readable storage media of same type.When methods and techniques according to the present invention programming, the present invention
It further include computer itself.
Computer program can be applied to input data to execute function as described herein, to convert input data with life
At storing to the output data of nonvolatile memory.Output information can also be applied to one or more output equipments as shown
Device.In the preferred embodiment of the invention, the data of conversion indicate physics and tangible object, including the object generated on display
Reason and the particular visual of physical objects are described.
It should be noted that such as without Special Statement, in the disclosure used in the "an" of singular, " described " and
"the" is also intended to including most forms, unless the context clearly indicates other meaning.In addition, unless otherwise defined, this paper institute
All technical and scientific terms used are identical as the normally understood meaning of those skilled in the art.This paper specification
Used in term be intended merely to description specific embodiment, be not intended to be limiting of the invention.Term as used herein
"and/or" includes the arbitrary combination of one or more listed items.
(" such as ", " such as ") makes it should be appreciated that provided in this article any and all example or exemplary language
With being intended merely to that the embodiment of the present invention is better described, and unless the context requires otherwise, otherwise the scope of the present invention will not be applied
Limitation.
Next specific embodiments of the present invention are described further in conjunction with attached drawing:
It show overview flow chart according to the present invention referring to Fig.1, comprising the following steps:
S1, startup program simultaneously load presupposed information;Presupposed information mentioned herein includes but is not limited to application scenarios, depth
Degree processing rule and material database, can be deleted or be increased to the content of presupposed information according to the actual situation;Wherein emphasis
What is illustrated is that application scenarios can all be updated in each startup program;
S2, it generates and the plane guide figure of stress model object is to interactive interface;Specific implementation procedure includes based on default
Application scenarios in information determine longitudinal unit of model object first, then successively carry out lateral cell to each longitudinal unit
Number determines, if it is determined that result is then to be split according to actual quantity to longitudinal unit greater than one;If it is determined that result is one, then
Next longitudinal unit determine until completing the judgement to all longitudinal units;Mentioned longitudinal unit and lateral list
Member at least has one;
S3, it activates object element and sends data transfer instruction to server;
S4, object element initial data is downloaded to browser rs cache from server;
S5, it parses initial data and generates object element level-one displaying sample;
S6, show that sample carries out advanced treating and then generate second level to show sample to level-one;It further include based on advanced treating
Rule shows that sample carries out including but not limited to color rendering, texture mapping and comparison and adjusts to level-one;Advanced treatment process
Material database of the material of middle calling in presupposed information;
S7, the second level displaying mutual interface of sample best friend is sent.
It is shown apparatus according to the invention connection figure referring to Fig. 2, is specifically included with lower module:
Preloaded components connect realization interaction with plane guide figure generation module, for startup program and load default letter
Breath;
Plane guide figure generation module, connect with active module realization interaction, for generates and stress model object put down
Face guide figure is to interactive interface;
Active module obtains module with initial data and connect realization interaction, passes for activating object element and sending data
It is defeated to instruct to server;
Initial data obtains module, shows that sample generation module connect realization interaction with level-one, for downloading from server
Object element initial data is to browser rs cache;
Level-one shows sample generation module, shows that sample generation module connect realization interaction with second level, original for parsing
Data simultaneously generate object element level-one displaying sample;
Second level show sample generation module, connect with data transmission module realization interaction, for level-one displaying sample into
Row advanced treating and then generation second level displaying sample;
And data transmission module, the mutual interface of sample best friend is shown for sending second level.
It is shown A according to a particular embodiment of the invention referring to Fig. 3, embodiment A shows when institute in plane guide figure
The case where when to have lateral cell number be 1, what is actually shown is exactly the floor figure built.
It is shown B according to a particular embodiment of the invention referring to Fig. 4, embodiment B shows when horizontal in plane guide figure
To unit number be 3 when the case where, 3 transverse areas can be respectively designated as North, middle area according to practical application scene by us
And South, it is more convenient user and positions object element.
The above, only presently preferred embodiments of the present invention, the invention is not limited to above embodiment, as long as
It reaches technical effect of the invention with identical means, all should belong to protection scope of the present invention.In protection model of the invention
Its technical solution and/or embodiment can have a variety of different modifications and variations in enclosing.
Claims (9)
1. a kind of loading method of three-dimensional building model, which comprises the following steps:
S1, startup program simultaneously load presupposed information;
S2, it generates and the plane guide figure of stress model object is to interactive interface;
S3, it activates object element and sends data transfer instruction to server;
S4, object element initial data is downloaded to browser rs cache from server;
S5, it parses initial data and generates object element level-one displaying sample;
S6, show that sample carries out advanced treating and then generate second level to show sample to level-one;
S7, the second level displaying mutual interface of sample best friend is sent.
2. the loading method of three-dimensional building model according to claim 1, which is characterized in that the presupposed information include but
It is not limited to application scenarios, advanced treating rule and material database.
3. the loading method of three-dimensional building model according to claim 2, which is characterized in that the application scenarios are each
It is updated when startup program.
4. the loading method of three-dimensional building model according to claim 1, which is characterized in that step S2 further includes based on pre-
If the application scenarios in information determine longitudinal unit of model object first, then successively carry out to each longitudinal unit laterally single
First number determines, if it is determined that result is then to be split according to actual quantity to longitudinal unit greater than one;If it is determined that result is one,
Then next longitudinal unit determine until completing the judgement to all longitudinal units.
5. the loading method of three-dimensional building model according to claim 4, which is characterized in that the longitudinal direction unit and transverse direction
Unit at least has one.
6. the loading method of three-dimensional building model according to claim 1, which is characterized in that step S6 further includes based on deep
Degree processing rule shows that sample carries out including but not limited to color rendering, texture mapping and comparison and adjusts to level-one.
7. the loading method of three-dimensional building model according to claim 6, which is characterized in that called in advanced treatment process
Material database of the material in presupposed information.
8. a kind of loading device of threedimensional model building, which is characterized in that comprise the following modules:
Preloaded components for startup program and load presupposed information;
Plane guide figure generation module, for generating and the plane guide figure of stress model object is to interactive interface;
Active module, for activating object element and sending data transfer instruction to server;
Initial data obtains module, for downloading object element initial data to browser rs cache from server;
Level-one shows sample generation module, shows sample for parsing initial data and generating object element level-one;
Second level shows sample generation module, for showing that sample carries out advanced treating and then generate second level to show sample to level-one;
And
Data transmission module shows the mutual interface of sample best friend for sending second level.
9. a kind of computer readable storage medium, is stored thereon with computer instruction, it is characterised in that the instruction is held by processor
The step of method as described in any one of claims 1 to 7 is realized when row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910043778.3A CN109885783B (en) | 2019-01-17 | 2019-01-17 | Loading method and device of three-dimensional building model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910043778.3A CN109885783B (en) | 2019-01-17 | 2019-01-17 | Loading method and device of three-dimensional building model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109885783A true CN109885783A (en) | 2019-06-14 |
CN109885783B CN109885783B (en) | 2021-12-21 |
Family
ID=66926152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910043778.3A Active CN109885783B (en) | 2019-01-17 | 2019-01-17 | Loading method and device of three-dimensional building model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109885783B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113888725A (en) * | 2021-09-30 | 2022-01-04 | 北京城市网邻信息技术有限公司 | Virtual reality interface loading method, device, equipment and medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006136978A1 (en) * | 2005-06-22 | 2006-12-28 | Koninklijke Philips Electronics N.V. | Method and system for rendering image data on a 3d display |
CN101763656A (en) * | 2010-01-28 | 2010-06-30 | 北京航空航天大学 | Construction and display control method for floor and house division model of three-dimensional urban building |
US20100322535A1 (en) * | 2009-06-22 | 2010-12-23 | Chunghwa Picture Tubes, Ltd. | Image transformation method adapted to computer program product and image display device |
CN104036550A (en) * | 2014-06-25 | 2014-09-10 | 北京师范大学 | Laser radar point-cloud interpretation and reconstruction method for building elevations on basis of shape semantics |
CN105095323A (en) * | 2014-05-23 | 2015-11-25 | 上海仪电控股(集团)公司 | Webpage display and control system for three-dimensional building of Internet of Things based on BIM and WebGL |
CN105654545A (en) * | 2014-11-18 | 2016-06-08 | 苏州美谷视典软件科技有限公司 | Construction and hierarchical display control method for 3D interactive villa type |
CN106530896A (en) * | 2016-11-30 | 2017-03-22 | 中国直升机设计研究所 | Virtual system for unmanned aerial vehicle flight demonstration |
CN107038741A (en) * | 2016-11-21 | 2017-08-11 | 上海咔咖文化传播有限公司 | The method of three-dimensional rendering two dimension shadow |
CN107464290A (en) * | 2017-08-07 | 2017-12-12 | 上海白泽网络科技有限公司 | Three-dimensional information methods of exhibiting, device and mobile terminal |
CN107506517A (en) * | 2017-07-04 | 2017-12-22 | 网易(杭州)网络有限公司 | BUILDINGS MODELS is shown, data processing method, device, medium, equipment and system |
CN107729065A (en) * | 2017-11-02 | 2018-02-23 | 港珠澳大桥管理局 | The method and system of a kind of 3 D monitoring |
CN107833105A (en) * | 2017-11-14 | 2018-03-23 | 青岛理工大学 | A kind of market visualization management of leasing method and system based on building construction information model |
-
2019
- 2019-01-17 CN CN201910043778.3A patent/CN109885783B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006136978A1 (en) * | 2005-06-22 | 2006-12-28 | Koninklijke Philips Electronics N.V. | Method and system for rendering image data on a 3d display |
US20100322535A1 (en) * | 2009-06-22 | 2010-12-23 | Chunghwa Picture Tubes, Ltd. | Image transformation method adapted to computer program product and image display device |
CN101763656A (en) * | 2010-01-28 | 2010-06-30 | 北京航空航天大学 | Construction and display control method for floor and house division model of three-dimensional urban building |
CN105095323A (en) * | 2014-05-23 | 2015-11-25 | 上海仪电控股(集团)公司 | Webpage display and control system for three-dimensional building of Internet of Things based on BIM and WebGL |
CN104036550A (en) * | 2014-06-25 | 2014-09-10 | 北京师范大学 | Laser radar point-cloud interpretation and reconstruction method for building elevations on basis of shape semantics |
CN105654545A (en) * | 2014-11-18 | 2016-06-08 | 苏州美谷视典软件科技有限公司 | Construction and hierarchical display control method for 3D interactive villa type |
CN107038741A (en) * | 2016-11-21 | 2017-08-11 | 上海咔咖文化传播有限公司 | The method of three-dimensional rendering two dimension shadow |
CN106530896A (en) * | 2016-11-30 | 2017-03-22 | 中国直升机设计研究所 | Virtual system for unmanned aerial vehicle flight demonstration |
CN107506517A (en) * | 2017-07-04 | 2017-12-22 | 网易(杭州)网络有限公司 | BUILDINGS MODELS is shown, data processing method, device, medium, equipment and system |
CN107464290A (en) * | 2017-08-07 | 2017-12-12 | 上海白泽网络科技有限公司 | Three-dimensional information methods of exhibiting, device and mobile terminal |
CN107729065A (en) * | 2017-11-02 | 2018-02-23 | 港珠澳大桥管理局 | The method and system of a kind of 3 D monitoring |
CN107833105A (en) * | 2017-11-14 | 2018-03-23 | 青岛理工大学 | A kind of market visualization management of leasing method and system based on building construction information model |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113888725A (en) * | 2021-09-30 | 2022-01-04 | 北京城市网邻信息技术有限公司 | Virtual reality interface loading method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN109885783B (en) | 2021-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105593813B (en) | For visualizing the presentation interpreter of the data provided from constrained environment container | |
CN108536468A (en) | Profile acquisition method, providing method, device and equipment | |
CN107277615B (en) | Live broadcast stylization processing method and device, computing device and storage medium | |
CN110288705B (en) | Method and device for generating three-dimensional model | |
CN109308681A (en) | Image processing method and device | |
CN111199062B (en) | Simulation method and system based on industrial development software and electronic equipment | |
US11514263B2 (en) | Method and apparatus for processing image | |
CN111784818B (en) | Method, apparatus and computer readable storage medium for generating three-dimensional mannequin | |
CN109754464B (en) | Method and apparatus for generating information | |
CN108920281A (en) | Extensive image processing method and system | |
CN109885783A (en) | A kind of loading method and its device of three-dimensional building model | |
CN115775310A (en) | Data processing method and device, electronic equipment and storage medium | |
CN117036546B (en) | Picture generation method and device, storage medium and computing equipment | |
CN109660508A (en) | Data visualization method, electronic device, computer equipment and storage medium | |
CN105989075A (en) | Method, device and system for displaying image by browser | |
CN111260756B (en) | Method and device for transmitting information | |
CN109242892B (en) | Method and apparatus for determining the geometric transform relation between image | |
CN110368693A (en) | A kind of MMO game element cutting method and its device based on multi-quadtree | |
CN109794062A (en) | A kind of method and device thereof for realizing MMO game earth's surface applique | |
CN112416488B (en) | User portrait implementing method, device, computer equipment and computer readable storage medium | |
Marszałkowski et al. | Analysis and solution of CSS-sprite packing problem | |
CN112328940A (en) | Method and device for embedding transition page into webpage, computer equipment and storage medium | |
CN109903362A (en) | The method and device that 2D coordinate map operation 3D actor model based on Unity3D is watched attentively | |
CN107679175B (en) | Method and system for batch datamation of vegetarian gold products | |
CN114820908B (en) | Virtual image generation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |