|
From: David M. <da...@me...> - 2001-08-29 15:30:01
|
Karl-Heinz Zimmer writes: > On Tuesday 28 August 2001 11:32 pm, Norman Vine wrote: > > David Megginson writes: > .. > > > Since roads are much longer than runways, they'll have to be segmented > > > fairly frequently, especially for US scenery using the DEM-3 data. > > > Even a 1km segment of straight road might go up and down a couple of > > > hills, and some segments can be 10 or 20km or more. Knowing something > > > about the underlying DEM might help > > > I guess I am assuming that we already have the dem triangulated > > then the 'interesting points' < places we want nodes in the road > > > are the intersections of the road polygon and the edges of the > > triangulation. We already do something similar for rivers > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > So does that mean there *is* special code for rivers in FlightGear? River and lake polys are flattened -- TerraGear goes through them and normalizes the elevation nodes to an average. Ocean polys have 0 elevation assigned throughout. > I thought I was going to implement them on a 'just paint them in the > scenery' basis by following the detailed advice I got in the > yesterday postings... Yes, that's what you need to do. Norm's simply referring to how elevations are calculated internally by TerraGear. All the best, David -- David Megginson da...@me... |