CN100454341C - Process type ground fast drawing method based on fractal hierarchical tree - Google Patents

Process type ground fast drawing method based on fractal hierarchical tree Download PDF

Info

Publication number
CN100454341C
CN100454341C CNB2006100536052A CN200610053605A CN100454341C CN 100454341 C CN100454341 C CN 100454341C CN B2006100536052 A CNB2006100536052 A CN B2006100536052A CN 200610053605 A CN200610053605 A CN 200610053605A CN 100454341 C CN100454341 C CN 100454341C
Authority
CN
China
Prior art keywords
landform
fractal
node
formation
afbm
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.)
Expired - Fee Related
Application number
CNB2006100536052A
Other languages
Chinese (zh)
Other versions
CN1932884A (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.)
LEIXING TECH Co Ltd HANGZHOU
Original Assignee
LEIXING TECH Co Ltd HANGZHOU
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 LEIXING TECH Co Ltd HANGZHOU filed Critical LEIXING TECH Co Ltd HANGZHOU
Priority to CNB2006100536052A priority Critical patent/CN100454341C/en
Publication of CN1932884A publication Critical patent/CN1932884A/en
Application granted granted Critical
Publication of CN100454341C publication Critical patent/CN100454341C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Generation (AREA)

Abstract

Process-type fast landform draw method based on tree of elementary arrangements. It establishes the elementary arrangement tree structure of landform, gets afBm sub-tree according referenced threshold, estimates making progression of node according error precision, carries five alignments optimal scheduling of draw node, making and drawing elementary piece through GPU. It constructs the elementary arrangement tree structure afBm-tree by the elementary information of recorded landform. It is a kind of approach to original landform and gets different making precision and compressibility by adjusting making referenced threshold. The afBm-tree creates landform grid depended for viewpoint during the draw process and leaps over the enormous making process with landform arrangement detail model data. Compared with tradition arithmetic, the afBm-tree with same data size can overlay more area with lower multilevel scheduling cost and owns more advantage on computer with single CPU. It can be used in those fields, such as geography information simulation, dummy scene ramble and game engine.

Description

A kind of process type landform fast drawing method based on fractal hierarchical tree
Technical field
The present invention relates to general terrain data and handle or produce, relate in particular to a kind of process type landform fast drawing method based on fractal hierarchical tree.
Technical background
Fractally propose by French mathematician Mandelbrot the earliest, can be with reference to [Mandelbrot1975], Mandelbrot, B.B.On the Geometry of Homogeneous Turbulence, with Stress on theFractal Dimension of Iso-Surfaces of Scalars.Journal of Fluid Mechanics.1975,72 (2): 401-416.This is a geometry that is research object with non-regular geometric form, has the characteristics of unlimited and statistical self-similarity, and it can generate complicated scenery with simple rule with recursive algorithm.Because the irregular phenomenon of occurring in nature ubiquity self similarity, so fractally provide a mathematical model of describing spontaneous phenomenon well for the researcher.(fractional Brownian motion fBm) as a kind of fractal noise, can represent effectively that landform, cloud, snowflake etc. have the natural scene of self-similarity at random to divide the dimension Brownian movement.
FBm function calculation complexity is very high, therefore need simplify fBm, reduces calculated amount.As far back as nineteen eighty-two, people such as Fournier have proposed an iteration subdivision algorithm and have been similar to fBm, be called mid point method of replacing (Midpoint Displacement), can generate landform with self-similarity, can be with reference to [Fournier1982], Alain Fournier, Don Fussell and Loren Carpenter.Computer Rendering ofStochastic Models.Communications of the ACM.1982,25 (6): 371-384.They have at first constructed the one dimension fBm model based on line segment, are generalized to the landform of two dimension then, thereby generate the fractal details on mountain range.This method is reduced to linearity to the computation complexity of fBm from O (nlog (n)), calculates simple.But the mid point displacement is not the fBm algorithm of a strictness, and statistical property is not a stable state, can reduce the sense of reality that generates landform.
People such as Musgrave analyze from the frequency domain angle of fBm, have proposed band-limited noise accumulation algorithm (Summing Band-Limited Noises), utilize the Perlin noise to generate terrain mesh as basis function.The statistical property that this method generates landform is a stable state, and it is better than mid point replacement algorithm therefore to generate quality, but computation complexity is O (nlog (n)), and is bigger than mid point replacement algorithm, more consuming time.Can be with reference to [Musgrave1989] F.Kenton Musgrave, Craig E.Kolb and Robert S.Mace.The Synthesis and Renderingof Eroded Fractal Terrains.Computer Graphics.Jul.1989,23 (3): 41-50.
For simulating nature circle landform more accurately, people such as Kaplan have proposed self-similarity (the extended self-similar of expansion, ESS) notion, can be with reference to [Kaplan1995] Lance M.Kaplan andC.-C.Jay Kuo.Texture Roughness Analysis and Synthesis via Extended Selt-Similar (ESS) Model.IEEE Transactions on Pattern Analysis and Machine Intelligence.Nov.1995,17 (11): 1043-1056.And based on this, provide a general fBm model, be called the Brownian movement of gradual branch dimension (asymptotic fBm, afBm), the permissible roughness factor changes and changes along with sampling interval, thereby the fluctuating quantity that generates landform also can change thereupon.
More than the method for Jie Shaoing all is to study how off-line type generates landform, does not consider the terrain rendering problem.The terrain rendering method of process type is that landform generation and drafting are combined, and generates the terrain mesh that viewpoint relies at drawing process, realizes the generation as required and the drafting of landform.Losasso and Hoppe regard landform as texture how much, Geometry Clipmap technology has been proposed, the rectangular node that landform is divided into hollow is drawn, can be with reference to [Losasso2004] Frank Losasso and Hugues Hoppe.Geometry Clipmaps:TerrainRendering Using Nested Regular Grids.Proceedings of Siggraph 2004.2004,769-776..They also generate the detailed information of landform by fractal noise, but whole landform is only used a component shape parameter, and therefore the landform that generates is difficult to satisfactory.
Summary of the invention
At the deficiencies in the prior art, the object of the present invention is to provide a kind of process type landform fast drawing method based on fractal hierarchical tree, approach the initial landform model effectively, can draw large-scale landform scene fast, and data volume is less.
For realizing above-mentioned purpose, the technical solution used in the present invention is as follows:
1) set up the fractal hierarchical tree structure of landform: a given relief block, landform is carried out four fork subdivisions, set up quad-tree structure, the corresponding plot shape of each node zone, writing down fractal information, comprising afBm information and basic height value information, this fractal hierarchical tree structure is called afBm-tree;
2) obtain the afBm subtree according to threshold value: before drafting, according to user's preset threshold, extract the afBm subtree from afBm-tree, threshold value is represented initial landform and is generated the difference that allows between the landform.
3) estimate the generating series of node according to error precision: the random chance value of setting according to the user at first, determine minimum, the maximum height value of fractal box; Calculate the projection error of height value on screen that add up then; Then, determine the generating series of node according to this projection error;
4) to drawing the Optimization Dispatching that node carries out five formations: initialization five formation Q at first r, Q p, Q g, Q dAnd Q mAt each frame of drawing, adjust all nodes in five formations then; Then respectively to formation Q gWith formation Q mIn the node processing that hockets, up to formation Q rIn node reach needed rendering request;
5) by GPU generation and fractal of drafting: at first the pixel shader by GPU generates fractal, passes through the vertex shader tectonic landform grid of GPU then.
The method of the drafting node being carried out the Optimization Dispatching of five formations can be: at first the root node of afBm-tree is sent into formation Q r, and empty remaining formation; At each frame of drawing, adjust nodes all in five formations then; Then take out formation Q gThe node of middle limit priority, and be moved into formation Q rOr formation Q pIn, its child node is according to handling with quadrat method; Take out formation Q subsequently mThe node of middle lowest priority, and be moved into formation Q rOr formation Q pIn; To formation Q gWith formation Q mIn the node processing that hockets, up to formation Q rIn node reach needed rendering request.
By GPU generation and the method for drawing fractal can be: at first the pixel shader by GPU generates fractal, and uses three textures, is respectively other fractal texture of upper level, mask table and Gaussian noise figure texture; By the vertex shader tectonic landform grid of GPU, from fractal, take out the height value on summit then, and from connect template, determine the two-dimensional position on summit, be combined into actual three dimensions point, construct at last and draw terrain mesh and carry out the drafting of landform.
The present invention compares the beneficial effect that has with background technology:
The present invention constructs fractal hierarchical tree structure by the fractal information of record initial landform, is called afBm-tree.AfBm-tree approaches expression to landform a kind of, generates threshold value by adjusting it, can obtain different generation precision and compressibility.By afBm-tree, can when drawing, generate the terrain mesh that viewpoint relies on, thereby skip the constructive process of huge landform level detail model data.Compare with traditional terrain rendering algorithm, it is wider that the afBm-tree of same size of data covers, and can effectively reduce the cost of multi-stage scheduling, more has superiority on the machine of single CPU.In addition, the afBm-tree application is wider, allows the user to edit, and just can be directly used in drafting.The present invention can be applicable in the fields such as geography information emulation, dummy scene roaming, game engine.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 is the process flow diagram of the inventive method;
Fig. 2 is the construction process of fractal hierarchical tree afBm-tree;
Fig. 3 is a generating series of estimating node according to error precision;
Fig. 4 is the process flow diagram of fractal generation and drafting.
Embodiment
A kind of process type landform fast drawing method that the present invention proposes based on fractal hierarchical tree, comprise the fractal hierarchical tree structure of setting up landform, according to threshold value obtain the afBm subtree, according to error precision estimate node generating series, carry out the Optimization Dispatching of five formations and generate and draw fractal five steps drawing node by GPU.Flow process is as shown in Figure 1: at first according to original landform altitude value, set up the fractal hierarchical tree structure afBm-tree of landform; Obtain the afBm subtree according to threshold value then; Estimate the generating series of node according to viewpoint and error precision, and select suitable afBm node; Then to drawing the Optimization Dispatching that node carries out five formations; Generate and fractal of drafting by GPU at last.
Now specifically introduce five steps of this method:
1) sets up the fractal hierarchical tree structure of landform
In order to represent the different undulating states of landform diverse location, whole landform is set up the afBm-tree structure, each node is writing down the fractal information in plot shape zone.If the size of initial landform is (2 M+ 1) * (2 M+ 1), landform is carried out the recurrence subdivision, set up quad-tree structure.The level index is 0 the corresponding whole landform altitude of root node, and the level index is that the landform area size of the node correspondence of i is (2 M-i+ 1) * (2 M-i+ 1), Zui Xiao landform area size is designated as (2 m+ 1) * (2 m+ 1), 1≤m<M wherein.Needing the computation layer secondary index is the quaternary tree node of i, i span i=0, and 1 ..., M-m.
The Brownian movement (afBm) of gradual branch dimension, the permissible roughness factor changes and changes along with sampling interval, thus the fluctuating quantity that generates landform also can change thereupon.If function Var (x) is the statistical variance of one group of random number x, σ 2It is a constant.(x y) can regard (x, the Terrain Elevation value of y) locating in the position as to F.With two-dimentional fBm model class seemingly, the variance of afBm model can be write as
Var[F(x+d x,y+d y)-F(x,y)]=σ 2f(d t) (1)
Function f (t) is called structure function, when f (t)=| d t| 2HThe time, formula (1) is the formula of variance of fBm model.The structure function of afBm is expressed as
f ( t ) = ( 1 - A ) ρ | t | - 1 ρ - 1 + A | t | 2 H - - - ( 2 )
Here 0≤ρ<1, constant A is a smoothing factor.
The basic height value of each afBm node is used to control the contour shape that generates landform, comprises four angle point height values 1 on the corresponding landform zone boundary, shown in the real circle 3 among Fig. 2, needs to calculate four parameter values 2 of afBm, is respectively H, σ 2, ρ and A at first use statistical method to obtain H and σ 2Use E (t) expression mathematical expectation function, the fractal statistical attribute according to afBm can obtain
logE(|F(x+d x,y+d y)-F(x,y)| 2)=logσ 2+(2log|d t|)H (3)
Can obtain thus a little to log | d t|, log E ([F (x+d x, y+d y)-F (x, y)] 2), H and σ 2Can obtain by linear regression algorithm, the pairing tropic is shown among Fig. 24.After obtaining these two parameters, can be according to document [Kaplan1995] Lance M.Kaplan and C.-C.Jay Kuo.Texture RoughnessAnalysis and Synthesis via Extended Self-Similar (ESS) Model.IEEE Transactionson Pattern Analysis and Machine Intelligence.Nov.1995,17 (11): the method for 1043-1056 calculates coefficient ρ and A.
After according to the intact all landform zones of top-down sequential processes, just constructed afBm-tree, as 5 among Fig. 2.
σ 2Represented to generate the statistical discrepancy between landform and the initial landform, σ 2Big more, the difference between them is big more, therefore can use σ 2Control the approximation accuracy that generates landform.For the correct afBm node of selecting, further σ 2Be adjusted into saturation mode.
&sigma; T i 2 = &sigma; T i 2 , i = M - m max ( &sigma; T i 2 , &sigma; T i + 1 2 ) , T i + 1 &Subset; T i , 0 &le; i < M - m - - - ( 4 )
Here T i + 1 &Subset; T i Expression T I+1Be T iChild node.
2) obtain the afBm subtree according to threshold value
Before drafting, at first, from afBm-tree, extract the afBm subtree according to user's preset threshold Ω, threshold value Ω represents initial landform and generates the difference that allows between the landform.
AfBm-tree is traveled through from the top down, to each node T, if its statistical variance &sigma; T 2 &le; &Omega; , Then T satisfy to generate the requirement of precision, otherwise its child node is carried out the recurrence visit.After finishing all traversal visits, just construct the afBm subtree.Below, will in drafting, use the afBm subtree to create the terrain mesh that viewpoint relies on.
3) estimate the generating series of node according to error precision
As shown in Figure 3,,, be called fractal box (being 1), require the height value on all summits all to drop in this box box of node T definition in order to control the scope that generates the terrain block height.The two-dimensional projection of fractal box equals the pairing landform area size of T.Fractal box is very similar to traditional bounding box, and different is, bounding box is to weigh the space of object across scope, and size remains unchanged, and fractal box is the scope that generates height in order to limit, and its size can be subjected to user's control break.If the basic height value of T is F (x i, y j), (i, j=0,1), a certain summit of T is designated as (x p, y q), 0≤p, q≤1, then according to the notion of afBm, the height value of this position is
F ( x p , y q ) = F - ( x p , y q ) + &Sigma; k = 0 k max &Delta; k &CenterDot; N gauss
Here F (x p, y q) be the bilinear interpolation of basic height value, if use the afBm model, then, can obtain Δ from formula (1) kFor:
&Delta; k = &sigma; 2 [ f ( 2 - k ) - 1 4 f ( 2 - k + 1 ) ] - - - ( 6 )
N GaussBe that average is 0, variance is 1 Gaussian random variable.Because Gaussian number mainly is distributed in certain zone, so can preestablish a certain probable value a, determine the distribution range of Gaussian number, thereby estimate generate height value across scope.As shown in Figure 3, be a (2 among Fig. 3 (b)) if most of Gaussian number drops on the probable value of shadow region, then can obtain its distribution range [G by following formula 0, G 0], see the scope that 3 and 4 among Fig. 3 (b) determines.
P{|x|<G 0}=a→P{x<G 0}=(a+1)/2 (7)
P represents the probable value of one group of random number, and x is a Gaussian random variable.For example, if a equals 95%, then most of random number all can drop on the zone in the scope of [2,2].Obtain G 0After, just can control the scope that generates height, minimum, the maximum height value of establishing fractal box are Here F TIt is the average of the base height of T.Set by this, the height value of all generations can guarantee to drop in the fractal box.
Next, the fractal progression that needs definite node T to generate.Fractal height value is to create in the mode of incremental, fractal of every increase one-level, and the new height value of creating increases Δ kN GaussWhen given probable value a, added value is in fact less than Δ kG 0, as 5 among Fig. 3 (a), therefore, this value is projected on the screen, and with predefined screen error E ScrCompare, thereby determine fractal progression k.For viewpoint v p, as 6 among Fig. 3 (a), establishing w and h is the width 7 and the height 8 of ken screen, fov is the video camera wide-angle that is used to draw, d vBe the landform zone mid point of T and the distance 9 of current view point.Projection error Prj TCan calculate by following formula
Prj T = max ( w , h ) 2 tan ( fov / 2 ) &CenterDot; &Delta; k G 0 d v < E scr - - - ( 8 )
If current view point is positioned at fractal box inside, then will generate fractal of maximum level, i.e. k MaxIf externally, then use fractal of formula (8) detection k level whether to meet the demands, if can not meet formula (8), so similarly detect again (k+1), if k+1>k Max, the child node that then needs to visit T.
4) to drawing the Optimization Dispatching that node carries out five formations
In render phase, when viewpoint moves with less spacing, there is the continuity between frame and the frame, that is to say that the drafting grid practice change of two frames is little.Therefore, when selecting the afBm node that is used to draw, needn't all top-down traversal of every frame afBm subtree.The initial value of the result of former frame, adjust the drafting node that obtains present frame, thereby quickened the scheduling operation of node as this frame.
Adopt the dispatching algorithm of five formations to manage the afBm node and generate fractal, these five formations are called Q r, Q p, Q g, Q dAnd Q mQ rThe afBm node that record is used to draw, Q pPreserve Q rMiddle all father nodes of drawing node.Q gIn will generating series k higher fractal of node, Q dIn node will abandon current fractal, then use more coarse fractal.The less fractal block cache of progression k in the afBm node, is not therefore needed to carry out once more generating run.Q mRecord can merge the father node of four child nodes.Q gAnd Q mNeed sort according to priority, other three formations then do not need ordering.
At the initial phase of drawing, the root node of afBm-tree is sent into Q r, and empty remaining formation.Each frame drawing at first utilizes the estimation of error formula of introducing previously (8), handles all nodes in five formations, and adjusts in the suitable formation.Take out Q then gThe node T of middle limit priority, through type (8) decision will generate fractal progression k.If k≤k Max, T is moved into formation Q rIn; Otherwise, T is split into four child nodes, simultaneously T is moved into formation Q pIts child node is according to handling with quadrat method.Then, take out Q mThe node T of middle lowest priority, and whether all child nodes of detection T are all at formation Q rPerhaps Q dIn.If, then carry out the operation of merging child node, process is to remove all child nodes of T, and T is moved on to formation Q rIf not, so at formation Q dIn child node, reduce their current fractal progression that is using, and transfer to formation Q r, then T is moved on to formation Q pIn.To Q gAnd Q mIn the node processing that hockets, up to Q rIn node reach needed rendering request.
5) generate and fractal of drafting by GPU
In order to utilize the continuity of frame and frame, draw the generation rank of node according to each, incremental ground generates fractal that needs, and quickens this process by GPU.Generating before new fractal, need be kept at afBm parameter and previous stage fractal in the video memory and use for GPU.But if read back into main memory again after fractal generation from video memory, then transmission cost can be very high, even be higher than the generation cost, can reduce whole performance on the contrary.In up-to-date graphic process unit, (Vertex Shader VS) visits texture to the vertex shader of permission in GPU, therefore can be kept at fractal that generates in the video memory in the texture mode, sense data is operated in vertex shader then, has avoided being sent to the cost of internal memory.
As shown in Figure 4, use two-step approach to generate and use fractal of landform: (Pixel Shader PS) 1 generates fractal to the pixel shader by GPU; By vertex shader 2 tectonic landform grids and drafting.Specifically describe as follows:
Generating fractal stage, needing three textures to generate progression altogether, be used to calculate fractal height flat average of (k+1) level for fractal 3, the first textures of (k+1) are fractal 4 of k level.Can pass through the bilinear interpolation computation of mean values,, only need be arranged to GL_LINEAR to the texture amplifying parameters of OpenGL and get final product in order to allow graphic process unit finish automatically.Because only need generate height value in new summit in fractal to (k+1) level, the height value on existing summit can obtain from fractal of k level, so second texture is a mask table 5.If certain pixel value is 1 on the mask table, then the corresponding position need generate new height value on fractal of target; If be 0, then do not need to generate new height value, only need take out analog value and get final product from fractal of k level.The 3rd texture is a pretreated Gaussian noise Fig. 6, is used to calculate fractal noise.Before drafting, according to predefined probable value a, calculate a gaussian random value array, and be stored as the form of 2 d texture.When generating fractal, use the coordinate figure on terrain mesh summit in Gaussian noise figure, to search random value.
Generation method based on afBm can be selected in following two kinds of methods: the mid point replacement algorithm (MidpointDisplacement, MD) and band-limited noise accumulation algorithm (Summing Band-Limited Noises, SBLN).The MD algorithm is more faster than SBLN, but the quality that generates is not as SBLN.In the MD algorithm, use the F+ Δ kN GaussCalculating new height value, is the mean value of the adjacent height value of F here, Δ kConsistent with formula (6) definition.It is synthetic that the SBLN algorithm is actually a kind of frequency spectrum, and one group of noise function addition is got, and the frequency of these noise functions increases successively, and amplitude reduces successively.The summit of computed altitude value is v if desired X, y, can pass through F+ σ so 2I=0 Octavew -iHN (w iv X, y) calculate, w is a constant here, is taken as 2 usually.Octave also is a constant, is controlling the number of the noise function of addition.N (t) is the noise basis function, uses the Perlin function based on Gaussian noise here.
After the fractal generation, will pass through vertex shader tectonic landform grid together with the corresponding template 7 that is connected, and draw 8.In vertex shader, from fractal, take out the height value on summit, and from connect template, determine the two-dimensional position on summit, be combined into actual three dimensions point, construct the drafting terrain mesh at last.
In order to improve rendering quality, can adopt two kinds of texture technology, a kind of is pretreated texture quaternary tree technology, another kind is a process type texture technology.The basic ideas of texture quaternary tree technology are that a given very big texture at pretreatment stage, is set up a texture quad-tree structure, a zone of the corresponding original texture of each node, the texture block of the equal resolution of all quaternary tree nodes uses.The texture quaternary tree is organized into the form of Out-of-Core, in render phase, will selects suitable texture node, and data are called in main memory from hard disk, send into video memory again and be used for texture mapping.The more details of texture quaternary tree technology can be referring to [Cline 1998] David Cline and Parris K.Egbert.Interactive Display of Very LargeTextures.Proceedings of IEEE Visualization 1998.1998,343-350.
Another scheme of texture is that process type obtains texture information when drawing, and this technology has been widely used in the virtually drawing engine.At first, the material type map in a landform of pretreatment stage establishment comprises types such as meadow, sandstone, snowfield.When drawing landform, type map and various material texture by many texture mode, are transferred to GPU, topographical surface color when calculating drafting.Also can calculate the illumination and the echo of landform in advance, send into GPU, carry out the light and shade of landform and handle as texture.

Claims (3)

1. process type landform fast drawing method based on fractal hierarchical tree is characterized in that comprising following five steps:
1) set up the fractal hierarchical tree structure of landform: a given relief block, landform is carried out four fork subdivisions, set up quad-tree structure, the corresponding plot shape of each node zone, writing down fractal information, comprising afBm information and basic height value information, this fractal hierarchical tree structure is called afBm-tree;
2) obtain the afBm subtree according to threshold value: before drafting, according to user's preset threshold, extract the afBm subtree from afBm-tree, threshold value is represented initial landform and is generated the difference that allows between the landform;
3) estimate the generating series of node according to error precision: the random chance value of setting according to the user at first, determine minimum, the maximum height value of fractal box; Calculate the projection error of height value on screen that add up then; Then, determine the generating series of node according to this projection error;
4) to drawing the Optimization Dispatching that node carries out five formations: initialization five formation Q at first r, Q p, Q g, Q dAnd Q mAt each frame of drawing, adjust all nodes in five formations then; Then respectively to formation Q gWith formation Q mIn the node processing that hockets, up to formation Q rIn node reach needed rendering request;
5) by GPU generation and fractal of drafting: at first the pixel shader by GPU generates fractal, passes through the vertex shader tectonic landform grid of GPU then.
2. a kind of process type landform fast drawing method based on fractal hierarchical tree according to claim 1 is characterized in that: described is at first the root node of afBm-tree to be sent into formation Q to drawing the method that node carries out the Optimization Dispatching of five formations r, and empty remaining formation; At each frame of drawing, adjust nodes all in five formations then; Then take out formation Q gThe node of middle limit priority, and be moved into formation Q rOr formation Q pIn, its child node is according to handling with quadrat method; Take out formation Q subsequently mThe node of middle lowest priority, and be moved into formation Q rOr formation Q pIn; To formation Q gWith formation Q mIn the node processing that hockets, up to formation Q rIn node reach needed rendering request.
3. a kind of process type landform fast drawing method according to claim 1 based on fractal hierarchical tree, it is characterized in that: the described generation with the method for drawing fractal by GPU is, at first the pixel shader by GPU generates fractal, and use three textures, be respectively other fractal texture of upper level, mask table and Gaussian noise figure texture; By the vertex shader tectonic landform grid of GPU, from fractal, take out the height value on summit then, and from connect template, determine the two-dimensional position on summit, be combined into actual three dimensions point, construct at last and draw terrain mesh and carry out the drafting of landform.
CNB2006100536052A 2006-09-26 2006-09-26 Process type ground fast drawing method based on fractal hierarchical tree Expired - Fee Related CN100454341C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100536052A CN100454341C (en) 2006-09-26 2006-09-26 Process type ground fast drawing method based on fractal hierarchical tree

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100536052A CN100454341C (en) 2006-09-26 2006-09-26 Process type ground fast drawing method based on fractal hierarchical tree

Publications (2)

Publication Number Publication Date
CN1932884A CN1932884A (en) 2007-03-21
CN100454341C true CN100454341C (en) 2009-01-21

Family

ID=37878707

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100536052A Expired - Fee Related CN100454341C (en) 2006-09-26 2006-09-26 Process type ground fast drawing method based on fractal hierarchical tree

Country Status (1)

Country Link
CN (1) CN100454341C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221665A (en) * 2008-01-29 2008-07-16 周崭 Method for fast drafting curve by index tree or value tree or code tree
CN101697226B (en) * 2009-10-23 2012-01-18 北京大学 Novel method for asynchronous pipeline topographic drawing
CN101789028B (en) * 2010-03-19 2012-03-21 苏州广达友讯技术有限公司 Search engine for geographical position and constructing method thereof
CN103077497B (en) * 2011-10-26 2016-01-27 中国移动通信集团公司 Image in level of detail model is carried out to the method and apparatus of convergent-divergent
CN103035164B (en) * 2012-12-24 2015-03-25 广东威创视讯科技股份有限公司 Rendering method and system of geographic information system
CN106204719B (en) * 2016-06-30 2019-03-26 西安电子科技大学 Magnanimity model real-time scheduling method in three-dimensional scenic based on two-dimensional neighbourhood retrieval
CN110648395A (en) * 2019-02-02 2020-01-03 完美世界(北京)软件科技发展有限公司 Terrain rendering method and device
CN110288066A (en) * 2019-06-12 2019-09-27 广州鼎宁信息科技有限公司 A kind of generation of the fractal graph collection based on root function and parameter detection method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545071A (en) * 2003-11-24 2004-11-10 浙江大学 Viewpoint correlated error measuring method for generating landform grid
CN1545070A (en) * 2003-11-24 2004-11-10 浙江大学 Landform grid generating method being correlated with viewpoint and based on four-queue optimization
EP1596339A1 (en) * 2004-05-14 2005-11-16 Microsoft Corporation Terrain rendering using nested regular grids

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545071A (en) * 2003-11-24 2004-11-10 浙江大学 Viewpoint correlated error measuring method for generating landform grid
CN1545070A (en) * 2003-11-24 2004-11-10 浙江大学 Landform grid generating method being correlated with viewpoint and based on four-queue optimization
EP1596339A1 (en) * 2004-05-14 2005-11-16 Microsoft Corporation Terrain rendering using nested regular grids

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
基于分形理论的三维地形场景的真实感绘制. 英振华,石锐,胡捷.计算机仿真,第23卷第5期. 2006
基于分形理论的三维地形场景的真实感绘制. 英振华,石锐,胡捷.计算机仿真,第23卷第5期. 2006 *
基于分形维数的地表模型多分辨率动态绘制. 王璐锦,唐泽圣.软件学报,第11卷第9期. 2000
基于分形维数的地表模型多分辨率动态绘制. 王璐锦,唐泽圣.软件学报,第11卷第9期. 2000 *
基于图象空间判据的地表模型加速绘制技术. 刘学慧,吴恩华.软件学报,第9卷第7期. 1998
基于图象空间判据的地表模型加速绘制技术. 刘学慧,吴恩华.软件学报,第9卷第7期. 1998 *
视点相关实时地形的生成方法. 卓广晟,周波,徐晓华.计算机工程,第28卷第11期. 2002
视点相关实时地形的生成方法. 卓广晟,周波,徐晓华.计算机工程,第28卷第11期. 2002 *

Also Published As

Publication number Publication date
CN1932884A (en) 2007-03-21

Similar Documents

Publication Publication Date Title
CN100454341C (en) Process type ground fast drawing method based on fractal hierarchical tree
Vanegas et al. Modelling the appearance and behaviour of urban spaces
CN105336003B (en) The method for drawing out three-dimensional terrain model with reference to the real-time smoothness of GPU technologies
Park et al. Discrete sibson interpolation
Gyulassy et al. Efficient computation of Morse-Smale complexes for three-dimensional scalar functions
Kipfer et al. Realistic and interactive simulation of rivers.
CN108961411A (en) A kind of simplified method of the complex three-dimensional building model keeping external appearance characteristic
CN105912562B (en) Data visualization method and its system based on hierarchical model
Zhao Application of 3D CAD in landscape architecture design and optimization of hierarchical details
Floriani et al. VARIANT: a system for terrain modeling at variable resolution
CN104835202A (en) Quick three-dimensional virtual scene constructing method
CN104392387A (en) Unity3D-based circular coal yard three-dimensional (3D) intelligent visualization display platform
CN108830926A (en) Space dynamic particles model foundation and method for visualizing in three-dimensional earth software
CN103226804A (en) Flow field visualization method based on flow line gravity center Voronoi diagram
Wang et al. Fast Mesh Simplification Method for Three‐Dimensional Geometric Models with Feature‐Preserving Efficiency
CN115345988A (en) Secondary error measurement edge folding BIM lightweight method based on vertex importance
Paris et al. Terrain amplification with implicit 3D features
Zhang et al. Synthetic modeling method for large scale terrain based on hydrology
Schott et al. Large-scale terrain authoring through interactive erosion simulation
Gasch et al. Procedural modelling of terrains with constraints
Zhang et al. A geometry and texture coupled flexible generalization of urban building models
Everts et al. Interactive illustrative line styles and line style transfer functions for flow visualization
Talgorn et al. Real-time sketch-based terrain generation
Li Real-world large-scale terrain model reconstruction and real-time rendering
Zoraster A surface modeling algorithm designed for speed and ease of use with all petroleum industry data

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090121

Termination date: 20130926