Re: Combine meshes for Terrain modeling
From: Kevin Spencer (kspencer_at_takempis.com)
Date: 06/07/04
- Next message: Chad: "Audio.Dispose() method doesn't work"
- Previous message: Filip Strugar: "Re: Combine meshes for Terrain modeling"
- In reply to: Filip Strugar: "Re: Combine meshes for Terrain modeling"
- Next in thread: Steven Licciardi: "Re: Combine meshes for Terrain modeling"
- Reply: Steven Licciardi: "Re: Combine meshes for Terrain modeling"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Jun 2004 14:37:58 -0400
Thanks, Filip,
My problem is, they all have the same world coords, centered on 0,0,0 for
each one. I'm thinking I can use Geometry.ComputeBoundingBox() to get the
length, width, and height of the meshes, and do a Tranform to place them
relative to one another. I have had a hard time finding much info on this
method, but as the meshes are basically box-like, it should work, correct?
I'm also thinking that I can use these dimensions to translate from
Lat/Long/Altitude to X/Y/Z, as I know the dimensions in meters of the DEM
files. Thoughts?
-- HTH, Kevin Spencer .Net Developer Microsoft MVP Big things are made up of lots of little things. "Filip Strugar" <fili@sezampro_dot_yu> wrote in message news:OTK9H4LTEHA.204@TK2MSFTNGP10.phx.gbl... > I suppose you wouldn't want to combine them all into one big mesh, but to > render them separately (and maybe do the frustum cull)? > > If they have good world coords, they should match up fine. > > "Kevin Spencer" <kspencer@takempis.com> wrote in message > news:%23nSCCPKTEHA.808@tk2msftngp13.phx.gbl... > > I am using USGS Digital Elevation Model files to create .X files that each > > contain about a 3 X 6-mile patch of the earth. I am having trouble > figuring > > out how to combine these separate mesh files to generate a single mesh > that > > serves as the current terrain view. How do I match up the edges of the > > meshes and combine them? > > > > TIA, > > Kevin Spencer > > .Net Developer > > Microsoft MVP > > Big things are made up > > of lots of little things. > > > > > >
- Next message: Chad: "Audio.Dispose() method doesn't work"
- Previous message: Filip Strugar: "Re: Combine meshes for Terrain modeling"
- In reply to: Filip Strugar: "Re: Combine meshes for Terrain modeling"
- Next in thread: Steven Licciardi: "Re: Combine meshes for Terrain modeling"
- Reply: Steven Licciardi: "Re: Combine meshes for Terrain modeling"
- Messages sorted by: [ date ] [ thread ]