1
0
Fork 0

- fix airport area texturing

- fix ocean texturing for tiles with a coastline
This commit is contained in:
Peter Sadrozinski 2012-12-16 12:54:44 -05:00
parent 10db5bfbff
commit 9f34a0c036
3 changed files with 4 additions and 2 deletions

View file

@ -1225,7 +1225,10 @@ void Airport::BuildBtg(const std::string& root, const string_list& elev_src )
std::string holepath = root + "/AirportArea";
tgChopper chopper( holepath );
divided_base.SetPreserve3D( true );
apt_clearing.SetPreserve3D( false );
apt_clearing.SetTexMethod( TG_TEX_BY_GEODE );
chopper.Add( divided_base, "Hole" );
chopper.Add( apt_clearing, "Airport" );

View file

@ -232,6 +232,7 @@ bool TGConstruct::ClipLandclassPolys( void ) {
if ( remains.Contours() > 0 ) {
remains.SetMaterial( get_area_name(get_sliver_target_area_type()) );
remains.SetTexMethod( TG_TEX_BY_GEODE, bucket.get_center_lat() );
polys_clipped.add_poly( (int)get_sliver_target_area_type(), remains );
}
}

View file

@ -81,8 +81,6 @@ void TGConstruct::CalcElevations( void )
}
}
return;
nodes.get_geod_nodes(raw_nodes);
// now flatten some stuff