CN103473800B - A kind of comprehensive dynamic dispatching method of threedimensional model - Google Patents

A kind of comprehensive dynamic dispatching method of threedimensional model Download PDF

Info

Publication number
CN103473800B
CN103473800B CN201310282366.8A CN201310282366A CN103473800B CN 103473800 B CN103473800 B CN 103473800B CN 201310282366 A CN201310282366 A CN 201310282366A CN 103473800 B CN103473800 B CN 103473800B
Authority
CN
China
Prior art keywords
cone
district
threedimensional model
stage
rough
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310282366.8A
Other languages
Chinese (zh)
Other versions
CN103473800A (en
Inventor
闫烁
王永星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Geocentric coordinate Mdt InfoTech Ltd of Nanjing
Original Assignee
Geocentric Coordinate Mdt Infotech Ltd Of Nanjing
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Geocentric Coordinate Mdt Infotech Ltd Of Nanjing filed Critical Geocentric Coordinate Mdt Infotech Ltd Of Nanjing
Priority to CN201310282366.8A priority Critical patent/CN103473800B/en
Publication of CN103473800A publication Critical patent/CN103473800A/en
Application granted granted Critical
Publication of CN103473800B publication Critical patent/CN103473800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of comprehensive dynamic dispatching method of threedimensional model, it has set up refined model and simple model respectively for each object, to carrying out subregion inside and outside view frustums, and the requirement according to conversion process between the requirement rendered, and each subregion should meet in subregion each during three-dimensional visualization fluency carries out threedimensional model dynamic dispatching.The present invention breaches the restriction of hardware to a certain extent, significantly reduce three-dimension interaction scene to video memory and the consumption of internal memory, make mobile device end run true three-dimensional detail model large scene to be possibly realized, this invention may be directly applied to PC(Personal Computer) transformation of client three-dimensional virtual scene and optimization, it is achieved scene is to the transplanting of mobile terminal.

Description

A kind of comprehensive dynamic dispatching method of threedimensional model
Technical field
The present invention relates to a kind of comprehensive dynamic dispatching method of threedimensional model, belong to three-dimension virtual reality scheduling field.
Background technology
The projection pattern of conventional two-dimensional map determines must be with abstract symbolic formulation atural object, it is impossible to experiencing intuitively to people, especially terrain surface specifications complexity when, two-dimensional map is difficult to accurately reflect earth's surface information.But, on this problem, three-dimensional virtual reality technology disclosure satisfy that the needs of people just.
Current virtual reality technology, it is necessary first to set up threedimensional model, then carries out unifying or burst disposably completes to load, and can realize three-dimensional range.But three-dimensional modeling data amount is huge, it is desirable to accomplish the effect of smooth roaming, the hardware configuration of computer is required higher.
Under the new trend of information age, smart mobile phone and Open Source Platform are constantly popularized, although there is a big difference for the hardware condition of mobile device and computer, but it has innate advantage portable, moveable.Along with big data real-time rendering and the development of Real-Time Scheduling technology, mobile device hardware configuration constantly promotes, and shows that three-dimensional scenic is increasingly becoming possibility on embedded device.But by mobile terminal hardware limitations and the double influence of three-dimensional scenic complexity, the very three-dimensional large scene smooth operation the in mobile terminal yet suffers from the biggest difficulty.
Summary of the invention
Present invention solves the technical problem that and be: existing very three-dimensional large scene cannot be in the deficiency of the smooth and easy operation of mobile terminal.Invention proposes a kind of comprehensive dynamic dispatching method of threedimensional model, it is possible to achieve the more effective real-time rendering of threedimensional model and scheduling, breaches the constraint of mobile device hardware condition, thus is that very three-dimensional large scene smooth operation on mobile terminals has established technical foundation.
In order to solve above-mentioned technical problem, the technical scheme that the present invention proposes is a kind of comprehensive dynamic dispatching method of threedimensional model, comprises the following steps:
S1, at least set up subtle three-dimensional model, rough threedimensional model for each object;
S2, described threedimensional model have four-stage: the first stage does not loads, second stage is loaded as memory mirror, phase III release resource bag, fourth stage instantiation;When model is in instantiation state, correspondence object becomes visible, otherwise corresponding object is invisible;
S3, centered by current camera position, according to distance from closely to rudimentary district in middle rank district, the cone in senior district, the cone in far cone inner region being divided into the cone;Equally, according to distance from closely to far cone outskirt being divided into senior district the cone, the cone outer middle rank district, the outer rudimentary district of the cone;
S4, according to the position relationship of zoning in object and S3, threedimensional model is carried out dynamic dispatching, scheduling result meets following condition:
When object is positioned at the rudimentary district of the cone, and its subtle three-dimensional module scheduling is to second stage;
When object is positioned at cone middle rank district, and corresponding rough threedimensional model is dispatched to fourth stage, and corresponding subtle three-dimensional module scheduling is to the phase III;
When object is positioned at the senior district of the cone, and corresponding rough threedimensional model is dispatched to other either phase in addition to fourth stage, and corresponding subtle three-dimensional module scheduling is to fourth stage;
When object is positioned at the outer senior district of the cone, and corresponding subtle three-dimensional module scheduling is to the phase III;
When object is positioned at the cone outer middle rank district, and corresponding subtle three-dimensional module scheduling is to second stage;
When object is positioned at the outer rudimentary district of the cone, and corresponding subtle three-dimensional module scheduling is to the first stage.
Owing to rough three-dimensional modeling data amount is less, to its load, unload consumed resource extremely limited, therefore simple model can with transition formula loading or transition formula unload, therefore the present invention does not carry out strict restriction to the stage residing for it.
Differentiation to threedimensional model rough in step S4 below carries out the citing of preferred version, but the differentiation of rough threedimensional model is not limited to following process.
As preferred scheme, in step S4, rough threedimensional model being carried out dynamic dispatching, scheduling result meets following condition:
When object is positioned at the rudimentary district of the cone, its rough threedimensional model is dispatched to second or the phase III;
When object is positioned at the senior district of the cone, corresponding rough threedimensional model is dispatched to second or the phase III;
When object is positioned at the outer senior district of the cone, and corresponding rough threedimensional model is dispatched to first stage or second stage;
When object is positioned at the cone outer middle rank district, and corresponding rough threedimensional model is dispatched to first stage or second stage;
When object is positioned at the outer rudimentary district of the cone, and corresponding rough threedimensional model is dispatched to the first stage.
Further, in step S3 of the present invention, in the cone, outside the outward flange in senior district, the cone, the outward flange in senior district is equal to the distance of current camera position;In the cone, outside the middle rank outward flange in district, the cone, the outward flange in middle rank district is equal to the distance of current camera position;In the cone, outside the outward flange in rudimentary district, the cone, the outward flange in rudimentary district is equal to the distance of current camera position.
Further, in step S4 of the present invention, when object is positioned at the senior district of the cone and is in and closely cuts out rear, face, then corresponding subtle three-dimensional module scheduling is to the phase III;Corresponding rough threedimensional model is dispatched to other either phase in addition to fourth stage.
In order to reduce operand, it is proposed that using the model that size is less, actual object is divided into some subelements by the present invention, and then sub-unit sets up threedimensional model.Therefore, object described in step S1 of the present invention is the subelement of real world object segmentation.
The present invention, according to the feature in district each inside and outside the cone, carries out dynamic dispatching in conjunction with threedimensional model state in internal memory.In the cone, nearby region (senior district in the cone) is high to models show detail, therefore only refined model is being carried out instantiation (after instantiation, object is visible) in this region, meet the high accuracy of closer object during three-dimensional visualization, and other remaining the most do not carry out refined model and carry out instantiation, therefore resource occupation is greatly reduced, reduces the requirement to system;And distance areas (middle rank district in the cone) is low to models show detail in the cone, therefore present with the instantiation of simple model in this region, it is possible to meet the requirement of three-dimensional visualization;From the process of whole dynamic dispatching it can be seen that when three-dimensional visualization roams, substantial portion of object is positioned at the outer rudimentary district of the cone, and corresponding model is in first stage non-stress state, is not take up any memory source, therefore reduces ample resources consumption.The visible present invention, on the premise of guaranteeing the smooth and easy operation of three-dimensional visualization, significantly reduces system requirements.
The present invention is directed to each object and set up refined model and simple model respectively, to carrying out subregion inside and outside the cone, and according in subregion each during three-dimensional visualization to display requirement, and conversion process should meet the requirement of fluency and carries out threedimensional model dynamic dispatching between each subregion, it is few that it takies resource, operational efficiency is high, uses the three-dimensional visualization scheme of dynamic dispatching technology of the present invention to ensure that virtual reality system smooth operation on mobile terminals.
To sum up, the present invention breaches the restriction of hardware to a certain extent, significantly reduce three-dimension interaction scene to video memory and the consumption of internal memory, make mobile device end run true three-dimensional detail model large scene to be possibly realized, this invention may be directly applied to PC(Personal Computer) transformation of client three-dimensional virtual scene and optimization, it is achieved scene is to the transplanting of mobile terminal.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings the comprehensive dynamic dispatching method of threedimensional model of the present invention is described further.
Fig. 1 is the cone of the present invention inside and outside subregion schematic diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawings and the present invention program is described further by embodiment, but the present invention program is not limited to the present embodiment.
The comprehensive dynamic dispatching method of the present embodiment threedimensional model, comprises the following steps:
S1, set up subtle three-dimensional model, rough threedimensional model for each object;
In order to reduce operand, it is proposed that using the model that size is less, actual object is divided into some subelements by the present invention, and then sub-unit sets up threedimensional model.I.e. object described in step S1 is the subelement of real world object segmentation;
S2, subtle three-dimensional model and rough threedimensional model all have four-stage: the first stage does not loads, second stage is loaded as memory mirror, phase III release resource bag, fourth stage instantiation;When model is in instantiation state, correspondence object becomes visible, otherwise corresponding object is invisible;
S3 is as it is shown in figure 1, centered by current camera position, according to distance from closely to rudimentary district V-III in middle rank district V-II, the cone in senior district V-I, the cone in far cone inner region being divided into the cone;Equally, according to distance from closely to far cone outskirt being divided into senior district N-I the cone, the cone outer middle rank district N-II, the outer rudimentary district N-III of the cone;As shown in Figure 1, in the present embodiment, in the cone, outside the outward flange of senior district V-I, the cone, the outward flange of senior district N-I is equal to the distance of current camera position;In the cone, outside the middle rank outward flange of district V-II, the cone, the outward flange of middle rank district N-II is equal to the distance of current camera position;In the cone, outside the outward flange of rudimentary district V-III, the cone, the outward flange of rudimentary district N-III is equal to the distance of current camera position;
S4, according to the position relationship of zoning in object and S3, threedimensional model is carried out dynamic dispatching, scheduling result meets following condition:
When object is positioned at the cone rudimentary district V-III, and its subtle three-dimensional module scheduling is to second stage;
When object is positioned at cone middle rank district V-II, and corresponding rough threedimensional model is dispatched to fourth stage, and corresponding subtle three-dimensional module scheduling is to the phase III;
When object is positioned at the cone senior district V-I, and corresponding rough threedimensional model is dispatched to other either phase in addition to fourth stage, and corresponding subtle three-dimensional module scheduling is to fourth stage;
When object is positioned at the outer senior district N-I of the cone, and corresponding subtle three-dimensional module scheduling is to the phase III;
When object is positioned at the cone outer middle rank district N-II, and corresponding subtle three-dimensional module scheduling is to second stage;
When object is positioned at the outer rudimentary district N-III of the cone, and corresponding subtle three-dimensional module scheduling is to the first stage;
When object is positioned at the cone senior district V-I and is in and closely cuts out L rear, face, then corresponding subtle three-dimensional module scheduling is to the phase III;Corresponding rough threedimensional model is dispatched to other either phase in addition to fourth stage.
Not having strict restriction to the scheduling of simple model in multiple regions, but need to meet: when object is positioned at cone middle rank district V-II, the object that rough threedimensional model is corresponding is visible (i.e. rough threedimensional model is in fourth stage instantiation time);When object is positioned at other remaining stages, the object that rough threedimensional model is corresponding is invisible, therefore schedulable is to any stage in addition to fourth stage.
In the present embodiment, rough threedimensional model carrying out dynamic dispatching and has been also carried out citing, scheduling result meets following condition:
When object is positioned at the cone rudimentary district V-III, and its rough threedimensional model is dispatched to second stage;
When object is positioned at the cone senior district V-I, and corresponding rough threedimensional model is dispatched to second stage;
When object is positioned at the outer senior district N-I of the cone, and corresponding rough threedimensional model is dispatched to the first stage;
When object is positioned at the cone outer middle rank district N-II, and corresponding rough threedimensional model is dispatched to the first stage;
When object is positioned at the outer rudimentary district N-III of the cone, and corresponding rough threedimensional model is dispatched to the first stage.
Below by video camera straight forward target object from as far as near the most again to as a example by the order at rear, dispatching method of the present invention is illustrated.
First, object is positioned at the cone rudimentary district V-III, and now, corresponding subtle three-dimensional model, rough threedimensional model are dispatched to second stage from the first stage;
In the object entrance cone during middle rank district V-II, corresponding rough threedimensional model is dispatched to fourth stage, simple model instantiation from second stage transition, and simple model is visible, and corresponding subtle three-dimensional model is dispatched to the phase III from second stage;
As senior district V-I in object enters the cone, corresponding subtle three-dimensional model is dispatched to fourth stage, refined model instantiation from the phase III, and refined model is visible;Meanwhile, rough threedimensional model is dispatched to second stage from fourth stage, and simple model transfers to invisible;
When object enters in the cone senior district V-I and is in and closely cuts out L rear, face, then corresponding subtle three-dimensional module scheduling is to the phase III, rough threedimensional model is dispatched to second stage, the object in L front, face is closely cut out owing to camera setting can only photograph, therefore object once " moves " to closely cutting out L rear, face, then be invisible;
When object is positioned at the outer senior district N-I of the cone, and corresponding subtle three-dimensional module scheduling is to the phase III, and rough threedimensional model is dispatched to the first stage;
When object is positioned at the cone outer middle rank district N-II, corresponding subtle three-dimensional module scheduling to second stage, and corresponding rough threedimensional model is dispatched to the first stage;
When object is positioned at the outer rudimentary district N-III of the cone, and corresponding subtle three-dimensional model, rough threedimensional model are dispatched to the first stage.
The inventive method is not limited to the concrete technical scheme described in above-described embodiment, and the technical scheme that all employing equivalents are formed is the protection domain of application claims.

Claims (5)

1. the comprehensive dynamic dispatching method of threedimensional model, comprises the following steps:
S1, at least set up subtle three-dimensional model, rough threedimensional model for each object;
S2, described threedimensional model have four-stage: the first stage does not loads, second stage is loaded as memory mirror, phase III release resource bag, fourth stage instantiation;When model is in instantiation state, correspondence object becomes visible, otherwise corresponding object is invisible;
Characterized by further comprising following steps:
S3, centered by current camera position, according to distance from closely to rudimentary district in middle rank district, the cone in senior district, the cone in far cone inner region being divided into the cone;Equally, according to distance from closely to far cone outskirt being divided into senior district the cone, the cone outer middle rank district, the outer rudimentary district of the cone;
S4, according to the position relationship of zoning in object and S3, threedimensional model is carried out dynamic dispatching, scheduling result meets following condition:
When object is positioned at the rudimentary district of the cone, and its subtle three-dimensional module scheduling is to second stage;
When object is positioned at cone middle rank district, and corresponding rough threedimensional model is dispatched to fourth stage, and corresponding subtle three-dimensional module scheduling is to the phase III;
When object be positioned at the senior district of the cone and being in closely cut out in face of side, corresponding rough threedimensional model is dispatched to other either phase in addition to fourth stage, and corresponding subtle three-dimensional module scheduling is to fourth stage;
When object is positioned at the outer senior district of the cone, and corresponding subtle three-dimensional module scheduling is to the phase III;
When object is positioned at the cone outer middle rank district, and corresponding subtle three-dimensional module scheduling is to second stage;
When object is positioned at the outer rudimentary district of the cone, and corresponding subtle three-dimensional module scheduling is to the first stage.
The comprehensive dynamic dispatching method of threedimensional model the most according to claim 1, it is characterised in that: in step S4, rough threedimensional model being carried out dynamic dispatching, scheduling result meets following condition:
When object is positioned at the rudimentary district of the cone, its rough threedimensional model is dispatched to second or the phase III;
When object is positioned at the senior district of the cone, corresponding rough threedimensional model is dispatched to second or the phase III;
When object is positioned at the outer senior district of the cone, and corresponding rough threedimensional model is dispatched to first stage or second stage;
When object is positioned at the cone outer middle rank district, and corresponding rough threedimensional model is dispatched to first stage or second stage;
When object is positioned at the outer rudimentary district of the cone, and corresponding rough threedimensional model is dispatched to the first stage.
The comprehensive dynamic dispatching method of threedimensional model the most according to claim 1, it is characterised in that: in described step S3, in the cone, outside the outward flange in senior district, the cone, the outward flange in senior district is equal to the distance of current camera position;In the cone, outside the middle rank outward flange in district, the cone, the outward flange in middle rank district is equal to the distance of current camera position;In the cone, outside the outward flange in rudimentary district, the cone, the outward flange in rudimentary district is equal to the distance of current camera position.
The comprehensive dynamic dispatching method of threedimensional model the most according to claim 1, it is characterised in that: in step S4, when object is positioned at the senior district of the cone and is in and closely cuts out rear, face, then corresponding subtle three-dimensional module scheduling is to the phase III;Corresponding rough threedimensional model is dispatched to other either phase in addition to fourth stage.
5. according to the comprehensive dynamic dispatching method of threedimensional model described in any one of claim 1-4, it is characterised in that: object described in step S1 is the subelement of real world object segmentation.
CN201310282366.8A 2013-07-05 2013-07-05 A kind of comprehensive dynamic dispatching method of threedimensional model Active CN103473800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310282366.8A CN103473800B (en) 2013-07-05 2013-07-05 A kind of comprehensive dynamic dispatching method of threedimensional model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310282366.8A CN103473800B (en) 2013-07-05 2013-07-05 A kind of comprehensive dynamic dispatching method of threedimensional model

Publications (2)

Publication Number Publication Date
CN103473800A CN103473800A (en) 2013-12-25
CN103473800B true CN103473800B (en) 2016-09-21

Family

ID=49798633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310282366.8A Active CN103473800B (en) 2013-07-05 2013-07-05 A kind of comprehensive dynamic dispatching method of threedimensional model

Country Status (1)

Country Link
CN (1) CN103473800B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069018B (en) * 2015-07-13 2018-08-03 中车青岛四方机车车辆股份有限公司 A kind of plant area's model roaming browsing method and system based on CATIA platforms
CN106683154B (en) * 2015-11-04 2020-04-14 南京地心坐标信息科技有限公司 Three-dimensional model dynamic scheduling method based on geometric center
CN106683155B (en) * 2015-11-04 2020-03-10 南京地心坐标信息科技有限公司 Comprehensive dynamic scheduling method for three-dimensional model
CN106683156B (en) * 2015-11-04 2020-03-17 南京地心坐标信息科技有限公司 Dynamic scheduling method based on center coordinate distance weighting

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145245A (en) * 2007-10-17 2008-03-19 北京航空航天大学 Non-homogeneous space partition based scene visibility cutting method
CN101419721A (en) * 2008-10-30 2009-04-29 上海大学 Complex indoor scene rapid drafting method based on view rejection
CN102903146A (en) * 2012-09-13 2013-01-30 中国科学院自动化研究所 Image processing method for scene drawing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8619122B2 (en) * 2010-02-02 2013-12-31 Microsoft Corporation Depth camera compatibility

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145245A (en) * 2007-10-17 2008-03-19 北京航空航天大学 Non-homogeneous space partition based scene visibility cutting method
CN101419721A (en) * 2008-10-30 2009-04-29 上海大学 Complex indoor scene rapid drafting method based on view rejection
CN102903146A (en) * 2012-09-13 2013-01-30 中国科学院自动化研究所 Image processing method for scene drawing

Also Published As

Publication number Publication date
CN103473800A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN103473800B (en) A kind of comprehensive dynamic dispatching method of threedimensional model
CN111583379B (en) Virtual model rendering method and device, storage medium and electronic equipment
CN109389664A (en) Model pinup picture rendering method, device and terminal
CN105321201A (en) Cloud light baking-based mobile terminal 3D real-time rendering method and system
CN105389090B (en) Method and device, mobile terminal and the computer terminal of game interaction interface display
KR20230079177A (en) Procedurally generated augmented reality content creators
CN103294428A (en) Information display method and electronic equipment
CN104717684A (en) WIFI mode virtual co-existence method and device
US20230267687A1 (en) 3d object model reconstruction from 2d images
CN107180445B (en) Expression control method and device of animation model
CN106683155B (en) Comprehensive dynamic scheduling method for three-dimensional model
CN111837122B (en) Virtual decoration method, device and system
CN104698728A (en) Micro-projector as well as operating method and operating device of micro-projector
WO2022072197A1 (en) Object relighting using neural networks
CN115204117A (en) Collaborative editing method and terminal equipment
CN105005484A (en) Event dispatching method of cross-platform game development tool
CN101840339B (en) Method for constructing stereo scene developed based on Flex and applied to webpage
WO2023005751A1 (en) Rendering method and electronic device
CN110569098B (en) Method, system, device and medium for generating 2D and 3D hybrid human-computer interface
CN106406430B (en) A kind of the scene Collaborative modeling system and its method of double touch screens based on wide-angle fold
CN116206006A (en) Card style direct illumination effect rendering method based on UE rendering engine
CN102147697A (en) Visual effect display method and electronic device
CN111223114B (en) Image area segmentation method and device and electronic equipment
CN109658495A (en) Rendering method, device and the electronic equipment of environment light screening effect
CN103035028B (en) A kind of method and device realizing interactive application scene

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 210046, No. 108 East, Gan Jia, Qixia District, Jiangsu, Nanjing

Applicant after: Yan Shuo

Address before: Room 2, unit 5, building 11, 501 broom Road, Lanshan District, Shandong, Linyi, 276001

Applicant before: Yan Shuo

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160824

Address after: 210046, 5, 1 East purple Road, Qixia District, Jiangsu, Nanjing

Applicant after: Geocentric coordinate Mdt InfoTech Ltd of Nanjing

Address before: 210046, No. 108 East, Gan Jia, Qixia District, Jiangsu, Nanjing

Applicant before: Yan Shuo

C14 Grant of patent or utility model
GR01 Patent grant