CN102855661A - Large-scale forest scene quick generation method based on space similarity - Google Patents

Large-scale forest scene quick generation method based on space similarity Download PDF

Info

Publication number
CN102855661A
CN102855661A CN2012103005883A CN201210300588A CN102855661A CN 102855661 A CN102855661 A CN 102855661A CN 2012103005883 A CN2012103005883 A CN 2012103005883A CN 201210300588 A CN201210300588 A CN 201210300588A CN 102855661 A CN102855661 A CN 102855661A
Authority
CN
China
Prior art keywords
scene
similarity
sim
piece
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103005883A
Other languages
Chinese (zh)
Other versions
CN102855661B (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.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
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 Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN201210300588.3A priority Critical patent/CN102855661B/en
Publication of CN102855661A publication Critical patent/CN102855661A/en
Application granted granted Critical
Publication of CN102855661B publication Critical patent/CN102855661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a large-scale forest scene quick generation method based on space similarity. The method comprises the steps of 1) setting initialization parameters of a large-scale forest simulation scene, and acquiring scene distribution information of visible data and forest space of the whole scene; 2) partitioning the space data of the large-scale forest scene based on a quadtree, and dividing the scene into blocks with the same size; 3) calculating the space similarity of the forest scene; 4) judging the similarity between the scene blocks to quickly obtain biological amounts of plants; and 5) if the similarity between the scene blocks does not reach a certain proportion, calculating a growth model of the scene blocks, determining basic plants according to initial parameter data transmitted by a user, calculating an influence range and the biological amounts of the basic plants, then introducing a three-dimensional tree model into simulation for realizing the forest scene, and displaying a visible result to the user. The method is high in speed and high in precision.

Description

Extensive scale Forest Scene rapid generation based on spatial similarity
Technical field
The present invention relates to the scale Forest Scene generation technique, especially a kind of scale Forest Scene generation method.
Background technology
Because the complicacy of general layout, process and the mutual relationship of scale Forest Scene is difficult to it is directly tested, adopting computing machine to set up forest growth model base is an effective approach.Forest growth model base need to be considered dynamic growth feature and the environmental impact of plant, comes pre-measuring plants in growth tendency and the variation in all ages and classes stage, and the Forest Growth situation is simulated.Extensive scale Forest Scene dynamic simulation not only will be stored the information of each trees, but also to calculate competition between trees interphase interaction and all trees and mutually beneficial combined influence, its computation process is complicated, calculated amount is also very huge, and the application and research of extensive Forest Growth emulation has been subject to great restriction.
When scale Forest Scene visual, be used at present the technology of visual modeling to mainly contain level of detail model (LOD) and image-based method for drafting.The level of detail technology is based on how much method for drafting, well the geometric model structure of expression tree.The image-based method for drafting is the Real-Time Rendering that the another kind of in recent years people's extensive concern is realized height sense of reality virtual scene, its advantage is to use texture to replace real model, thereby can reduce on a large scale the complexity of model, but compare with the model based on how much, distortion occurs in visual effect.Visual in order further to accelerate scale Forest Scene, existing visual simulating technology also realizes the dynamic dispatching of data in conjunction with methods such as visibility cutting, data pre-fetchings, reduce EMS memory occupation, improves and draws efficient.
Summary of the invention
In order to overcome the deficiency that rapidity is relatively poor, accuracy is relatively poor of existing scale Forest Scene generation method, the invention provides the extensive scale Forest Scene rapid generation based on spatial similarity that a kind of rapidity is good, accuracy is strong.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of extensive scale Forest Scene rapid generation based on spatial similarity, described rapid generation may further comprise the steps:
1) extensive forest simulating scenes carries out the initiation parameter setting, and from the external memory database, obtaining the scene distribution information of whole environment Visualization data and forest space according to set initiation parameter, described initiation parameter comprises: spacing, growth time and the envirment factor of the quantity of trees, the kind of trees, initial age, tree; Described envirment factor comprises: sunlight, temperature, moisture and soil; Described environment Visualization data comprise: terrain data, terrain texture, the atural object data except trees and Sky Scene data; The scene distribution information of described forest space comprises: the position of trees and initial influence circle size;
2) extensive scale Forest Scene spatial data is carried out based on the cutting apart of quaternary tree scene partitioning being become equal-sized, and set up the block message concordance list of an interior external memory scheduling, be used for the status information of all scene pieces of record;
3) spatial similarity of scale Forest Scene calculated, and recorded similarity between each piecemeal with two-dimensional array, if similarity reaches certain proportion between the scene piece, the as calculated good piecemeal that then can be used in the internal memory replaces to be calculated; If the similarity between the scene piece does not reach certain proportion, then process and store passing initial parameter and the knowledge of coming in, and these parameters after will processing obtain the growth result of plant for the growth model that calculates plant;
4) similarity between the judgement world subdivision, if similarity reaches certain proportion between the world subdivision, and the growth model of one of them scene piece has been finished calculating, can replace the not scene piece of calculating with the data of calculating the scene piece so, and need not recomputate the scene piece, thereby obtain fast the biomass of plant;
5) if the similarity between the world subdivision does not reach certain proportion, the growth model that then carries out the scene piece calculates, determine basic strain by the initial parameter data that the user transmits into, calculate influence circle scope and the biomass of basic strain, then the Three-dimension Tree model is imported the emulation that realizes scale Forest Scene, visualization result is presented to the user.
Technical conceive of the present invention is: existing method has been accelerated that forest growth model base calculates and is visual, but these methods do not take full advantage of the as calculated good data in internal memory.If can be by the similarity between the scene, take full advantage of in internal memory good as calculated data and substitute current calculative data, simulation velocity will improve greatly so.The scene of the zones of different of Forest Growth emulation may have similar growing environment, can there be certain similarity between the scene, so when the Forest Growth simulation accuracy is less demanding, can utilize this similarity to accelerate the process of the calculating of plant growth model and visual drafting, and take full advantage of the as calculated good data in internal memory, improve memory usage, thereby reached the purpose that forest emulation is accelerated.
Beneficial effect of the present invention is mainly manifested in: 1, the extensive scale Forest Scene rapid generation based on spatial similarity can carry out analysis and the judgement of spatial similarity from index of similarities such as plant growth density, terrain feature and envirment factors respectively.When the space similarity of two scene pieces reaches certain value, and wherein one growth model has been finished calculating, can replace the not scene piece of calculating with the data of calculating the scene piece so, and need not recomputate the scene piece, thereby reach the purpose that forest emulation is accelerated.
2, the method can be selected different similarity thresholds to the distance of scene piece automatically according to viewpoint, realizes that adaptive similarity threshold is definite, and assurance scene piece is replaced has higher accuracy.From the scene piece of viewpoint close to more, its needed details will be abundanter, and the sense of reality is stronger, and other piece that can replace so this piece piecemeal must need with the similarity of this piece higher; Otherwise from the piece of viewpoint away from more, the user does not need to know in sufficient detail details, only need to have a sensory effects true to nature a little get final product to scene, can replace so other piecemeal of this piece piecemeal and follow the similarity of this piece piecemeal to reduce.
Description of drawings
Fig. 1 is based on the scale Forest Scene simulation flow figure of spatial similarity.
Fig. 2 is based on the synoptic diagram of the scene cutting procedure of quaternary tree.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
See figures.1.and.2, a kind of extensive scale Forest Scene rapid generation based on spatial similarity may further comprise the steps:
1), extensive forest simulating scenes carries out the initiation parameter setting, and obtain the scene distribution information of whole environment Visualization data and forest space according to set initiation parameter from the external memory database.Described initiation parameter comprises: spacing, growth time and the envirment factor of the quantity of trees, the kind of trees, initial age, tree.Described envirment factor comprises: sunlight, temperature, moisture and soil; Described environment Visualization data comprise: terrain data, terrain texture, the atural object data except trees and Sky Scene data; The scene distribution information of described forest space comprises: the position of trees and initial influence circle size.
2), extensive scale Forest Scene spatial data is carried out based on the cutting apart of quaternary tree scene partitioning being become equal-sized, and set up the block message concordance list of an interior external memory scheduling, be used for the status information of all scene pieces of record.
World subdivision is the basis of judging similarity between each piecemeal.The scale Forest Scene dividing method as shown in Figure 2, at first the user sets the breadth extreme of piece, this value is the basis for estimation of landform being carried out four minutes recurrence; Then, use top-down mode, whole scale Forest Scene as root node, is judged that from root node whether the width of colony area surpasses the breadth extreme that the user sets, then do not cut apart and as leafy node if do not satisfy, and the relevant information of node is preserved; Otherwise, the continuous recurrence of root node is cut apart 4 equal sub-node zones, same recurrence is cut apart if this node has sibling, until no longer satisfy the condition of cutting apart.At last all leafy nodes all are kept in the external memory.
In the Forest Growth simulation process, set up the block message concordance list of an interior external memory scheduling, be used for the status information of all scene pieces of record, and dynamically update according to the variation of current view point region parameter.With one dimension array of pointers B[L] come the memory address of store data piece, as B[i]=0 the time, represent that the data of i piece are not written into internal memory; As B[i] ≠ 0 the time, B[i] the first address of memory field, value representation data block place, can be expressed as:
And 0≤i≤L-1, n ∈ N +
3), the spatial similarity of scale Forest Scene is calculated, and record similarity between each piecemeal with two-dimensional array, if similarity reaches certain proportion between the scene piece, the as calculated good piecemeal that then can be used in the internal memory replaces to be calculated; If the similarity between the scene piece does not reach certain proportion, then process and store passing initial parameter and the knowledge of coming in, and these parameters after will processing obtain the growth result of plant for the growth model that calculates plant.The index of similarity is considered from these several aspects of plant growth density, terrain feature and envirment factor.
(a) density similarity.With the area of distribution space with count than the density of regarding point group as, and utilize the some population density of the trees in different distributions space to judge its similarity.In pure forest plantation situation, the trees quantity of object space 1 is counted N 1, the shared area in distributed areas is designated as S 1The trees quantity of object space 2 is counted N 2, the shared area in distributed areas is designated as S 2, the density similarity is defined as:
Sim ( den ) = min { S 1 / N 1 S 2 / N 2 , S 2 / N 2 S 1 / N 1 } - - - ( 2 )
Under mongrel is planted situation, the seeds 1 trees quantity of object space 1 is counted N 11, seeds 2 trees quantity are counted N 12, the shared area in distributed areas is designated as S 1, the seeds 1 trees quantity of object space 2 is counted N 21, seeds 2 trees quantity are counted N 22, the shared area in distributed areas is designated as S 2, then the density similarity can be defined as:
Sim(den)=max{Sim(den1),Sim(den2),Sim(den12)} (3)
Wherein, Sim ( den 12 ) = min { S 1 / ( N 11 + N 12 ) S 2 / ( N 21 + N 22 ) , S 2 / ( N 21 + N 22 ) S 1 / ( N 11 + N 12 ) } ,
Sim ( den 1 ) = min { S 1 / N 11 S 2 / N 21 , S 2 / N 21 S 1 / N 11 } , Sim ( den 2 ) = min { S 1 / N 12 S 2 / N 22 , S 2 / N 22 S 1 / N 12 } .
(b) direction similarity.The feature on slope is expressed with the direction of landform, determines that according to the leg-of-mutton normal vector that consists of scene piece landform its direction, concrete grammar are to obtain all normal vectors that consist of world subdivision, and it is averaging.If the topographical direction angle of distribution space 1 is angle 1, the topographical direction angle of distribution space 2 is angle 2, the direction similarity is defined as:
Sim ( dir ) = min { angle 1 angle 2 , angle 2 angle 1 } - - - ( 4 )
(c) area similarity.Consider the height fluctuating situation of landform by the area similarity, the landform of scale Forest Scene generally represents by triangular mesh, realize expression to the space group targeted graphical by the triangulation network of setting up landform, can calculate the surface area that the terrain mesh of scene piece forms according to the computing formula of triangle area.S 1Be the surface area in target distribution space 1, S 2Be the surface area in target distribution space 2, the area ratio of similitude in two target distribution spaces is:
Sim ( area ) = min { s 1 s 2 , s 2 s 1 } - - - ( 5 )
(d) environment similarity.Analyze by the mean sea level of scene piece, average two factors of soil thickness, establish two relatively scene piece P of similarity 1, P 2Mean sea level be respectively H 1And H 2, average soil thickness is respectively T 1And T 2, spatial similarity is expressed as:
Sim ( env ) = 0 if | H 1 - H 2 | > MaxH or | T 1 - T 2 | > MaxT 1 otherwise - - - ( 6 )
Wherein, MaxH is poor for the sea level elevation that allows between the scene piece that compares similarity, is illustrated in the poor scope of this sea level elevation, and the growing state of two scene pieces is more similar.MaxT is the difference that compares the thickness of soil that allows between the scene piece of similarity, is illustrated in the poor scope of this thickness of soil, and thickness of soil is smaller on the impact of the growing state of two scene pieces.Sim (env) value is 0 o'clock, expression scene piece P 1And P 2Dissimilar; Its value is 1 o'clock, represents two scene piece P 1And P 2Spatial similarity.
(e) comprehensive similarity.The growing space target of forest community is done as a whole, and these several respects such as the comprehensive density of trees, terrain feature, envirment factor consider.The comprehensive similarity computing method are:
Sim(space)=k 1*Sim(den)+k 2*Sim(area)+k 3*Sim(dir)+k 4*Sim(env) (7)
Wherein, Sim (den) is the density similarity, and Sim (area) is the area similarity, and Sim (dir) is the direction similarity, and Sim (env) is the similarity of envirment factor.k 1, k 2, k 3, k 4Be respectively the weight coefficient of density, area, direction, envirment factor, can set according to the simulating scenes of reality the value of weight coefficient, and k 1+ k 2+ k 3+ k 4=1.
The employing two-dimensional array is deposited the similarity between the piecemeal, if the scene number of blocks of the scene tree bottom layer node that obtains after cutting apart is L, in the table 1 in the array each A[i] [j] (0≤i<L, similarity between the expression i piece of 0≤j<L) and the j piece, the value of each that the i-1 in the table is capable has represented respectively the similarity between i blocks of data piece and other piece.The calculating of similarity is to carry out in the pre-service, so do not need to expend extra time.
Figure BDA00002045208500062
The storage organization of table 1 similarity
4), the similarity between the judgement world subdivision, if similarity reaches certain proportion between the world subdivision, and the growth model of one of them scene piece has been finished calculating, can replace the not scene piece of calculating with the data of calculating the scene piece so, and need not recomputate the scene piece, thereby obtain fast the biomass of plant.
Suppose between the piecemeal in the scene similarity threshold from small to large, be designated as respectively SIM 1, SIM 2..., SIM n, by the distance decision similarity threshold of viewpoint to piecemeal, be formulated as:
SIM = SIM 1 , d 1 &le; d SIM 2 , d 2 &le; d < d 1 . . . . . . SIMn , d n &le; d < d n - 1 - - - ( 8 )
In the formula, 0≤d n<...<d 2<d 1, d i(i=1,2 ..., n) expression is chunked into the distance threshold of viewpoint, and d represents that viewpoint arrives the actual range of piecemeal.In order to describe this information, with a two-dimensional array C[2] relation of [n] recording distance and similarity threshold, it is as shown in table 2 that above-mentioned relation is converted into array, and the first row of array represents distance threshold, the second line display similarity threshold.
d 1 d 2 d 3 d 4 ...... d n
SIM 1 SIM 2 SIM 3 SIM 4 ...... SIM n
The relation of table 2 distance and similarity threshold
Utilize the spatial similarity of scene as follows to the algorithm steps that certain scene piece carries out emulation:
Step1: suppose that the current scene piece is piece i, if B[i] be not 0, then with B[i] then assignment jump to step 6 to the tmp pointer variable, otherwise enter step 2.
Step2: computing block i and viewpoint apart from d.
Step3: the first row of search two-dimensional array C finds first its value less than or equal to the item C[0 of d] [n], accordingly C[1] [n] be the minimum similarity value that can replace.
Step4: the i of traversal array A is capable, seeks and satisfies value more than or equal to C[1] B[k of [n] and correspondence] be not 0 maximal term A[i] [k], if find this Xiang Ze with B[k] be assigned to tmp, then jump to step 6, otherwise enter step 5.
Step5: read the data of i piece from external memory to internal memory, and the address that will deposit this blocks of data is assigned to B[i] and tmp.
Step6: the memory field sense data of pointing to from tmp is also carried out emulation.
5) if the similarity between the world subdivision does not reach certain proportion, the growth model that then carries out the scene piece calculates, determine basic strain by the initial parameter data that the user transmits into, calculate influence circle scope and the biomass of basic strain, then the Three-dimension Tree model is imported the emulation that realizes scale Forest Scene, visualization result is presented to the user.
When user's viewpoint changes, draw thread and calculate current visibility region according to current view point, simultaneously the contextual data in the internal memory is judged, confirm that scene repaints needed data whether in internal memory, if contextual data in internal memory, is then directly carried out the drafting of scene and is sent the viewpoint updating message to data prefetching thread.If not in internal memory, drawing thread, the current scene that needs to draw then need the position according to current view point, the view information such as direction of current view point that the trees in the visibility region are carried out LOD calculating.
When selecting the trees LOD model of extensive scale Forest Scene, adopt three-dimensional refined model rendering technique in the extremely near-sighted point range.Because near viewpoint, viewpoint changes its drafting impact very large in the roam procedure.Simultaneously, near-sighted point range is limited by field range, and the tree of drawing simultaneously can be not too many, generally about 2,3, so can pass through the comparatively meticulous model of computer drawing.Short range adopts how much LOD models simplifying.Owing to apart from viewpoint certain distance is arranged, the change of viewpoint can not require frequent the change to draw simultaneously.From the trees of viewpoint away from more, its LOD model accuracy is more coarse.Far range because the demand of drafting individuality is not obvious, adopts the billboard Texture Mapping Technology.

Claims (5)

1. extensive scale Forest Scene rapid generation based on spatial similarity, it is characterized in that: described rapid generation may further comprise the steps:
1) extensive forest simulating scenes carries out the initiation parameter setting, and from the external memory database, obtaining the scene distribution information of whole environment Visualization data and forest space according to set initiation parameter, described initiation parameter comprises: spacing, growth time and the envirment factor of the quantity of trees, the kind of trees, initial age, tree;
Described envirment factor comprises: sunlight, temperature, moisture and soil; Described environment Visualization data comprise: terrain data, terrain texture, the atural object data except trees and Sky Scene data; The scene distribution information of described forest space comprises: the position of trees and initial influence circle size;
2) extensive scale Forest Scene spatial data is carried out based on the cutting apart of quaternary tree scene partitioning being become equal-sized, and set up the block message concordance list of an interior external memory scheduling, be used for the status information of all scene pieces of record;
3) spatial similarity of scale Forest Scene calculated, and recorded similarity between each piecemeal with two-dimensional array, if similarity reaches certain proportion between the scene piece, the as calculated good piecemeal that then can be used in the internal memory replaces to be calculated; If the similarity between the scene piece does not reach certain proportion, then process and store passing initial parameter and the knowledge of coming in, and these parameters after will processing obtain the growth result of plant for the growth model that calculates plant;
4) similarity between the judgement world subdivision, if similarity reaches certain proportion between the world subdivision, and the growth model of one of them scene piece has been finished calculating, can replace the not scene piece of calculating with the data of calculating the scene piece so, and need not recomputate the scene piece, thereby obtain fast the biomass of plant;
5) if the similarity between the world subdivision does not reach certain proportion, the growth model that then carries out the scene piece calculates, determine basic strain by the initial parameter data that the user transmits into, calculate influence circle scope and the biomass of basic strain, then the Three-dimension Tree model is imported the emulation that realizes scale Forest Scene, visualization result is presented to the user.
2. the extensive scale Forest Scene rapid generation based on spatial similarity as claimed in claim 1, it is characterized in that: described step 2), the world subdivision process is as follows: at first the user sets the breadth extreme of piece, and this value is the basis for estimation of landform being carried out four minutes recurrence; Then, use top-down mode, whole scale Forest Scene as root node, is judged that from root node whether the width of colony area surpasses the breadth extreme that the user sets, then do not cut apart and as leafy node if do not satisfy, and the relevant information of node is preserved; Otherwise, the continuous recurrence of root node is cut apart 4 equal sub-node zones, same recurrence is cut apart if this node has sibling, cuts apart condition until no longer satisfy, and all is kept at all leafy nodes in the external memory at last;
In the Forest Growth simulation process, set up the block message concordance list of an interior external memory scheduling, be used for the status information of all scene pieces of record, and dynamically update according to the variation of current view point region parameter; With one dimension array of pointers B[L] come the memory address of store data piece, as B[i]=0 the time, represent that the data of i piece are not written into internal memory; As B[i] ≠ 0 the time, B[i] the first address of memory field, value representation data block place, can be expressed as:
Figure FDA00002045208400021
And 0≤i≤L-1, n ∈ N +
3. the extensive scale Forest Scene rapid generation based on spatial similarity as claimed in claim 1 or 2, it is characterized in that: in the described step 3), the index of similarity comprises plant growth density similarity, direction similarity, area similarity and environment similarity, wherein
(a) plant growth density similarity: with the area of distribution space with count than the density of regarding point group as, and utilize the some population density of the trees in different distributions space to judge its similarity; In pure forest plantation situation, the trees quantity of object space 1 is counted N 1, the shared area in distributed areas is designated as S 1, the trees quantity of object space 2 is counted N 2, the shared area in distributed areas is designated as S 2, the density similarity is defined as:
Sim ( den ) = min { S 1 / N 1 S 2 / N 2 , S 2 / N 2 S 1 / N 1 } - - - ( 2 )
Under mongrel is planted situation, the seeds 1 trees quantity of object space 1 is counted N 11, seeds 2 trees quantity are counted N 12, the shared area in distributed areas is designated as S 1The seeds 1 trees quantity of object space 2 is counted N 21, seeds 2 trees quantity are counted N 22, the shared area in distributed areas is designated as S 2, then the density similarity is defined as:
Sim(den)=max{Sim(den1),Sim(den2),Sim(den12)} (3)
Wherein, Sim ( den 12 ) = min { S 1 / ( N 11 + N 12 ) S 2 / ( N 21 + N 22 ) , S 2 / ( N 21 + N 22 ) S 1 / ( N 11 + N 12 ) } ,
Sim ( den 1 ) = min { S 1 / N 11 S 2 / N 21 , S 2 / N 21 S 1 / N 11 } , Sim ( den 2 ) = min { S 1 / N 12 S 2 / N 22 , S 2 / N 22 S 1 / N 12 } ;
(b) direction similarity: the feature on slope is expressed with the direction of landform, determines that according to the leg-of-mutton normal vector that consists of scene piece landform its direction, concrete grammar are to obtain all normal vectors that consist of world subdivision, and it is averaging; If the topographical direction angle of distribution space 1 is angle 1, the topographical direction angle of distribution space 2 is angle 2, the direction similarity is defined as:
Sim ( dir ) = min { angle 1 angle 2 , angle 2 angle 1 } - - - ( 4 )
(c) area similarity: the height fluctuating situation of considering landform by the area similarity, the landform of scale Forest Scene represents by triangular mesh, realize expression to the space group targeted graphical by the triangulation network of setting up landform, can calculate the surface area that the terrain mesh of scene piece forms according to the computing formula of triangle area; S 1Be the surface area in target distribution space 1, S 2Be the surface area in target distribution space 2, the area ratio of similitude in two target distribution spaces is:
Sim ( area ) = min { s 1 s 2 , s 2 s 1 } - - - ( 5 )
(d) environment similarity: analyze by the mean sea level of scene piece, average two factors of soil thickness, establish two relatively scene piece P of similarity 1, P 2Mean sea level be respectively H 1And H 2, average soil thickness is respectively T 1And T 2, spatial similarity is expressed as:
Figure FDA00002045208400033
Wherein, MaxH is poor for the sea level elevation that allows between the scene piece that compares similarity, is illustrated in the poor scope of this sea level elevation, and the growing state of two scene pieces is more similar; MaxT is the difference that compares the thickness of soil that allows between the scene piece of similarity, is illustrated in the poor scope of this thickness of soil, and thickness of soil is smaller on the impact of the growing state of two scene pieces; Sim (env) value is 0 o'clock, expression scene piece P 1And P 2Dissimilar; Its value is 1 o'clock, represents two scene piece P 1And P 2Spatial similarity;
(e) comprehensive similarity: the growing space target of forest community is done as a whole, and the comprehensive similarity computing method are:
Sim(space)=k 1*Sim(den)+k 2*Sim(area)+k 3*Sim(dir)+k 4*Sim(env) (7)
Wherein, Sim (den) is the density similarity, and Sim (area) is the area similarity, and Sim (dir) is the direction similarity, and Sim (env) is the similarity of envirment factor; k 1, k 2, k 3, k 4Be respectively the weight coefficient of density, area, direction, envirment factor, can set according to the simulating scenes of reality the value of weight coefficient, and k 1+ k 2+ k 3+ k 4=1;
The employing two-dimensional array is deposited the similarity between the piecemeal, if the scene number of blocks of the scene tree bottom layer node that obtains after cutting apart is L, in the table 1 in the array each A[i] [j] (0≤i<L, similarity between the expression i piece of 0≤j<L) and the j piece, the value of each that the i-1 in the table is capable has represented respectively the similarity between i blocks of data piece and other piece.
4. the extensive scale Forest Scene rapid generation based on spatial similarity as claimed in claim 3 is characterized in that: in the described step 4), suppose that the similarity threshold between the piecemeal in the scene is designated as respectively SIM from small to large 1, SIM 2..., SIM n, by the distance decision similarity threshold of viewpoint to piecemeal, be formulated as:
SIM = SIM 1 , d 1 &le; d SIM 2 , d 2 &le; d < d 1 . . . . . . SIMn , d n &le; d < d n - 1 - - - ( 8 )
In the formula, 0≤d n<...<d 2<d 1, d i(i=1,2 ..., n) expression is chunked into the distance threshold of viewpoint, and d represents that viewpoint arrives the actual range of piecemeal; In order to describe this information, with a two-dimensional array C[2] relation of [n] recording distance and similarity threshold;
Utilize the spatial similarity of scene as follows to the algorithm steps that certain scene piece carries out emulation:
Step1: suppose that the current scene piece is piece i, if B[i] be not 0, then with B[i] then assignment jump to Step6 to the tmp pointer variable, otherwise enter Step2;
Step2: computing block i and viewpoint apart from d;
Step3: the first row of search two-dimensional array C finds first its value less than or equal to the item C[0 of d] [n], accordingly C[1] [n] be the minimum similarity value that can replace;
Step4: the i of traversal array A is capable, seeks and satisfies value more than or equal to C[1] B[k of [n] and correspondence] be not 0 maximal term A[i] [k], if find this Xiang Ze with B[k] be assigned to tmp, then jump to Step6, otherwise enter Step5;
Step5: read the data of i piece from external memory to internal memory, and the address that will deposit this blocks of data is assigned to B[i] and tmp;
Step6: the memory field sense data of pointing to from tmp is also carried out emulation.
5. the extensive scale Forest Scene rapid generation based on spatial similarity as claimed in claim 3, it is characterized in that: in the described step 5), when user's viewpoint changes, draw thread and calculate current visibility region according to current view point, simultaneously the contextual data in the internal memory is judged, confirm that scene repaints needed data whether in internal memory, if contextual data in internal memory, is then directly carried out the drafting of scene and is sent the viewpoint updating message to data prefetching thread; If not in internal memory, drawing thread, the current scene that needs to draw then need the position according to current view point, the view information such as direction of current view point that the trees in the visibility region are carried out LOD calculating.
CN201210300588.3A 2012-08-22 2012-08-22 Large-scale forest scene quick generation method based on space similarity Active CN102855661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210300588.3A CN102855661B (en) 2012-08-22 2012-08-22 Large-scale forest scene quick generation method based on space similarity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210300588.3A CN102855661B (en) 2012-08-22 2012-08-22 Large-scale forest scene quick generation method based on space similarity

Publications (2)

Publication Number Publication Date
CN102855661A true CN102855661A (en) 2013-01-02
CN102855661B CN102855661B (en) 2015-01-28

Family

ID=47402220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210300588.3A Active CN102855661B (en) 2012-08-22 2012-08-22 Large-scale forest scene quick generation method based on space similarity

Country Status (1)

Country Link
CN (1) CN102855661B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455731A (en) * 2013-10-08 2013-12-18 北京林业大学 Forest mixture degree evaluation method based on polygonal triangular network
CN103914869A (en) * 2014-02-26 2014-07-09 浙江工业大学 Light-weight three-dimensional tree model building method supporting skeleton personalization edition
CN104143205A (en) * 2013-05-11 2014-11-12 哈尔滨点石仿真科技有限公司 Method for achieving real-time rendering of large-scale realistic volumetric cloud
CN104700413A (en) * 2015-03-20 2015-06-10 中国人民解放军装甲兵工程学院 Real-time dynamic drawing method for vegetation in three-dimensional virtual scene
CN106446351A (en) * 2016-08-31 2017-02-22 郑州捷安高科股份有限公司 Real-time drawing-oriented large-scale scene organization and scheduling technology and simulation system
CN106582021A (en) * 2016-12-15 2017-04-26 北京金山软件有限公司 Method and system for drawing lawn in game map
CN109920044A (en) * 2019-02-27 2019-06-21 浙江科澜信息技术有限公司 A kind of three-dimensional scene construction method, device, equipment and medium
CN112150634A (en) * 2020-08-31 2020-12-29 浙江工业大学 Large-scale virtual scene roaming method based on multi-person redirection

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070265781A1 (en) * 2006-05-12 2007-11-15 Harris Corporation Method and System for Generating an Image-Textured Digital Surface Model (DSM) for a Geographical Area of Interest
CN101216954A (en) * 2008-01-21 2008-07-09 浙江大学 A forest rendering method based on classified hierarchical deep mesh

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070265781A1 (en) * 2006-05-12 2007-11-15 Harris Corporation Method and System for Generating an Image-Textured Digital Surface Model (DSM) for a Geographical Area of Interest
CN101216954A (en) * 2008-01-21 2008-07-09 浙江大学 A forest rendering method based on classified hierarchical deep mesh

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MATT D. DUNBAR ET AL.: "3D Visualization for the Analysis of Forest Cover Change", 《GEOCARTO INTERNATIONAL》, vol. 19, no. 2, 2 January 2008 (2008-01-02), pages 103 - 112 *
范菁等: "面向虚拟森林仿真的多层场景引擎设计", 《计算机工程》, vol. 35, no. 9, 31 May 2009 (2009-05-31), pages 255 - 257 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104143205A (en) * 2013-05-11 2014-11-12 哈尔滨点石仿真科技有限公司 Method for achieving real-time rendering of large-scale realistic volumetric cloud
CN103455731A (en) * 2013-10-08 2013-12-18 北京林业大学 Forest mixture degree evaluation method based on polygonal triangular network
CN103455731B (en) * 2013-10-08 2017-09-05 北京林业大学 One kind carries out forest mixture degree evaluation method based on the polygon triangulation network
CN103914869A (en) * 2014-02-26 2014-07-09 浙江工业大学 Light-weight three-dimensional tree model building method supporting skeleton personalization edition
CN103914869B (en) * 2014-02-26 2017-02-22 浙江工业大学 Light-weight three-dimensional tree model building method supporting skeleton personalization edition
CN104700413A (en) * 2015-03-20 2015-06-10 中国人民解放军装甲兵工程学院 Real-time dynamic drawing method for vegetation in three-dimensional virtual scene
CN106446351A (en) * 2016-08-31 2017-02-22 郑州捷安高科股份有限公司 Real-time drawing-oriented large-scale scene organization and scheduling technology and simulation system
CN106582021A (en) * 2016-12-15 2017-04-26 北京金山软件有限公司 Method and system for drawing lawn in game map
CN106582021B (en) * 2016-12-15 2019-02-12 北京金山软件有限公司 A kind of method and system of the drawing lawn in map
CN109920044A (en) * 2019-02-27 2019-06-21 浙江科澜信息技术有限公司 A kind of three-dimensional scene construction method, device, equipment and medium
CN112150634A (en) * 2020-08-31 2020-12-29 浙江工业大学 Large-scale virtual scene roaming method based on multi-person redirection
CN112150634B (en) * 2020-08-31 2024-03-26 浙江工业大学 Large-scale virtual scene roaming method based on multi-person redirection

Also Published As

Publication number Publication date
CN102855661B (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN102855661B (en) Large-scale forest scene quick generation method based on space similarity
CN110738721B (en) Three-dimensional scene rendering acceleration method and system based on video geometric analysis
CN101887596B (en) Three-dimensional model reconstruction method of tree point cloud data based on partition and automatic growth
CN100485662C (en) Characteristic analytical method for product point clouds surface based on dynamic data access model
CN102890828B (en) Point cloud data compacting method based on normal included angle
CN104778744B (en) Extensive three-dimensional forest Visual Scene method for building up based on Lidar data
CN103714577B (en) Three-dimensional model simplification method suitable for model with textures
CN103745497B (en) Plant growth modeling method and system
CN106446351A (en) Real-time drawing-oriented large-scale scene organization and scheduling technology and simulation system
CN103701466A (en) Scattered point cloud compression algorithm based on feature reservation
CN102646287B (en) Virtual forest emulation information multi-stage linkage method based on scene roaming and system of virtual forest emulation information multi-stage linkage method
CN102750730B (en) Characteristic-maintained point cloud data compacting method
CN105260523B (en) A kind of distributed parallel spacing-visible domain analysis method
CN111612896B (en) Method for reconstructing three-dimensional tree model based on airborne laser radar tree point cloud
CN101908068A (en) Quadtree-based massive laser scanning point cloud real-time drawing method
CN102289846A (en) Tree simulation method based on generalized parametric modeling
CN103256914B (en) A kind of method and system calculating silt arrester inundated area based on DEM
CN108830926A (en) Space dynamic particles model foundation and method for visualizing in three-dimensional earth software
CN106250933A (en) Method, system and the FPGA processor of data clusters based on FPGA
CN106874602A (en) Process meteorological data method and apparatus
CN107358640A (en) A kind of landform of hill shading target area and the method and device of atural object
CN115994496A (en) Urban park high resolution atmospheric CO 2 Numerical simulation method of concentration three-dimensional field
CN104299262B (en) A kind of three-dimensional cloud analogy method based on velocity field streamline
Zhang et al. Voxel-based Urban Vegetation Volume Analysis with LiDAR Point Cloud
Ding et al. New collision detection method for simulating virtual plant populations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant