shred86 / Ortho4XP

A scenery generator for the X-Plane flight simulator
18 stars 3 forks source link

Unable to build +30-085 #40

Open andrewpucci opened 2 months ago

andrewpucci commented 2 months ago

This probably has nothing to do with the work you've done @shred86, but I cannot get +30-085 to finish building. It gets stuck at Computing point pools and texture requirements. No crash or errors in the console, it just gets to this step and stays there, I've waited 24 hours to see if it just takes a long time, but still there. This is the only tile I have this issue on and I've created 1,600 other tiles.

Do you have this same issue or any ideas of things I could try?

Log

Batch build launched for a number of 1 tiles.
Dealing with tile  1 / 1 : +30-085

Step 1 : Building vector data for tile +30-085 : 
--------

-> Dealing with airports
    * Downloading OSM data for ('node["aeroway"]', 'way["aeroway"]', 'rel["aeroway"]')
   KBGE   Decatur County Industrial Air Park                           2 runways, lat= 30.97, lon= -84.63
   KTLH   Tallahassee International Airport                            2 runways, lat= 30.40, lon= -84.35
   ****   Angel's Field                                                1 runway , lat= 30.48, lon= -84.09
   ****   Black Creek Pass Airport                                     2 runways, lat= 30.50, lon= -84.08
   ****   Brock Airpark                                                1 runway , lat= 31.00, lon= -84.51
   ****   Cairo-Grady County Airport                                   1 runway , lat= 30.89, lon= -84.16
   ****   Charlottes Field                                             1 runway , lat= 30.48, lon= -84.03
   ****   Dogwood Farm Airport                                         1 runway , lat= 30.54, lon= -84.45
   ****   Donalsonville Municipal Airport                              1 runway , lat= 31.01, lon= -84.87
   ****   Flat Creek Airport                                           1 runway , lat= 30.61, lon= -84.79
   ****   Hidden Acres Airpark                                         1 runway , lat= 30.28, lon= -84.05
   ****   Ingalls Field                                                1 runway , lat= 30.59, lon= -84.03
   ****   Kilpatrick Farm Airport                                      1 runway , lat= 30.73, lon= -84.92
   ****   Peavy Farms Airport                                          1 runway , lat= 30.67, lon= -84.41
   ****   Quincy Municipal Airport                                     2 runways, lat= 30.60, lon= -84.56
   ****   Rutten Airstrip                                              1 runway , lat= 30.68, lon= -84.37
   ****   Saranac Farm Airport                                         2 runways, lat= 30.65, lon= -84.47
   ****   Wakulla Club Airport                                         1 runway , lat= 30.20, lon= -84.25
   ****   Watson Farm Airport                                          1 runway , lat= 30.61, lon= -84.64
   ****   ****                                                         1 runway , lat= 30.91, lon= -84.45
   Loading elevation data and smoothing it over airports.
   INFO: Dataset contains too much no_data to be filled.
   INFO: Replacing nodata nodes with zero altitude.
    * Min altitude: -1.2152601 , Max altitude: 110.51038 , Mean: 36.583645
   Auto-patched 25 runways and 190 pieces of taxiway.
   Flattened 13 helipads.
   Number of edges at this point: 8932
-> Dealing with roads
    * Downloading OSM data for way["highway"="motorway"]
    * Downloading OSM data for way["highway"="trunk"]
    * Downloading OSM data for way["highway"="primary"]
    * Downloading OSM data for way["highway"="secondary"]
    * Downloading OSM data for way["railway"="rail"]
    * Downloading OSM data for way["railway"="narrow_gauge"]
    * Checking which large roads need levelling.
    * Buffering banked road network as multipolygon.
      Encoding it.
   Number of edges at this point: 39051
-> Dealing with coastline
    * Downloading OSM data for way["natural"="coastline"]
    * Encoding coastline.
    * Reconstructing its topology.
      Found  2 contiguous patch(es).
   Number of edges at this point: 49688
-> Dealing with inland water
    * Downloading OSM data for rel["natural"="water"]
    * Downloading OSM data for rel["waterway"="riverbank"]
    * Downloading OSM data for way["natural"="water"]
    * Downloading OSM data for way["waterway"="riverbank"]
    * Downloading OSM data for way["waterway"="dock"]
    * Building water multipolygon.
      Cleaning it.
      Encoding it.
   Number of edges at this point: 304978
-> Inserting edges related to the orthophotos grid
-> Inserting additional boundary edges for gluing
-> Transcription to the files  /Volumes/home/Scenery/zOrtho4XP_+30-085/Data+30-085.poly and .node

Final number of constrained edges : 354448

Completed in 1m29sec.
_________________________________________________________________________________________________

Step 2 : Building mesh for tile +30-085 : 
--------

-> Modifying curv_tol weight map according to runway locations.
-> Start of the mesh algorithm Triangle4XP.
   Loading altitudes from DEM file.
   Loading curv_tol geographic weights.
   Computing curvatures from altitudes.
   Constructing Delaunay triangulation by divide-and-conquer method.
   Recovering segments in Delaunay triangulation.
   Spreading regional attributes.
   Adding Steiner points to enforce quality.
   Looking for bad triangles.
   Computing altitude and normal maps.
   Node file /Volumes/home/Scenery/zOrtho4XP_+30-085/Data+30-085.1.node written to disk.
   Tri file  /Volumes/home/Scenery/zOrtho4XP_+30-085/Data+30-085.1.ele  written to disk.

   Statistics:

   Input vertices: 331684
   Input segments: 354448
   Input holes: 0

   Mesh vertices: 2,631,176
                   -----------------
   Mesh triangles: ---> 5,253,571
                   -----------------
   Mesh edges: 7884746
   Mesh exterior boundary edges: 8779
   Mesh interior boundary edges: 2645161
   Mesh subsegments (constrained edges): 2653940

-> Loading of the mesh computed by Triangle4XP.
-> Post processing of altitudes according to vector data
   Smoothing inland water.
   Smoothing of sea water.
   Treatment of airports, roads and patches.
-> Writing output nodes file.
-> Writing final mesh to the file /Volumes/home/Scenery/zOrtho4XP_+30-085/Data+30-085.mesh

Completed in 1m9sec.
_________________________________________________________________________________________________

Step 2.5 : Building masks for tile +30-085 : 
--------

-> Deleting existing masks
-> Reading mesh data
-> Deleting existing masks
-> Reading mesh data
   *  /Volumes/home/Scenery/zOrtho4XP_+29-086/Data+29-086.mesh
   *  /Volumes/home/Scenery/zOrtho4XP_+29-085/Data+29-085.mesh
   *  /Volumes/home/Scenery/zOrtho4XP_+29-084/Data+29-084.mesh
   *  /Volumes/home/Scenery/zOrtho4XP_+30-086/Data+30-086.mesh
   *  /Volumes/home/Scenery/zOrtho4XP_+30-085/Data+30-085.mesh
   *  /Volumes/home/Scenery/zOrtho4XP_+30-084/Data+30-084.mesh
   *  /Volumes/home/Scenery/zOrtho4XP_+31-086/Data+31-086.mesh
   *  /Volumes/home/Scenery/zOrtho4XP_+31-085/Data+31-085.mesh
   *  /Volumes/home/Scenery/zOrtho4XP_+31-084/Data+31-084.mesh
-> Construction of the masks
   Created 6752_4336.png
   Created 6752_4368.png
   Created 6752_4352.png

Completed in 1m34sec.
_________________________________________________________________________________________________

Step 3 : Building DSF/Imagery for tile +30-085 : 
--------

-> Initializing providers with potential data on this tile.
-> Opening download queue.
-> Opening convert queue and 8 conversion workers.
-> Checking airport locations for upgraded zoomlevel.
-> Reading mesh file
-> Adapting water triangles to XP12 requirements
-> Computing bathymetry depth ratio bounds based on distance masks
-> Computing point pools and texture requirements

Ortho4XP.cfg

apt_smoothing_pix=24
road_level=1
road_banking_limit=0.5
lane_width=5.0
max_levelled_segs=100000
water_simplification=0.0
min_area=0.001
max_area=200.0
clean_bad_geometries=True
mesh_zl=19
curvature_tol=1.0
apt_curv_tol=0.5
apt_curv_ext=0.5
coast_curv_tol=1.0
coast_curv_ext=0.5
limit_tris=0.0
min_angle=10.0
sea_smoothing_mode=zero
water_smoothing=10
iterate=0
mask_zl=14
masks_width=100
masking_mode=sand
use_masks_for_inland=False
imprint_masks_to_dds=False
distance_masks_too=False
masks_use_DEM_too=False
masks_custom_extent=
cover_airports_with_highres=True
cover_extent=1.0
cover_zl=19
sea_texture_blur=0.0
water_tech=XP12
ratio_water=0.25
ratio_bathy=1.0
normal_map_strength=1.0
terrain_casts_shadows=True
overlay_lod=25000.0
use_decal_on_terrain=False
custom_dem=NED 1/3" (from USGS) - USA
fill_nodata=True
verbosity=1
cleaning_level=2
overpass_server_choice=DE
skip_downloads=False
skip_converts=False
max_convert_slots=8
check_tms_response=True
http_timeout=10.0
max_connect_retries=5
max_baddata_retries=5
ovl_exclude_pol=[0]
ovl_exclude_net=[]
custom_scenery_dir=/Users/user1/X-Plane 12/Custom Scenery
custom_overlay_src=/Users/user1/X-Plane 12/Global Scenery/X-Plane 12 Global Scenery
custom_overlay_src_alternate=/Users/user1/X-Plane 12/Global Scenery/X-Plane 12 Demo Areas

Ortho4XP_+30-085.cfg

apt_smoothing_pix=24
road_level=1
road_banking_limit=0.5
lane_width=5.0
max_levelled_segs=100000
water_simplification=0.0
min_area=0.001
max_area=200.0
clean_bad_geometries=True
mesh_zl=19
curvature_tol=1.0
apt_curv_tol=0.5
apt_curv_ext=0.5
coast_curv_tol=1.0
coast_curv_ext=0.5
limit_tris=0.0
min_angle=10.0
sea_smoothing_mode=zero
water_smoothing=10
iterate=0
mask_zl=14
masks_width=100
masking_mode=sand
use_masks_for_inland=False
imprint_masks_to_dds=False
distance_masks_too=False
masks_use_DEM_too=False
masks_custom_extent=
cover_airports_with_highres=True
cover_extent=1.0
cover_zl=19
water_tech=XP12
ratio_bathy=1.0
ratio_water=0.25
overlay_lod=25000.0
sea_texture_blur=0.0
normal_map_strength=1.0
terrain_casts_shadows=True
use_decal_on_terrain=False
custom_dem=NED 1/3" (from USGS) - USA
fill_nodata=True
default_website=BI
default_zl=17
zone_list=[]
shred86 commented 2 months ago

I just tried building the tile using my default settings and it's also getting stuck at the same place. I ran it in a debugging mode in VSCode and the only thing I can identify right now is it's getting at some point here. Unfortunately there's no output to the console on what's going on so this is going to require further troubleshooting. I'm a bit limited on time right now due to work but I'll try to look at this when I can (just not sure when I can get to it).