CN105760581A - Channel drainage basin renovation planning simulating method and system based on OSG - Google Patents

Channel drainage basin renovation planning simulating method and system based on OSG Download PDF

Info

Publication number
CN105760581A
CN105760581A CN201610065298.3A CN201610065298A CN105760581A CN 105760581 A CN105760581 A CN 105760581A CN 201610065298 A CN201610065298 A CN 201610065298A CN 105760581 A CN105760581 A CN 105760581A
Authority
CN
China
Prior art keywords
valley
osg
point
slope
dimensional
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
CN201610065298.3A
Other languages
Chinese (zh)
Other versions
CN105760581B (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.)
Institute of Geographic Sciences and Natural Resources of CAS
Original Assignee
Institute of Geographic Sciences and Natural Resources of CAS
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 Institute of Geographic Sciences and Natural Resources of CAS filed Critical Institute of Geographic Sciences and Natural Resources of CAS
Priority to CN201610065298.3A priority Critical patent/CN105760581B/en
Publication of CN105760581A publication Critical patent/CN105760581A/en
Application granted granted Critical
Publication of CN105760581B publication Critical patent/CN105760581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/36Circuit design at the analogue level
    • G06F30/367Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Computer Graphics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a channel drainage basin renovation planning simulating method and system based on an OSG. The method comprises the following steps that a three-dimensional channel drainage basin terrain model based on a digital elevation model (DEM) is constructed, the soil landform layers and the landform characteristic lines of the channel drainage basin are extracted, recognized and visually simulated, the two-dimensional section and the three-dimensional section of the channel drainage basin terrain are dynamically extracted and drawn and rendered in real time, land levelling rendering is performed through the earth volume calculated by the DEM, multiple crop and plant models, basic farmland farming modes and engineering facility models are built, and dynamic loading, replacing, moving and deleting of the models are controlled through a man-machine interaction mechanism. According to the method, the problems of extracting, recognizing and visual stimulating on the important landform features and the soil landform layers of the channel drainage basin and extracting and drawing on the terrain sections are effectively solved, the true conditions of the natural terrain of the channel drainage basin are presented, and a visualization decision making support method for performing man-machine coordination design in the channel drainage basin renovation planning process is supplied.

Description

A kind of valley Renovation and planning emulation mode based on OSG and system
Technical field
The invention belongs to agricultural projects emulation field, be specifically related to a kind of valley Renovation and planning emulation mode based on OSG and system.
Background technology
Valley training works is a kind of important form of consolidation, is the effective means of newly-increased farmland and requisition-compensation balance, is also the important irrigation and water conservancy measure subtracting sand, conserving water and soil of controlling flood.Combined influence due to factors such as natural conditions, land current situation and Levels of Social Economic Developments, input and risk that raceway groove training works is built are also different, how to evade the excessive risk of training works and promote soil sustainable utilization, scientifically plan, formulate feasible valley regulation suitability scheme it is critical that.
In recent years, development along with computer graphical processing ability and 3-D Visualization Simulation technology, the real-time realistic modeling technology of complicated natural phenomena and object makes great progress, thering is provided decision support more intuitively for watershed management, planning and flood control and disaster reduction, the demand of watershed 3-D Visualization Simulation is more and more prominent.
Existing basin scene simulation is primarily directed to river basin flood and floods evolution process simulation, flood phenomenon and rule is analyzed research, effectively facilitates flood decision.And valley training works has run through " with raceway groove small watershed for elementary cell, ditch, level ground, beam, loess hills, slope comprehensive control, plant measures, engineering measure, tillage control measure scientific allocation " main line, therefore, valley regulation process need by slope/ditch geomorphic feature factor, (soil chronologically deposits and presents layered characteristic soil layering characteristic factor, the soil erodibility of different layers is different, its stability is also different, regulation process need consider soil stability) and hypsography variation characteristic factor jointly combine, could completely reflect the natural conditions of valley, especially landform fluctuation ratio is bigger, the landforms of variational regularity difference need to carry out prepartion of land design.
And current valley is renovated expert in regulation process and is needed to be grasped the method that geomorphic feature is extracted by ARCGIS professional software, but extract operation every time and can only obtain a type of geomorphic feature, and present with planar region, in addition it is also necessary to manually go identification;In raceway groove prepartion of land designs, regulation expert also needs to adopt the professional softwares such as southern CASS artificially to design the depth of fill again and goes calculating earth volume, it is impossible to geomorphic feature be attached in prepartion of land design.
Therefore existing basin three-dimensional artificial cannot meet the demand of valley Renovation and planning visualization aid decision.
Summary of the invention
It is an object of the invention to provide a kind of valley Renovation and planning emulation mode based on OSG (OpenSceneGraph) and system, utilize three-dimensional rendering ability powerful for OSG, build the three dimension channel watershed unit model based on digital elevation model, to valley topographic feature extraction, visual simulation and profile analysis, carry out prepartion of land by the DEM earth volume calculated to render, one is provided intuitively for land control domain expert, valley physical relief scene true to nature, improve Cognitive Effects, by adding multiple kinds of crops model, the dimensionally object model of basic farmland model and job facilities, realize supporting " plant measures, engineering measure, tillage control measure scientific allocation " dynamic interaction design process, renovate valley engineering for policymaker's science and aid decision support is provided.
In order to realize above-mentioned target, the technical solution used in the present invention:
A kind of valley Renovation and planning emulation mode based on OSG, it is characterised in that comprise the following steps:
Step 1), build based on the valley three-dimensional terrain model of digital complex demodulation;
Step 2), valley soil landforms layered characteristic extracted according to dem data by constructed valley three-dimensional terrain model, identify and layer tint renders;
Step 3), geomorphic feature duct that landforms are developed according to dem data by constructed valley three-dimensional terrain model is along the line and leg wire of slope extracts, identify and render with painted;
Step 4), constructed valley three-dimensional terrain model is carried out according to dem data dynamic extraction and the real-time rendering of landform two dimensional cross-section;
Step 5), constructed valley three-dimensional terrain model is carried out the dynamic extraction in three-dimensional cross section according to dem data and renders;
Step 6), according to dem data, constructed valley three-dimensional terrain model is carried out Earthwork Calculation and prepartion of land simulation renders;
Step 7), topography and geomorphology according to valley, set up multiple kinds of crops and plant model, basic farmland farming model and the job facilities model of the scale of being suitable for plantation;
Step 8), the multiple model step 7 set up is loaded in the appointment position of constructed valley three-dimensional terrain model.
Further, described method also includes: the valley three-dimensional terrain model that step 1 is set up is smoothed.
Further, described step 1) including: obtain the terrain data of DWG formatted data, and original DWG formatted data utilizes the raster interpolation method of ARCGIS generate dem data;
Dem data is split, sampling derives the dem data of Block-terrain and converts cross-platform readable txt text to, line number according to DEM and columns, create the pixel picture being sized to ranks product, use the grey scale pixel value in pixel picture to store the height value of landform dem data, utilize the self-defined scene creation method of solid object of OSG to set up the three-dimensional terrain model of valley.
Further, described step 8) including: utilize the method for self-defined ray detection intersection point to be loaded into by model in constructed valley three-dimensional terrain model.
Further, described step 3) including:
3.1) one vertex information Array for structural body of definition, for storing dem data height value and the parameter value of subsequent calculations gained;
3.2) calculating the gradient of each point, change of slope respectively according to the elevational point of storage in vertex information Array for structural body, travel through change of slope, find out change of slope local maximum point, calculating each some position is positive form or negative land form,
3.3) traversal the gradient a little, the gradient is set to less than the point of predetermined threshold that non-ditch is along the line or non-leg wire of slope point;To the gradient point more than predetermined threshold, the point of its place positive form being defined as ditch point along the line, the point of negative land form is defined as leg wire of slope point,
3.4) position, broadband that ditch is along the line, leg wire of slope is formed carries out micronization processes, and the ditch ultimately forming only one of which mesh width is along the line, leg wire of slope;
3.5) all DEM elevational points are extracted and travel through on ditch is along the line, summit, leg wire of slope position, if ditch is put along the line, data are pressed in bank line geometry body object vertex array, if data are then pressed in leg wire of slope solid object vertex array by leg wire of slope point, again two solid objects are joined corresponding node, utilize the OSG self-defined method for drafting of the solid object ditch to identifying along the line and leg wire of slope carries out painted rendering.
Further, described step 4) including:
Optional position in click valley three-dimensional terrain model scene, the screen two-dimensional coordinate of the intersection point got is carried out three-dimensional coordinate conversion by the method adopting self-defined ray detection intersection point and transformation by reciprocal direction obtains the initial three-dimensional coordinate of this intersection point, travel through all dem datas identical with this intersection point X-coordinate value, extract the Y coordinate of these dem datas and Z coordinate (elevation) and value of slope, illustrate window by the calculating and plotting of self-defined scaling method at two dimensional terrain section.
Further, described step 5) including:
Optional position in click valley three-dimensional terrain model scene, the screen two-dimensional coordinate of the intersection point got is carried out three-dimensional coordinate and is converted to the three-dimensional coordinate of this intersection point by the method adopting self-defined ray detection intersection point, travel through all dem data height value, extract the elevational point in predetermined value of the Y coordinate with this intersection point, utilize the OSG self-defined method for drafting of solid object that the elevational point extracted carries out painted rendering and obtain three-dimensional cross section.
Further, described step 6) including:
The leg wire of slope point set that step 4 is obtained tries to achieve the average elevation of earth volume, the height value of the DEM in valley three-dimensional terrain model is all set to average elevation, utilizes the self-defined earthwork rendering intent of solid object of OSG to complete rendering of earth fill.
Further, described step 2) including:
DEM layering interval according to the distributed acquisition valley different soils layer that different soils layer chronologically deposits, utilizes the vertex shader of OSG and sheet unit tinter custom hierarchical rendering intent completes the extraction to soil landforms layered characteristic and layer tint renders.
On the other hand, the present invention provides a kind of valley Renovation and planning analogue system based on OSG for performing described method, it is characterized in that, described system includes: emulation module, model construction module, data memory module, and data memory module is used for storing basic data;Model construction module is used for building all kinds of crops, plant and farmland, job facilities model;Described emulation module is for the geomorphic feature of three-dimensional terrain model, soil landforms layered characteristic with topographic profile, earth volume are extracted, identify and calculated and carry out emulation by OSG engine renders.In the technique scheme of the present invention, pass through smoothing processing, it is possible to eliminate the landform caused because of individual data lofty so that terrain information is more accurate.
The present invention is by means of virtual reality technology, the critical terrain feature feature of the raceway groove small watershed soil landforms layering that need to renovate with landforms development is extracted, visual simulation and topographic profile analysis, carry out prepartion of land by the DEM earth volume calculated to render, realize integrating the collaborative design carrying out man-machine dynamic interaction in the valley Renovation and planning process of plant measures, engineering measure and tillage control measure, science is formulated the decision support method of valley regulation suitability scheme a kind of visual simulating of offer.
The present invention is unique in that and can simultaneously and automatically extract slope/ditch geomorphic feature, soil layering feature and hypsography variation characteristic, and the earth volume according to landforms feature calculation prepartion of land design, finally slope/ditch geomorphic feature, soil layering feature, hypsography variation characteristic (section) and prepartion of land process are carried out 3-D Visualization Simulation, it is provided that decision support intuitively.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the valley Renovation and planning emulation mode based on OSG provided by the invention;
Fig. 2 is that in the inventive method geomorphic feature duct is along the line, the extraction of leg wire of slope, identify and emulate the schematic flow sheet rendered;
Fig. 3 is the schematic flow sheet that mouse is converted at the position coordinates of screen in the inventive method three-dimensional coordinate corresponding to simulating scenes by ray detection intersection method;
Fig. 4 is the structural representation of the valley Renovation and planning analogue system based on OSG provided by the invention.
Detailed description of the invention
In conjunction with accompanying drawing, technical scheme is described in detail.
Embodiment 1
Introduce the valley Renovation and planning emulation mode based on OSG in the present embodiment.
As it is shown in figure 1, the method includes following nine steps.
1, the three-dimensional terrain model of raceway groove small watershed is set up, particularly as follows:
In the present embodiment, the initial data that structure three-dimensional terrain model adopts is cad data, but cad data inadequate lifelike image when three-dimensional simulation, and therefore it has been processed by the present invention.First, digital elevation model (DEM is split, samples and generated to DWG form topography original for CAD by the raster interpolation method using ArcGIS, i.e. DigitalElevationModel) data, the dem data deriving Block-terrain preserves with dbf form, dbf formatted data file is converted to cross-platform readable txt formatted file, obtains line number and the columns of the dem data of Block-terrain from txt file;
Secondly, the size (size for interval in original altitude data x, y, z all directions) of three-dimensional terrain model in definition Visual Scene, scaled each summit height value is (by former height value maximin, obtain unit height value size in the scene), create pixel picture, each height value after reducing by the ranks storage that regular grid data are corresponding in pixel, newly-built 2D texture properties object, pixel picture is associated with in this texture properties object;Setting up solid object, arrange vertical array, vertical array stores the row, column coordinate on each summit, i.e. two-dimensional coordinate, arranges the GL_QUAD_STRIP type that interrelational form is geometric graphic element on summit;Utilize vertex shader that the texture coordinate of 2D texture properties object is set, by this texture coordinate, 2D texture properties object is sampled, the height value that sampling obtains is assigned to the Z coordinate of vertex position, vertex shader is associated with corresponding stateset (state set)
Finally, stateset and solid object are associated with on the same leaf node of Visual Scene, use OSG engine to generate the three-dimensional terrain model of Gullied Rolling Loess Region.
2, the three-dimensional terrain model of raceway groove small watershed is smoothed, particularly as follows:
Use the altitude data of storage in 3 × 3 spatial mean value wave filter traversal pixel images, point centered by a height value, three row three centered by central point are arranged totally 9 height value average, again meansigma methods is assigned to this 9 points, to pixel image by row, column, carry out traversal from left to right, from top to bottom and be sequentially carried out operation of averaging, thus reaching the smoothing processing to each elevation topographic coordinate point, thus eliminating the landform lofty (or spine) because individual data causes.
3, valley soil landforms layered characteristic extracted according to dem data by valley three-dimensional terrain model, identify and render with layer tint, particularly as follows:
For loess plateau loess geomorphy, obtain the DEM layering interval of valley difference loess, according to dividing the level section formed, utilize the color value of vertex shader definition difference layering, color type is defined as variable type, utilizes opposite vertexes elevation coordinate in sheet unit tinter to judge, by incoming for color first tinter, make the summit dropping on different levels interval render different colors, complete to carry out soil landforms layered characteristic extracting to render with layer tint.
4, the critical terrain feature characteristic curve ditch that landforms are developed according to dem data by valley three-dimensional terrain model is along the line and leg wire of slope extracts, identify and render with painted.
As in figure 2 it is shown, the detailed process of this step is:
(1) one vertex information Array for structural body of definition, for storing positive and negative, the gradient, change of slope, the local maximum point of dem data height value and subsequent calculations gained, ditch slope etc., complete that ditch is along the line, leg wire of slope point extract before the process of DEM altitude data;
Vertex information structure can be defined as follows:
(2) calculating the gradient of each point, change of slope respectively according to the elevational point of storage in structure, travel through change of slope, find out change of slope local maximum point, calculating each some position is just or negative land form,
(3) along the line according to ditch and leg wire of slope geomorphic feature is analyzed, ditch along the line and has a range of grade near leg wire of slope, set the gradient less than a certain threshold value, traversal the gradient a little, the gradient is set to less than the point of threshold value that non-ditch is along the line or non-leg wire of slope, namely " channel " is set to 0, to the gradient more than the point of predetermined threshold according to its place just (or negative) landform determine it is ditch point along the line (or leg wire of slope point);
(4) ditch obtained is along the line, leg wire of slope point constitutes on local location that ditch is along the line and (ditch that preceding step obtains is along the line and leg wire of slope has pseudo-point (formation broadband) in the broadband of leg wire of slope, so carrying out puppet with thinning algorithm again), the position, broadband that ditch is along the line with the Hilditch thinning algorithm improved, leg wire of slope is formed carries out micronization processes, ultimately form the characteristic point of only one of which mesh width
(5) all DEM elevational points are extracted and travel through on ditch is along the line, summit, leg wire of slope position, if ditch is put along the line, data are pressed in bank line geometry body object vertex array, if data are then pressed in leg wire of slope solid object vertex array by leg wire of slope point, again two solid objects are joined corresponding node, call that OSG is along the line to the solid objects draw function ditch to identifying and leg wire of slope carries out painted rendering.
5, optional position in the valley three-dimensional terrain model scene that click step 1 is set up, the intersection point screen two-dimensional coordinate got is carried out three-dimensional coordinate and is converted to the three-dimensional coordinate of this intersection point by the method adopting self-defined ray detection intersection point, the screen coordinate got is carried out three-dimensional coordinate conversion and reverse matrixing obtain original dem data (in model three-dimensional coordinate through conversion, want true in landform profile drawing, original dem data must be got), the dynamic extraction of landform two dimensional cross-section data is carried out according to original dem data, real-time rendering.Travel through all dem data height value, extract the Y coordinate elevational point of (half of mesh spacing) in certain value with this intersection point, utilize the OSG self-defined method for drafting of solid object that the elevational point extracted carries out painted rendering and obtain three-dimensional cross section (three-dimensional cross section is the extraction in three-dimensional terrain model and display, so original dem data need not be obtained).
Wherein, mesh spacing half refers to: when obtaining three-dimensional coordinate on model by screen coordinate, coordinate is likely at dem data between points, can obtain contiguous DEM point by this method.
6, the optional position in the valley three-dimensional terrain model scene that click step 1 is set up, carries out three-dimensional coordinate by the screen coordinate got and is converted to dem data, carries out the extraction of three-dimensional cross section data according to dem data, renders,
7, the simulation that according to dem data, the valley three-dimensional terrain model constructed by step 1 is carried out Earthwork Calculation and prepartion of land renders that (circular is: seek the volume of the part folded between design plane and threedimensional model, regard a square as by each point of dem data, earth volume calculate the volume sum being exactly to calculate each some place square.Being calculated as of each point place volume, foursquare area is multiplied by average elevation (design plane height) and model the difference of the height of elevational point, finally accumulates, respectively obtain fill out, amount of excavation);
8, utilize the modeling softwares such as 3DSmax and PhotoShop to set up and be suitable for the multiple kinds of crops model of valley land suitability, basic farmland model and the cellar for storing things job facilities model that catchments, and derive with osg form, it is to avoid lose texture (adopting extended formatting such as ive form likely to lose texture) when osgEXP changes because model face number is more.
9, as shown in Figure 3, the multiple model of step 7 is loaded in the arbitrarily appointment position of the model of place that above-mentioned steps is set up by man-machine interaction mode by the method utilizing self-defined ray detection intersection point, realize supporting the man-machine coordination regulation design decision process of " plant measures, engineering measure, tillage control measure scientific allocation ", particularly as follows:
Mouse is moved to the position needing stress model, move to screen position place at mouse pointer and the ray of one normal to screen is set, by self-defined mousePointVec this ray intersection of function captured in real time in the intersection point of threedimensional model scene, thus the mouse two-dimensional coordinate in screen position is converted to three-dimensional scenic coordinate corresponding in three-dimensional scenic, obtain three-dimensional coordinate, definition matrix object arranges position and the size of model, inversely prroportional relationship according to model size and coordinate points adjusts model coordinate, finally by matrix conversion method, the model after process is joined three-dimensional scenic to specify in position.
Embodiment 2
In the present embodiment, the present invention provides a kind of system for performing said method.As shown in Figure 4, the present invention utilizes cross-platform C++ graphic user interface storehouse QT to carry out the system integration, it is achieved real time interactive operation, dynamic tailor and render.This system specifically includes: functional layer, model layer, data Layer.Wherein, data Layer storage basic data, including: the result of calculation of Law of DEM Data, geomorphic feature data and topographic profile analysis and model data;All kinds of crops, plant and farmland, the job facilities model that model layer storage modeling software creates;Functional layer is the nucleus module of analogue system, and the geomorphic feature etc. of three-dimensional terrain model is extracted, identified and calculate and rendered by OSG engine.
The undocumented public general knowledge partly belonging to this area of the present invention.
The present invention dexterously by the terrain data of CAD, converted to digital elevation data (dem data) by ARCGIS, and generate three-dimensional terrain model, 3DMAX technology is utilized to carry out the modeling of the model such as multiple kinds of crops and plant, OSG technology is utilized to carry out analogue simulation, both ensure that the actual visual of terrain simulation, the emulation planned can have been carried out again in simulation process, easy to use, effect is true to nature, is that prior art is beyond one's reach.Several different graph and image processing technology and emulation technology are combined by the present invention dexterously, are applied in agricultural projects field, breach the restriction of original ARCGIS technology, and emulation is more true, provides decision support better for policymaker.
Although principles of the invention being described in detail above in conjunction with the preferred embodiments of the present invention, it should be appreciated by those skilled in the art that above-described embodiment is only the explanation of the exemplary implementation to the present invention, not the present invention is comprised the restriction of scope.Details in embodiment is not intended that limitation of the scope of the invention, when without departing substantially from the spirit and scope of the present invention, any based on apparent changes such as the equivalent transformation of technical solution of the present invention, simple replacements, all falls within scope.

Claims (10)

1. the valley Renovation and planning emulation mode based on OSG, it is characterised in that comprise the following steps:
Step 1), build based on the valley three-dimensional terrain model of digital complex demodulation;
Step 2), valley soil landforms layered characteristic extracted according to dem data by constructed valley three-dimensional terrain model, identify and layer tint renders;
Step 3), geomorphic feature duct that landforms are developed according to dem data by constructed valley three-dimensional terrain model is along the line and leg wire of slope extracts, identify and render with painted;
Step 4), constructed valley three-dimensional terrain model is carried out according to dem data dynamic extraction and the real-time rendering of landform two dimensional cross-section;
Step 5), constructed valley three-dimensional terrain model is carried out the dynamic extraction in three-dimensional cross section according to dem data and renders;
Step 6), according to dem data, constructed valley three-dimensional terrain model is carried out Earthwork Calculation and prepartion of land simulation renders;
Step 7), topography and geomorphology according to valley, set up multiple kinds of crops and plant model, basic farmland farming model and the job facilities model of the scale of being suitable for plantation;
Step 8), the multiple model step 7 set up is loaded in the appointment position of constructed valley three-dimensional terrain model.
2. the valley Renovation and planning emulation mode based on OSG according to claim 1, it is characterised in that
Described method also includes: the valley three-dimensional terrain model that step 1 is set up is smoothed.
3. the valley Renovation and planning emulation mode based on OSG according to claim 1, it is characterized in that, described step 1) including: obtain the terrain data of DWG formatted data, and original DWG formatted data utilizes the raster interpolation method of ARCGIS generate dem data;
Dem data is split, sampling derives the dem data of Block-terrain and converts cross-platform readable txt text to, line number according to DEM and columns, create the pixel picture being sized to ranks product, use the grey scale pixel value in pixel picture to store the height value of landform dem data, utilize the self-defined scene creation method of solid object of OSG to set up the three-dimensional terrain model of valley.
4. the valley Renovation and planning emulation mode based on OSG according to claim 1, it is characterised in that described step 8) including: utilize the method for self-defined ray detection intersection point to be loaded into by model in constructed valley three-dimensional terrain model.
5. the valley Renovation and planning emulation mode based on OSG according to claim 1, it is characterised in that described step 3) including:
3.1) one vertex information Array for structural body of definition, for storing dem data height value and the parameter value of subsequent calculations gained;
3.2) calculating the gradient of each point, change of slope respectively according to the elevational point of storage in vertex information Array for structural body, travel through change of slope, find out change of slope local maximum point, calculating each some position is positive form or negative land form,
3.3) traversal the gradient a little, the gradient is set to less than the point of predetermined threshold that non-ditch is along the line or non-leg wire of slope point;To the gradient point more than predetermined threshold, the point of its place positive form being defined as ditch point along the line, the point of negative land form is defined as leg wire of slope point,
3.4) position, broadband that ditch is along the line, leg wire of slope is formed carries out micronization processes, and the ditch ultimately forming only one of which mesh width is along the line, leg wire of slope;
3.5) all DEM elevational points are extracted and travel through on ditch is along the line, summit, leg wire of slope position, if ditch is put along the line, data are pressed in bank line geometry body object vertex array, if data are then pressed in leg wire of slope solid object vertex array by leg wire of slope point, again two solid objects are joined corresponding node, utilize the OSG self-defined method for drafting of the solid object ditch to identifying along the line and leg wire of slope carries out painted rendering.
6. the valley Renovation and planning emulation mode based on OSG according to claim 1, it is characterised in that described step 4) including:
Optional position in click valley three-dimensional terrain model scene, the screen two-dimensional coordinate of the intersection point got is carried out three-dimensional coordinate conversion by the method adopting self-defined ray detection intersection point and transformation by reciprocal direction obtains the initial three-dimensional coordinate of this intersection point, travel through all dem datas identical with this intersection point X-coordinate value, extract the Y coordinate of these dem datas and Z coordinate (elevation) and value of slope, illustrate window by the calculating and plotting of self-defined scaling method at two dimensional terrain section.
7. the valley Renovation and planning emulation mode based on OSG according to claim 1, it is characterised in that described step 5) including:
Optional position in click valley three-dimensional terrain model scene, the screen two-dimensional coordinate of the intersection point got is carried out three-dimensional coordinate and is converted to the three-dimensional coordinate of this intersection point by the method adopting self-defined ray detection intersection point, travel through all dem data height value, extract the elevational point in predetermined value of the Y coordinate with this intersection point, utilize the OSG self-defined method for drafting of solid object that the elevational point extracted carries out painted rendering and obtain three-dimensional cross section.
8. the valley Renovation and planning emulation mode based on OSG according to claim 1, it is characterised in that described step 6) including:
The leg wire of slope point set that step 4 is obtained tries to achieve the average elevation of earth volume, the height value of the DEM in valley three-dimensional terrain model is all set to average elevation, utilizes the self-defined earthwork rendering intent of solid object of OSG to complete rendering of earth fill.
9. the valley Renovation and planning emulation mode based on OSG according to claim 1, it is characterised in that described step 2) including:
DEM layering interval according to the distributed acquisition valley different soils layer that different soils layer chronologically deposits, utilizes the vertex shader of OSG and sheet unit tinter custom hierarchical rendering intent completes the extraction to soil landforms layered characteristic and layer tint renders.
10. one kind is used for performing the valley Renovation and planning analogue system based on OSG of method described in any one in claim 1-9, it is characterized in that, described system includes: emulation module, model construction module, data memory module, and data memory module is used for storing basic data;Model construction module is used for building all kinds of crops, plant and farmland, job facilities model;Described emulation module is for the geomorphic feature of three-dimensional terrain model, soil landforms layered characteristic with topographic profile, earth volume are extracted, identify and calculated and carry out emulation by OSG engine renders.
CN201610065298.3A 2016-01-29 2016-01-29 A kind of valley Renovation and planning emulation mode and system based on OSG Active CN105760581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610065298.3A CN105760581B (en) 2016-01-29 2016-01-29 A kind of valley Renovation and planning emulation mode and system based on OSG

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610065298.3A CN105760581B (en) 2016-01-29 2016-01-29 A kind of valley Renovation and planning emulation mode and system based on OSG

Publications (2)

Publication Number Publication Date
CN105760581A true CN105760581A (en) 2016-07-13
CN105760581B CN105760581B (en) 2018-08-07

Family

ID=56342821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610065298.3A Active CN105760581B (en) 2016-01-29 2016-01-29 A kind of valley Renovation and planning emulation mode and system based on OSG

Country Status (1)

Country Link
CN (1) CN105760581B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107452059A (en) * 2017-08-09 2017-12-08 中国地质大学(武汉) A kind of three-dimensional interpolation modeling method, equipment and its storage device
CN107563070A (en) * 2017-09-07 2018-01-09 张科 The three-dimensional design system and three-dimensional design method of farmland water conservancy works
CN107577903A (en) * 2017-10-31 2018-01-12 华电郑州机械设计研究院有限公司 A kind of method that the earthwork smooth calculating in place is carried out based on AutoCAD
CN107577892A (en) * 2017-09-19 2018-01-12 哈尔滨师范大学 A kind of analog simulation method of crops texture situation
CN109196974A (en) * 2018-08-13 2019-01-15 宁波华众和创工业设计有限公司 A kind of afforestation device of digging
CN109215107A (en) * 2017-06-30 2019-01-15 畅想科技有限公司 For more viewport transform modules used in 3D rendering system
CN113628337A (en) * 2021-08-20 2021-11-09 北京优锘科技有限公司 WebGL-based large-scale river flow field visual rendering method, device and equipment
CN115774896A (en) * 2022-12-09 2023-03-10 北京百度网讯科技有限公司 Data simulation method, device, equipment and storage medium
CN115796633A (en) * 2022-09-30 2023-03-14 北京大学深圳研究生院 Urban rural land utilization comprehensive improvement performance assessment method and system
CN116385683A (en) * 2023-04-10 2023-07-04 长安大学 Three-dimensional small drainage basin channel fractal dimension calculation method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479725A (en) * 1993-06-16 1996-01-02 Franz Plasser Bahnbaumaschinen-Industrieges. M.B.H. Method of and arrangement for rehabilitating a ballast bed of a track
CN102938230A (en) * 2012-11-15 2013-02-20 南京大学 Dynamic layering rendering expression method of two-dimensional scalar field on electronic map
CN103020741A (en) * 2012-12-21 2013-04-03 天津大学 Economic optimization design method for river regulation for urban landscape
CN103306258A (en) * 2013-05-30 2013-09-18 甘肃省林业科学研究院 Soil erosion treating and ecological industry integration system
CN203631054U (en) * 2013-10-11 2014-06-04 石家庄学院 Total factor natural object landform characteristic model

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479725A (en) * 1993-06-16 1996-01-02 Franz Plasser Bahnbaumaschinen-Industrieges. M.B.H. Method of and arrangement for rehabilitating a ballast bed of a track
CN102938230A (en) * 2012-11-15 2013-02-20 南京大学 Dynamic layering rendering expression method of two-dimensional scalar field on electronic map
CN103020741A (en) * 2012-12-21 2013-04-03 天津大学 Economic optimization design method for river regulation for urban landscape
CN103306258A (en) * 2013-05-30 2013-09-18 甘肃省林业科学研究院 Soil erosion treating and ecological industry integration system
CN203631054U (en) * 2013-10-11 2014-06-04 石家庄学院 Total factor natural object landform characteristic model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
范光伟等: "基于OSG流域三维可视化系统", 《中国水运》 *
陈勇等: "DEM在丘陵地区土地整理项目中的应用研究", 《测绘科学》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109215107A (en) * 2017-06-30 2019-01-15 畅想科技有限公司 For more viewport transform modules used in 3D rendering system
CN107452059A (en) * 2017-08-09 2017-12-08 中国地质大学(武汉) A kind of three-dimensional interpolation modeling method, equipment and its storage device
CN107452059B (en) * 2017-08-09 2019-08-20 中国地质大学(武汉) A kind of three-dimensional interpolation modeling method, equipment and its storage equipment
CN107563070A (en) * 2017-09-07 2018-01-09 张科 The three-dimensional design system and three-dimensional design method of farmland water conservancy works
CN107577892A (en) * 2017-09-19 2018-01-12 哈尔滨师范大学 A kind of analog simulation method of crops texture situation
CN107577892B (en) * 2017-09-19 2020-03-31 哈尔滨师范大学 Simulation method for surface structure condition of ground for crops
CN107577903A (en) * 2017-10-31 2018-01-12 华电郑州机械设计研究院有限公司 A kind of method that the earthwork smooth calculating in place is carried out based on AutoCAD
CN109196974A (en) * 2018-08-13 2019-01-15 宁波华众和创工业设计有限公司 A kind of afforestation device of digging
CN113628337A (en) * 2021-08-20 2021-11-09 北京优锘科技有限公司 WebGL-based large-scale river flow field visual rendering method, device and equipment
CN113628337B (en) * 2021-08-20 2022-07-08 北京优锘科技有限公司 WebGL-based large-scale river flow field visual rendering method, device and equipment
CN115796633A (en) * 2022-09-30 2023-03-14 北京大学深圳研究生院 Urban rural land utilization comprehensive improvement performance assessment method and system
CN115796633B (en) * 2022-09-30 2023-08-08 北京大学深圳研究生院 Urban village land utilization comprehensive renovation performance evaluation method and system
CN115774896A (en) * 2022-12-09 2023-03-10 北京百度网讯科技有限公司 Data simulation method, device, equipment and storage medium
CN115774896B (en) * 2022-12-09 2024-02-02 北京百度网讯科技有限公司 Data simulation method, device, equipment and storage medium
CN116385683A (en) * 2023-04-10 2023-07-04 长安大学 Three-dimensional small drainage basin channel fractal dimension calculation method and system
CN116385683B (en) * 2023-04-10 2023-09-19 长安大学 Three-dimensional small drainage basin channel fractal dimension calculation method and system

Also Published As

Publication number Publication date
CN105760581B (en) 2018-08-07

Similar Documents

Publication Publication Date Title
CN105760581B (en) A kind of valley Renovation and planning emulation mode and system based on OSG
Werbrouck et al. Digital Elevation Model generation for historical landscape analysis based on LiDAR data, a case study in Flanders (Belgium)
CN106846466A (en) A kind of smart city three-dimensional visualization display systems
Wang Landscape design of coastal area based on virtual reality technology and intelligent algorithm
JP2011501301A (en) Geospatial modeling system and related methods using multiple sources of geographic information
CN110415265A (en) Terraced fields extraction method based on unmanned plane high accuracy DEM data
CN103810729B (en) A kind of based on isocontour raster image vector quantized method
CN105678832A (en) OSG-based visual scene creation method for dynamically programming stereoscopic agriculture in gully district
CN104851131B (en) A kind of dimensional topography generation method of local accuracy's constraint
CN114357558A (en) Traditional village space texture parameterization construction method
Isshiki et al. 3D tsunami run-up simulation and visualization using particle method with GIS-based geography model
Samavati et al. Interactive 3D content modeling for digital earth
Botica et al. 3D representation of the urban evolution of Braga using the CityEngine tool
Sun et al. Application of computer technology in the visualized landscape design of modern urban garden environment
Xie Application of computer simulation virtual reality simulation technology in the statistical analysis of urban building communities
Cui et al. 3D Visualization Scene Technology and the Application for the Planning of Channel Land Consolidation
Lu et al. Computer aided design system based on 3D GIS for park design
CN111354081A (en) Large-scale three-dimensional forest drawing method
CN117669274B (en) Flood simulation forecasting method and system based on virtual reality
Ye et al. Virtual Simulation Modeling and Visual Analysis of Sediment Erosion and Deposition Change in River Basin
Zhou et al. Gymnasium simulation design and implementation based on 3D virtual building
Tong et al. 3D Image Based on Visual Sensor in Space Landscape Model
Zeng et al. Construction of 3D Digital Reconstruction System of Urban Landscape Spatial Pattern Based on Deep Learning
Cotoarba et al. The analysis of morphometric parameters in hydrological modeling using GIS
Arias et al. A Simple Technique for Modeling Terrains Using Contour Maps

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