CN105205860B - The methods of exhibiting and device of threedimensional model scene - Google Patents

The methods of exhibiting and device of threedimensional model scene Download PDF

Info

Publication number
CN105205860B
CN105205860B CN201510642707.7A CN201510642707A CN105205860B CN 105205860 B CN105205860 B CN 105205860B CN 201510642707 A CN201510642707 A CN 201510642707A CN 105205860 B CN105205860 B CN 105205860B
Authority
CN
China
Prior art keywords
model
threedimensional model
threedimensional
default
taper
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
CN201510642707.7A
Other languages
Chinese (zh)
Other versions
CN105205860A (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.)
Beijing Forever Technology Co Ltd
Original Assignee
Beijing Forever Technology Co Ltd
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 Beijing Forever Technology Co Ltd filed Critical Beijing Forever Technology Co Ltd
Priority to CN201510642707.7A priority Critical patent/CN105205860B/en
Publication of CN105205860A publication Critical patent/CN105205860A/en
Application granted granted Critical
Publication of CN105205860B publication Critical patent/CN105205860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application provides a kind of methods of exhibiting embodiment of threedimensional model scene, the present embodiment sets person model in painting canvas space, after person model is moved to some position, determine eye position and the direction of person model, using eye position as summit, predetermined angle is central angle, build taper viewing areas, search the first kind threedimensional model in taper viewing areas and show, region outside taper viewing areas is defined as non-viewing area, search the Second Type threedimensional model in non-viewing area and show, wherein, the fidelity of first kind threedimensional model is higher than Second Type threedimensional model.It can be seen that, the model of the present embodiment loading is all not the model of high emulation, but the viewing of analog subscriber is experienced, and sight can not be touched into region and be loaded as the low model of fidelity, so as to can not only improve the loading efficiency of model scene, and the scene shown more conforms to the viewing experience of user.Present invention also provides threedimensional model scene display device embodiment.

Description

The methods of exhibiting and device of threedimensional model scene
Technical field
The application is related to threedimensional model display field, more specifically, being the methods of exhibiting and device of threedimensional model scene.
Background technology
Threedimensional model, it is the Polygons Representation of object, may be displayed in the terminal devices such as computer, it is true for simulating Object in the world.Further, multiple threedimensional models are included in the painting canvas space that terminal device is set, one can be simulated Scene in individual real world.For example, meadow model, goal model, prototype soccerballs, grandstand model etc. are included in painting canvas space It is interior, a football pitch scene can be built.
Specifically, in the model scene of generation, person model can be included, person model, which represents, watches the model scene User.User can by the input equipment of video equipment, to control the movement of person model, with the movement of person model, Painting canvas space shows the different zones of simulated scenario, true so as to see in moving process of the analog subscriber in real scene Object.
At present, the threedimensional model loaded in model scene, be all same type of model, i.e. the higher model of fidelity, Cause the displaying speed of simulated scenario slower.
The content of the invention
In view of this, this application provides a kind of methods of exhibiting of threedimensional model scene, to solve existing scene loading The relatively low technical problem of mode speed.In addition, present invention also provides a kind of exhibiting device of threedimensional model scene, to ensure The application and realization of methods described in practice.
To realize the purpose, the technical scheme that the application provides is as follows:
The first aspect of the application provides a kind of methods of exhibiting of threedimensional model scene, including:
In default painting canvas space, the moving operation according to user to default person model, default personage's mould is determined The eye position and direction of visual lines of type;Wherein, default person model is shown in the default painting canvas space;
It is central angle using the eye position as summit, predetermined angle, the direction that the direction of visual lines is the central angle, Taper viewing areas is determined, and the region outside the conical scan area is defined as non-viewing area;
In multiple default threedimensional models, the first kind threedimensional model positioned at the taper viewing areas is searched, and look into Look for the Second Type threedimensional model positioned at the non-viewing area;Wherein, the fidelity of the first kind threedimensional model is higher than The fidelity of the Second Type threedimensional model;
In the default painting canvas space, the first kind threedimensional model and the Second Type threedimensional model are shown, Obtain target three-dimensional scene.
The second aspect of the application provides a kind of exhibiting device of threedimensional model scene, including:
Eye position and direction determining mould, in default painting canvas space, foundation user to be to presetting person model Moving operation, determine the eye position and direction of visual lines of the default person model;Wherein, shown in the default painting canvas space There is default person model;
Painting canvas space watch region division module, for be central angle using the eye position as summit, predetermined angle, institute The direction that direction of visual lines is the central angle is stated, determines taper viewing areas, and the region outside the conical scan area is true It is set to non-viewing area;
First kind threedimensional model searching modul, in multiple default threedimensional models, searching and being seen positioned at the taper See the first kind threedimensional model in region;
Second Type threedimensional model searching modul, in multiple default threedimensional models, lookup to be located at the non-viewing The Second Type threedimensional model in region;Wherein, the fidelity of the first kind threedimensional model is three-dimensional higher than the Second Type The fidelity of model;
Different type threedimensional model display module, in the default painting canvas space, showing the first kind three Dimension module and the Second Type threedimensional model, obtain target three-dimensional scene.
From above technical scheme, the application has the following advantages that:
This application provides a kind of methods of exhibiting embodiment of threedimensional model scene, the present embodiment is previously provided with painting canvas sky Between, painting canvas is provided with person model in space, after person model is moved to some position, determines the eye position of person model And direction of visual lines, using the eye position as summit, using predetermined angle as central angle, in direction of visual lines side structure taper viewing area Domain, in multiple default threedimensional models, search the first kind threedimensional model positioned at taper viewing areas and show, taper is seen The region seen outside region is defined as non-viewing area, and searches the Second Type threedimensional model positioned at non-viewing area and show Show, wherein, the fidelity of first kind threedimensional model is higher than Second Type threedimensional model.It can be seen that the three-dimensional of the present embodiment generation Model scene is all not the model of high emulation, but the viewing of analog subscriber is experienced, and sight can not be touched to the model in region The relatively low model of fidelity is loaded as, this kind of mode can not only improve the loading velocity of model scene, and the scene shown More conform to the viewing experience of user.
Certainly, any product for implementing the application it is not absolutely required to reach all the above advantage simultaneously.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of application, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is the flow chart of the methods of exhibiting embodiment for the threedimensional model scene that the application provides;
Fig. 2 is the specific implementation for setting different models in taper viewing areas according to line-of-sight distance that the application provides Flow chart;
Fig. 3 is the specific implementation flow chart in the different models of viewing buffer area setting that the application provides;
Fig. 4 is the specific implementation flow chart that the setting that the application provides is included in space In vivo model;
Fig. 5 is that the setting that the application provides is blocked the specific implementation flow chart of model;
Fig. 6 is the structured flowchart of the exhibiting device embodiment for the threedimensional model scene that the application provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation describes, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of the application protection.
Referring to Fig. 1, the flow of the methods of exhibiting embodiment of the threedimensional model scene provided it illustrates the application.Such as Fig. 1 Shown, the present embodiment can specifically include step S101~step S104.
Step S101:In default painting canvas space, according to user to presetting the moving operation of person model, it is determined that presetting people The eye position and direction of visual lines of thing model;Wherein, preset in painting canvas space and show default person model.
Wherein, painting canvas space is pre-set, and person model is set in painting canvas space, for simulating currently viewing model The real person of scene is user.User can pass through the movement of the input device controls person model such as mouse, keyboard, this implementation Example is according to the shift position of person model, to simulate the different model scenes that real person is watched in diverse location.
Specifically, can be space coordinates corresponding to painting canvas space is set, the eye position of person model is eyes Position, the three-dimensional coordinate in space coordinates can be used to represent, wherein, the value of Z-dimension can be preset value in three-dimensional coordinate, The preset value represents eye-level of the person model on level land, and certainly, if person model is moved into some height, this is regarded Line height value can respective change.In addition, person model by it is front and rear left back mobile when, in the D coordinates value of eye position, X-dimension Can correspondingly it change with the value of Y dimensions.
At some current time, eye position of the person model in painting canvas space is obtained, also, obtain person model Direction of visual lines.Direction of visual lines refers to the direction that person model faces, and can be expressed as the angle with some reference direction.Example Such as, reference direction is the direction of X-dimension, i.e. front, then what direction of visual lines represented is sight and the front of person model Angle.
Step S102:Be central angle using eye position as summit, predetermined angle, direction of visual lines for central angle direction, really Determine taper viewing areas, and the region outside conical scan area is defined as non-viewing area.
Wherein, the threedimensional model scene of generation is to need to show the mankind to watch, it is appreciated that human eye has Certain angular field of view, the numerical value generally between 90 ° to 120 °.Therefore, some numerical value in the range of this can be taken as pre- If angle.
When in face of some direction, human eye can left back rotation up and down, so as to which the field range watched can To be considered a conical region.Therefore, the present embodiment is using the eye position of person model as summit, using predetermined angle as Central angle, determine the viewing areas of a taper.Wherein, the central angle represents the folder between two lines relative in tapered side Angle.In addition, the taper viewing areas has direction, direction is the direction of visual lines of person model.
In painting canvas space, the region that person model can be watched is defined as taper viewing areas, in addition, remaining area The region that domain representation person model can not currently be watched, the subregion is defined as non-viewing area.So, it is whole to draw Cloth space can consider to be made up of two parts, is respectively:Taper viewing areas and non-viewing area.
Step S103:In multiple default threedimensional models, the first kind threedimensional model positioned at taper viewing areas is searched, And search the Second Type threedimensional model positioned at non-viewing area;Wherein, the fidelity of first kind threedimensional model is higher than second The fidelity of type three dimensional model.
Wherein, according to the scene of realistic simulation, the threedimensional model for making object in the scene is preset.For example, simulated scenario For school, teaching building model, playground model, road model, the tree modelling etc. of both sides of the road can be made.Wherein, three-dimensional mould Type is using existing three-dimensional drawing tool making, such as CAD drawing instruments.
It should be noted that each object can have a two distinct types of threedimensional model, two kinds of threedimensional models are imitated True degree is different, and a fidelity is higher, and another fidelity is relatively low.For example, the higher teaching building model of fidelity can include three Window, door and stair etc. are tieed up, or, it can further include word upstairs, pattern etc..On the contrary, the religion that fidelity is relatively low It can be cube model to learn building module, and door and window of two dimension etc. can be included on cubical side, and not comprising text upstairs Word and pattern.Certainly, this is only an example, and the application is not limited thereto.
Painting canvas space is divided into taper viewing areas and non-viewing area two parts above, in the higher model of fidelity In, the model being located in taper viewing areas is searched, the model found is referred to as first kind threedimensional model, also, imitative Really spend in relatively low model, search the model being located in non-viewing area, the model found is referred to as Second Type three-dimensional mould Type.
Step S104:In default painting canvas space, first kind threedimensional model and Second Type threedimensional model are shown, is obtained Target three-dimensional scene.
Wherein, threedimensional model has respective coordinate value, for representing its present position in painting canvas space.Therefore, Threedimensional model can be placed in painting canvas space according to the coordinate value of threedimensional model, so as to obtain threedimensional model scene, display Watched to user.
From above technical scheme, this application provides a kind of methods of exhibiting embodiment of threedimensional model scene, this reality Apply example and be previously provided with painting canvas space, painting canvas is provided with person model in space, after person model is moved to some position, really The eye position and direction of visual lines of person model are determined, using the eye position as summit, using predetermined angle as central angle, in sight side Taper viewing areas is built to side, in multiple default threedimensional models, searches the first kind three positioned at taper viewing areas Dimension module is simultaneously shown, the region outside taper viewing areas is defined as into non-viewing area, and search positioned at non-viewing area Second Type threedimensional model simultaneously shows, wherein, the fidelity of first kind threedimensional model is higher than Second Type threedimensional model.Can See, the threedimensional model scene of the present embodiment generation is all not the model of high emulation, but the viewing of analog subscriber is experienced, and will regard The model that line can not touch region is loaded as the relatively low model of fidelity, and this kind of mode can not only improve the loading of model scene Efficiency, and the scene shown more conforms to the viewing experience of user.
In above example, whole painting canvas space is divided into two parts, a part is the region of sight in one's power, another portion It is divided into the too late region of sight, shows the different threedimensional model of fidelity respectively.Further, can also be to the area of sight in one's power Domain carries out careful division.
It is understood that in actual life, the mankind in the object on watching some direction, object definition with The increase of viewing distance and be gradually reduced.Therefore, distance threshold can be pre-set, taper viewing areas is divided into two Point, the different threedimensional model of fidelity is shown respectively.
Specifically, as shown in Fig. 2 in above-described embodiment in step S103 in multiple default threedimensional models, lookup is located at The specific implementation of the first kind threedimensional model of taper viewing areas includes step S201~step S202.
Step S201:In default refined model storehouse, search positioned at taper viewing areas and between eye position away from From the threedimensional model not less than pre-determined distance threshold value.
Step S202:In default simple model storehouse, search positioned at taper viewing areas and between eye position away from From the threedimensional model more than pre-determined distance threshold value, and search the threedimensional model positioned at non-viewing area;
Specifically, before implementation, two model libraries, respectively refined model storehouse and simple model can be pre-set Storehouse.Whole threedimensional models in the simulated scenario are included in two model libraries, only the fidelity of threedimensional model is different, specifically Ground, the fidelity of threedimensional model in refined model storehouse is preset, higher than the fidelity of threedimensional model in default simple model storehouse.
For example, the threedimensional model of teaching building is included in refined model storehouse and simple model storehouse, wherein, in refined model storehouse Teaching building model more emulates, such as floor, door and window, word and pattern comprising three-dimensional etc., teaching building mould in simple model storehouse Type is cube, and the flooring wall etc. of two-dimension picture expression is posted in cuboid sides.
As known from the above, distance threshold, the distance value that distance threshold simulation people clearly watches are previously provided with.Usually, The object that human eye can be clearly watched within 50m, therefore, can be according to simulated scenario and the engineer's scale of real scene, to 50m Ratiometric conversion is carried out, obtains the pre-determined distance threshold value in the application.Certainly, pre-determined distance threshold value can also be other numerical value, and It is confined to the numerical value.
Started with the summit of taper viewing areas, extend the length of the pre-determined distance threshold value to direction of visual lines, will it is default away from From the taper viewing areas within threshold value as Part I region, using remaining part in taper viewing areas as first Subregion.
In refined model storehouse, the model positioned at Part I region is searched, in simple model storehouse, searches and is located at second The model of subregion.So, taper viewing areas is also divided into two parts, apart from eye position not less than predetermined threshold value away from From part, it is shown that fine model, the rough model that the part exceeded is shown.This kind of load mode, i.e., by model The mode being shown in painting canvas, it can further improve the formation efficiency of model scene.
It should be noted that in the Part II region of taper viewing areas model fidelity, non-viewing can be higher than The fidelity of model in region.Specifically, in addition to refined model storehouse and simple model storehouse are set, transition can also be set Model library, wherein, the fidelity of model is ordered as in this three model libraries, and refined model storehouse is more than transition model storehouse and is more than roughly Model library.
In specific implementation, the model in the Part I region of taper viewing areas can be from refined model library lookup to , the model in the Part I region of taper viewing areas can be found from transition model storehouse, non-viewing area In model can be found from simple model storehouse.So as to, in the model scene of displaying, trizonal fidelity according to Secondary reduction, this kind of mode can not only improve loading velocity, and more conform to the viewing impression of user, better user experience.
Careful division has been carried out to taper viewing areas above, certainly, in actual applications, can also be to non-viewing area Make a distinction.Specifically, although the sight angle of people is less than 180 degree, the area of 180 degree is extended to from sight angle to both sides Domain, it still can obscure what is watched.
Therefore, as shown in figure 3, for step S103 in multiple default threedimensional models, lookup is located at non-sight in above-described embodiment Step S301~step S304 can be included by seeing the specific implementation of the Second Type threedimensional model in region.
Step S301:The line centered on direction of visual lines, predetermined angle is divided into two equal subangles, and respectively with regarding Line position is summit, the complementary angle of subangle is central angle, determines the viewing buffer area of two tapers.
Wherein, the line centered on direction of visual lines, default sight angle is divided into two equal subangles, for example, in advance If angle is 120 degree, predetermined angle is divided into two 60 degree of subangle by direction of visual lines.Using the complementary angle of subangle as central angle, Determine the viewing buffer area of two tapers respectively in the both sides of taper viewing areas.For example, subangle is 60 degree, then viewing is slow The angular dimension for rushing region is 30 degree.
Step S302:Region outside taper viewing areas and two taper viewing buffer areas is defined as non-viewing area Domain.
Therefore, whole painting canvas space can be further divided into three parts, i.e., taper viewing areas, viewing buffer area, And non-viewing areas.Wherein, viewing buffer zone and non-viewing areas can be combined as the non-viewing area in flow shown in Fig. 1 Domain.
Step S303:In default refined model storehouse, the threedimensional model positioned at two viewing buffer areas is searched.
Step S304:In default simple model storehouse, the second subtype threedimensional model positioned at non-viewing areas is searched;Its In, the fidelity of threedimensional model in default refined model storehouse, higher than the fidelity of threedimensional model in default simple model storehouse.
In this implementation, non-viewing areas can be divided into the viewing of two parts, i.e. predetermined angle complementary angle size Buffer area, and the non-viewing areas of person model behind.The fidelity of threedimensional model in buffer zone is watched, higher than not seeing The fidelity of threedimensional model in region is seen, can not only improve model loading efficiency, also more conforms to user's viewing experience.
It should be noted that the refined model storehouse in this implementation can also be Fig. 2 illustrate in transition model storehouse, this Sample, the fidelity of model reduces successively in taper viewing areas, viewing buffer area and non-viewing areas.
Certainly, the refined model storehouse in this implementation can also be the refined model storehouse in figure 2 above, so, taper Model in viewing areas and buffering viewing areas is fine threedimensional model.When person model is turned round to buffering viewing areas Afterwards, and model need not be reloaded, displaying efficiency can be improved.But this mode, to the image procossing performance requirement of equipment It is higher, therefore, apply in the equipment with compared with hi-vision process performance.
Furthermore in addition to the region division more than, can also according to the relation between model, come load some fidelities compared with Low model, further to improve the displaying efficiency of model scene.
Specifically, in the big object with receiving space, some small objects can be placed.So, the three-dimensional mould of big object In type, the threedimensional model of some wisps can be loaded.If person model does not watch the big object model closely, the big thing The wisp model included in body Model can be the relatively low model of fidelity.
Therefore, as shown in figure 4, for step S103 in multiple default threedimensional models, lookup is located at taper in above-described embodiment The specific implementation of the first kind threedimensional model of viewing areas can include step S401~step S403.
Step S401:In multiple default threedimensional models, the threedimensional model positioned at taper viewing areas is searched.
Step S402:Whether the space body three-dimensional mould with pre-set space mark is included in the threedimensional model for judging to find Type;If so, perform step S403.
Step S403:Distance between space body three-dimensional models and eye position is more than the situation of default low coverage threshold value Under, it is determined that the threedimensional model in the space inside the body three-dimensional models of space;Wherein, the fidelity of space body three-dimensional models is high In the fidelity of threedimensional model in space.
Specifically, before implementation, corresponding mark (free token) is set for big object dimensional model, for the ease of retouching State, big object model can be referred to as space body three-dimensional models.
First, in the three-dimensional model, all threedimensional models positioned at taper viewing areas are searched, if the three-dimensional mould found Space body three-dimensional models are included in type, then further determine that distance of the person model apart from the space body three-dimensional models.Should be away from From compared with default low coverage threshold value, if the former is more than the latter, then it represents that person model watches some in larger distance Space body Model, then the wisp model for now needing will to include in the body three-dimensional models of space (or three-dimensional mould referred to as in space Type) it is arranged to the relatively low threedimensional model of fidelity.
Certainly, can be with if the distance of person model metric space body three-dimensional models is less than or equal to default low coverage threshold value Threedimensional model in space is loaded as fidelity highest threedimensional model, i.e. threedimensional model in refined model storehouse immediately.
As known from the above, in this implementation, the fidelity of threedimensional model in the space that is included in the body three-dimensional models of space It is relatively low, therefore, it can further improve scene loading efficiency.
In actual applications, in addition to it will be contained in threedimensional model in space and be loaded as the relatively low model of fidelity, may be used also So to be handled the model being blocked, further to improve scene loading efficiency.
Specifically, as shown in figure 5, step S103 is searched positioned at cone in multiple default threedimensional models in above-described embodiment The specific implementation of the first kind threedimensional model of shape viewing areas can include step S501~step S503.
Step S501:In multiple default threedimensional models, the threedimensional model positioned at taper viewing areas is searched.
Step S502:Whether included with the default shutter body three-dimensional mould for blocking mark in the threedimensional model for judging to find Type;If so, perform step S503.
Step S503:Search positioned at the threedimensional model that is blocked blocked on rear side of body three-dimensional models;Wherein, shutter body three-dimensional mould The fidelity of type, higher than the fidelity for the threedimensional model that is blocked.
Specifically, it is that the threedimensional model that can block other models sets corresponding mark (to block mark before implementation Note), for the ease of description, the model for blocking other models can be referred to as blocking body three-dimensional models, the model being blocked is claimed For the threedimensional model that is blocked.
First, in the three-dimensional model, all threedimensional models positioned at taper viewing areas are searched, if the three-dimensional mould found Comprising body three-dimensional models are blocked in type, then from the point of view of direction of visual lines, by positioned at the three-dimensional that is blocked blocked on rear side of body three-dimensional models Model, it is defined as fidelity and is less than the threedimensional model for blocking body three-dimensional models fidelity.
It should be noted that blocking body three-dimensional models can find from refined model storehouse, be blocked body three-dimensional Model can be found from simple model storehouse or transition model storehouse.
, will be out of visual line of sight in this implementation, it is relatively low that the threedimensional model of the object that is blocked is arranged to fidelity Threedimensional model, the model data amount of loading is smaller, so as to improve the loading velocity of model of place.
In addition, relevant the application has some following supplement.
First, in the prior art, when user checks some model of place, client is the moving operation according to user, Threedimensional model is obtained from server side in real time to be illustrated in painting canvas space.However, the threedimensional model in the application can be advance Download from server side, when user wants to check model of place, loaded from the threedimensional model being locally-downloaded, so as to Further to improve scene loading velocity.
Second, three-dimensional coordinate has respective coordinate value in itself, represents that three-dimensional coordinate is placed on the position in painting canvas space. A kind of implementation that lookup is located at threedimensional model in some region can determine the coordinate range in the region, by each three The coordinate value of dimension module is compared with the coordinate range in the region.But in this kind of implementation, not only program needs to write Complicated calculating logic code, and program amount of calculation is larger, and processing speed is slower.Therefore, another reality of threedimensional model is searched Existing mode is to call collision function interface.
Specifically, understood from the explanation of above-mentioned relevant Fig. 2 divisions taper viewing areas, it is necessary to use pre-determined distance threshold value To search threedimensional model.Therefore, sphere model (ball that a radius is pre-determined distance threshold value can be bound in person model Body Model is arranged to transparent, can't be shown in painting canvas space), the mobile movement that can drive sphere model of person model. When sphere model and other threedimensional models collide, collision function interface can produce collision accident.Therefore, in person model When being moved to some position, the opening position call collision function interface, directly search collide function interface in, be with which three Dimension module produces collision accident, the three-dimensional mould threedimensional model for producing collision accident being defined as within pre-determined distance threshold value Type.
Certainly, the default low coverage threshold value in Fig. 4 can also represent that the sphere model is also bound using another sphere model In person model, the event if sphere model does not collide with space body three-dimensional models, representation space body three-dimensional models with The distance between eye position is more than default low coverage threshold value, says vividerly, is that person model is to watch the space at a distance Body three-dimensional models, then threedimensional model in the space in the body three-dimensional models of space is arranged to the relatively low model of fidelity.But one Denier collides event when the sphere model and space body three-dimensional models, represents person model close to the space body three-dimensional models, Threedimensional model in space is then arranged to the higher model of fidelity.
The mode of collision function interface is called, in program and calculating logic code need not be write, programmed logic is more preferable, And program amount of calculation is smaller, processing speed is very fast.
The exhibiting device embodiment of the threedimensional model scene provided below the application is introduced, it is necessary to illustrate, The explanation of exhibiting device embodiment about threedimensional model scene may refer to the displaying side of threedimensional model scene provided above Method embodiment, is not repeated below.
Referring to Fig. 6, it illustrates the structure of the exhibiting device embodiment of threedimensional model scene.As shown in fig. 6, the three-dimensional mould The exhibiting device embodiment of type scene can specifically include:Eye position and direction determining mould 601, painting canvas space viewing areas Division module 602, first kind threedimensional model searching modul 603, Second Type threedimensional model searching modul 604 and inhomogeneity Type threedimensional model display module 605;Wherein:
Eye position and direction determining mould 601, in default painting canvas space, foundation user to be to presetting person model Moving operation, it is determined that the eye position and direction of visual lines of default person model;Wherein, shown in default painting canvas space default Person model;
Painting canvas space viewing region division module 602, for being central angle using eye position as summit, predetermined angle, regarding Line direction is the direction of central angle, determines taper viewing areas, and the region outside conical scan area is defined as into non-viewing area Domain;
First kind threedimensional model searching modul 603, in multiple default threedimensional models, searching and being watched positioned at taper The first kind threedimensional model in region;
Second Type threedimensional model searching modul 604, in multiple default threedimensional models, lookup to be located at non-viewing area The Second Type threedimensional model in domain;Wherein, the fidelity of first kind threedimensional model is higher than the emulation of Second Type threedimensional model Degree;
Different type threedimensional model display module 605, in default painting canvas space, showing first kind threedimensional model And Second Type threedimensional model, obtain target three-dimensional scene.
From above technical scheme, this application provides a kind of exhibiting device embodiment of threedimensional model scene, this reality To apply example and be previously provided with painting canvas space, painting canvas is provided with person model in space, after person model is moved to some position, depending on Line position and direction determining mould 601 determine the eye position and direction of visual lines of person model, painting canvas space viewing region division Module 602 using the eye position as summit, using predetermined angle as central angle, direction of visual lines side build taper viewing areas, And then first kind threedimensional model searching modul 603 is in multiple default threedimensional models, the positioned at taper viewing areas is searched One type threedimensional model, and shown by different type threedimensional model display module 605, painting canvas space viewing region division module Region outside taper viewing areas is defined as non-viewing area by 602, and Second Type threedimensional model searching modul 604 searches position Shown in the Second Type threedimensional model of non-viewing area, and by different type threedimensional model display module 605, wherein, first The fidelity of type three dimensional model is higher than Second Type threedimensional model.It can be seen that the threedimensional model scene of the present embodiment generation is not All it is the model of high emulation, but the viewing of analog subscriber is experienced, the model that sight can not be touched to region is loaded as fidelity Relatively low model, this kind of mode can not only improve the loading efficiency of model scene, and the scene shown more conforms to user Viewing experience.
In actual applications, taper viewing areas has pre-determined distance threshold value;Correspondingly, first kind threedimensional model is searched Module 603 can specifically include:Model searches submodule in line-of-sight distance and line-of-sight distance external model searches submodule;Wherein:
Model searches submodule in line-of-sight distance, in default refined model storehouse, search be located at taper viewing areas, And with the threedimensional model of the distance between eye position not less than pre-determined distance threshold value;
Line-of-sight distance external model searches submodule, in default simple model storehouse, search be located at taper viewing areas, And exceed the threedimensional model of pre-determined distance threshold value with the distance between eye position, and search the three-dimensional mould positioned at non-viewing area Type;
Wherein, the fidelity of threedimensional model in refined model storehouse is preset, higher than threedimensional model in default simple model storehouse Fidelity.
Further, in the exhibiting device embodiment of above threedimensional model scene, painting canvas space viewing region division module 602 predetermined angles used are less than 180 degree;Correspondingly, can be specifically included in Second Type threedimensional model searching modul 604: Buffering area determination sub-module, non-viewing areas determination sub-module, buffer models determination sub-module, buffer models are watched to determine Submodule and section model determination sub-module is not watched;Wherein:
Buffering area determination sub-module is watched, for the line centered on direction of visual lines, predetermined angle is divided into equal two Individual subangle, and the complementary angle using eye position as summit, subangle is central angle respectively, determines the viewing buffer area of two tapers;
Non- viewing areas determination sub-module, for the area for watching taper viewing areas and two tapers outside buffer areas Domain is defined as non-viewing areas;
Buffer models determination sub-module, in default refined model storehouse, searching positioned at two viewing buffer areas Threedimensional model;
Section model determination sub-module is not watched, in default simple model storehouse, searches the positioned at non-viewing areas Two subtype threedimensional models;Wherein, the fidelity of threedimensional model in refined model storehouse is preset, higher than in default simple model storehouse three The fidelity of dimension module.
Furthermore first kind threedimensional model searching modul 603 can specifically include:Watch section model and search submodule, sky Between in body Model judging submodule and space model search submodule;Wherein:
Watch section model and search submodule, in multiple default threedimensional models, searching positioned at taper viewing areas Threedimensional model;
Space body Model judging submodule, for whether judging in the threedimensional model that finds comprising having pre-set space mark The space body three-dimensional models of note;If so, model searches submodule in triggering space;
Model searches submodule in space, is more than for the distance between space body three-dimensional models and eye position default In the case of low coverage threshold value, it is determined that the threedimensional model in the space inside the body three-dimensional models of space;Wherein, space body three-dimensional mould The fidelity of type, higher than the fidelity of threedimensional model in space.
Furthermore first kind threedimensional model searching modul 603 can specifically include:Watch section model determination sub-module, hide Block body model judging submodule and the model that is blocked search submodule;Wherein:
Section model determination sub-module is watched, in multiple default threedimensional models, searching positioned at taper viewing areas Threedimensional model;
Body Model judging submodule is blocked, whether includes to have to preset in the threedimensional model found for judgement and blocks mark Note blocks body three-dimensional models;If so, triggering is blocked, model searches submodule;
The model that is blocked searches submodule, for searching positioned at the threedimensional model that is blocked blocked on rear side of body three-dimensional models; Wherein, the fidelity of body three-dimensional models is blocked, higher than the fidelity for the threedimensional model that is blocked.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
It should also be noted that, herein, such as first and second or the like relational terms are used merely to one Entity or operation make a distinction with another entity or operation, and not necessarily require or imply between these entities or operation Any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant are intended to contain Lid nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including above-mentioned key element.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the application. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments in the case where not departing from spirit herein or scope.Therefore, the application The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (8)

  1. A kind of 1. methods of exhibiting of threedimensional model scene, it is characterised in that including:
    In default painting canvas space, the moving operation according to user to default person model, the default person model is determined Eye position and direction of visual lines;Wherein, default person model is shown in the default painting canvas space;
    It is central angle using the eye position as summit, predetermined angle, the direction that the direction of visual lines is the central angle, it is determined that Taper viewing areas, and the region outside the taper viewing areas is defined as non-viewing area;
    In multiple default threedimensional models, the first kind threedimensional model positioned at the taper viewing areas is searched, and search position In the Second Type threedimensional model of the non-viewing area;Wherein, the fidelity of the first kind threedimensional model is higher than described The fidelity of Second Type threedimensional model;
    In the default painting canvas space, the first kind threedimensional model and the Second Type threedimensional model are shown, is obtained Target three-dimensional scene;
    Wherein, the predetermined angle is less than 180 degree;Correspondingly, in multiple default threedimensional models, lookup is located at the non-viewing The Second Type threedimensional model in region, including:
    The line centered on the direction of visual lines, the predetermined angle is divided into two equal subangles, and regarded respectively with described Line position is summit, the complementary angle of the subangle is central angle, determines the viewing buffer area of two tapers;
    Region outside the taper viewing areas and two taper viewing buffer areas is defined as non-viewing areas;
    In default refined model storehouse, the threedimensional model positioned at two viewing buffer areas is searched;
    In default simple model storehouse, the threedimensional model positioned at the non-viewing areas is searched;
    Wherein, in the default refined model storehouse threedimensional model fidelity, higher than three-dimensional mould in the default simple model storehouse The fidelity of type.
  2. 2. the methods of exhibiting of threedimensional model scene according to claim 1, it is characterised in that the taper viewing areas tool There is pre-determined distance threshold value;
    Correspondingly, it is described in multiple default threedimensional models, search the first kind three-dimensional mould positioned at the taper viewing areas Type, including:
    In default refined model storehouse, search positioned at the taper viewing areas and with the distance between the eye position not More than the threedimensional model of the pre-determined distance threshold value;
    In default simple model storehouse, search positioned at the taper viewing areas and super with the distance between the eye position The threedimensional model of the pre-determined distance threshold value is crossed, and searches the threedimensional model positioned at the non-viewing area;
    Wherein, in the default refined model storehouse threedimensional model fidelity, higher than three-dimensional mould in the default simple model storehouse The fidelity of type.
  3. 3. the methods of exhibiting of threedimensional model scene according to claim 1, it is characterised in that described in multiple default three-dimensionals In model, the first kind threedimensional model positioned at the taper viewing areas is searched, including:
    In multiple default threedimensional models, the threedimensional model positioned at the taper viewing areas is searched;
    Whether the space body three-dimensional models with pre-set space mark are included in the threedimensional model for judging to find;Wherein described sky Between body three-dimensional models represent be the big object that there is pre-set space to mark threedimensional model, the pre-set space marked for table Show that the big object internal energy enough places relatively small object;
    If so, in the case that the distance between the space body three-dimensional models and the eye position is more than predetermined threshold value, really It is positioned at threedimensional model in the space inside the space body three-dimensional models;
    Wherein, the fidelity of the space body three-dimensional models, higher than the fidelity of threedimensional model in the space.
  4. 4. the methods of exhibiting of threedimensional model scene according to claim 1, it is characterised in that described in multiple default three-dimensionals In model, the first kind threedimensional model positioned at the taper viewing areas is searched, including:
    In multiple default threedimensional models, the threedimensional model positioned at the taper viewing areas is searched;
    Judge whether to include in the threedimensional model that finds with it is default block mark block body three-dimensional models;
    If so, search positioned at the threedimensional model that is blocked blocked on rear side of body three-dimensional models;
    Wherein, the fidelity for blocking body three-dimensional models, higher than the fidelity of the threedimensional model that is blocked.
  5. A kind of 5. exhibiting device of threedimensional model scene, it is characterised in that including:
    Eye position and direction determining mould, in default painting canvas space, according to user to presetting the movement of person model Operation, determine the eye position and direction of visual lines of the default person model;Wherein, shown in the default painting canvas space pre- If person model;
    Region division module is watched in painting canvas space, for being central angle using the eye position as summit, predetermined angle, described regarding Line direction is the direction of the central angle, determines taper viewing areas, and the region outside the taper viewing areas is determined For non-viewing area;
    First kind threedimensional model searching modul, in multiple default threedimensional models, lookup to be located at the taper viewing area The first kind threedimensional model in domain;
    Second Type threedimensional model searching modul, in multiple default threedimensional models, lookup to be located at the non-viewing area Second Type threedimensional model;Wherein, the fidelity of the first kind threedimensional model is higher than the Second Type threedimensional model Fidelity;
    Different type threedimensional model display module, in the default painting canvas space, showing the first kind three-dimensional mould Type and the Second Type threedimensional model, obtain target three-dimensional scene;
    The predetermined angle is less than 180 degree;Correspondingly, include in Second Type threedimensional model searching modul:
    Buffering area determination sub-module is watched, for the line centered on the direction of visual lines, the predetermined angle is divided into equal Two subangles, and the complementary angle using the eye position as summit, the subangle is central angle respectively, determines the sight of two tapers See buffer area;
    Non- viewing areas determination sub-module, for the area for watching the taper viewing areas and two tapers outside buffer areas Domain is defined as non-viewing areas;
    Buffer models determination sub-module, in default refined model storehouse, lookup to be located at two viewing buffer areas Threedimensional model;
    Section model determination sub-module is not watched, in default simple model storehouse, searching three positioned at the non-viewing areas Dimension module;
    Wherein, in the default refined model storehouse threedimensional model fidelity, higher than three-dimensional mould in the default simple model storehouse The fidelity of type.
  6. 6. the exhibiting device of threedimensional model scene according to claim 5, it is characterised in that the taper viewing areas tool There is pre-determined distance threshold value;
    Correspondingly, the first kind threedimensional model searching modul includes:
    Model searches submodule in line-of-sight distance, in default refined model storehouse, search be located at the taper viewing areas, And with the threedimensional model of the distance between the eye position not less than the pre-determined distance threshold value;
    Line-of-sight distance external model searches submodule, in default simple model storehouse, search be located at the taper viewing areas, And exceed the threedimensional model of the pre-determined distance threshold value with the distance between the eye position, and search and be located at the non-viewing The threedimensional model in region;
    Wherein, in the default refined model storehouse threedimensional model fidelity, higher than three-dimensional mould in the default simple model storehouse The fidelity of type.
  7. 7. the exhibiting device of threedimensional model scene according to claim 5, it is characterised in that the first kind three-dimensional mould Type searching modul includes:
    Watch section model and search submodule, in multiple default threedimensional models, searching positioned at the taper viewing areas Threedimensional model;
    Space body Model judging submodule, for judging whether included with pre-set space mark in the threedimensional model that finds Space body three-dimensional models;If so, model searches submodule in triggering space;What wherein described space body threedimensional model represented is tool There is the threedimensional model of the big object of pre-set space mark, the pre-set space is marked for representing that the big object internal energy is enough placed Relatively small object;
    Model searches submodule in space, is more than for the distance between the space body three-dimensional models and the eye position In the case of predetermined threshold value, it is determined that the threedimensional model in the space inside the space body three-dimensional models;Wherein, the space The fidelity of body three-dimensional models, higher than the fidelity of threedimensional model in the space.
  8. 8. the exhibiting device of threedimensional model scene according to claim 5, it is characterised in that the first kind three-dimensional mould Type searching modul includes:
    Section model determination sub-module is watched, in multiple default threedimensional models, searching positioned at the taper viewing areas Threedimensional model;
    Body Model judging submodule is blocked, whether includes to have to preset in the threedimensional model found for judgement and blocks mark Block body three-dimensional models;If so, triggering is blocked, model searches submodule;
    The model that is blocked searches submodule, for searching positioned at the threedimensional model that is blocked blocked on rear side of body three-dimensional models; Wherein, the fidelity for blocking body three-dimensional models, higher than the fidelity of the threedimensional model that is blocked.
CN201510642707.7A 2015-09-30 2015-09-30 The methods of exhibiting and device of threedimensional model scene Active CN105205860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510642707.7A CN105205860B (en) 2015-09-30 2015-09-30 The methods of exhibiting and device of threedimensional model scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510642707.7A CN105205860B (en) 2015-09-30 2015-09-30 The methods of exhibiting and device of threedimensional model scene

Publications (2)

Publication Number Publication Date
CN105205860A CN105205860A (en) 2015-12-30
CN105205860B true CN105205860B (en) 2018-03-13

Family

ID=54953518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510642707.7A Active CN105205860B (en) 2015-09-30 2015-09-30 The methods of exhibiting and device of threedimensional model scene

Country Status (1)

Country Link
CN (1) CN105205860B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570923A (en) * 2016-09-27 2017-04-19 乐视控股(北京)有限公司 Frame rendering method and device
CN106780421A (en) * 2016-12-15 2017-05-31 苏州酷外文化传媒有限公司 Finishing effect methods of exhibiting based on panoramic platform
CN107577345B (en) * 2017-09-04 2020-12-25 苏州英诺迈医学创新服务有限公司 Method and device for controlling virtual character roaming
CN109814703B (en) * 2017-11-21 2022-05-17 百度在线网络技术(北京)有限公司 Display method, device, equipment and medium
CN107833274A (en) * 2017-11-21 2018-03-23 北京恒华伟业科技股份有限公司 A kind of creation method and system of three-dimensional cable model
CN110096143B (en) * 2019-04-04 2022-04-29 贝壳技术有限公司 Method and device for determining attention area of three-dimensional model
CN111127627B (en) * 2019-11-20 2020-10-27 贝壳找房(北京)科技有限公司 Model display method and device in three-dimensional house model
CN110992485B (en) * 2019-12-04 2023-07-07 北京恒华伟业科技股份有限公司 GIS map three-dimensional model azimuth display method and device and GIS map

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102074050A (en) * 2011-03-01 2011-05-25 哈尔滨工程大学 Fractal multi-resolution simplified method used for large-scale terrain rendering
CN104867174A (en) * 2015-05-08 2015-08-26 腾讯科技(深圳)有限公司 Three-dimensional map rendering and display method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102074050A (en) * 2011-03-01 2011-05-25 哈尔滨工程大学 Fractal multi-resolution simplified method used for large-scale terrain rendering
CN104867174A (en) * 2015-05-08 2015-08-26 腾讯科技(深圳)有限公司 Three-dimensional map rendering and display method and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Efficient View-Dependent LOD Control for Large 3D Unclosed Mesh Models of Environments;Jie Feng 等;《IEEE international conference on Robotics and Automation》;20041231;第3卷;第1-7页 *
大型三维网格模型的简化及基于视点的LOD控制;冯洁 等;《计算机辅助设计与图形学学报》;20060228;第18卷(第2期);第186-193页 *
模型和视点相关性的多分辨率模型的渲染;刘燕平 等;《微电子学与计算机》;20100131;第27卷(第1期);第65-69页 *
面向虚拟森林的多层场景引擎设计;余青;《中国优秀硕士学位论文全文数据库信息科技辑》;20070615;第2007年卷(第6期);第2.4.2.1节,第2.4.2.3-2.4.2.4节,第3.3节,第3.3.1.1节,第3.3.3节,图3-9 *

Also Published As

Publication number Publication date
CN105205860A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN105205860B (en) The methods of exhibiting and device of threedimensional model scene
CN111192354A (en) Three-dimensional simulation method and system based on virtual reality
CN105164731A (en) Mapping augmented reality experience to various environments
KR20170092632A (en) Mixed-reality visualization and method
CN112915542B (en) Collision data processing method and device, computer equipment and storage medium
EP3832605B1 (en) Method and device for determining potentially visible set, apparatus, and storage medium
Becker-Asano et al. A multi-agent system based on unity 4 for virtual perception and wayfinding
CN106548675A (en) Virtual military training method and device
CN106204713B (en) Static merging processing method and device
O'Brien et al. Automatic simplification of particle system dynamics
TW202121155A (en) Interactive object driving method, apparatus, device, and computer readable storage meidum
CN106780707A (en) The method and apparatus of global illumination in simulated scenario
CN1171853A (en) Method for controlling level of detail displayed in computer generated screen display of complex structure
CN104461690A (en) Power equipment operation simulation system
CN113673108A (en) Three-dimensional simulation method and device in collapse motion process, readable medium and electronic equipment
CN105224179A (en) Method for information display and device
Chae et al. Introduction of physics simulation in augmented reality
CN106485789A (en) A kind of 3D model loading method and its device
US10297090B2 (en) Information processing system, apparatus and method for generating an object in a virtual space
Thorne Origin-centric techniques for optimising scalability and the fidelity of motion, interaction and rendering
CN108053492A (en) Expansion process rendering method, device, equipment and the storage medium of solid figure
CN103268158A (en) Method and device for acquiring gravity sensing data and electronic device
CN105597313B (en) Spherical scene display method and display device
CN109597480A (en) Man-machine interaction method, device, electronic equipment and computer readable storage medium
CN106708450B (en) Picture display process, device and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant