kubilus1 / autoortho

Orthophoto streaming for X-Plane 11
Apache License 2.0
209 stars 37 forks source link

macos and macos-prmerge are not creating DDS files... #493

Closed jimblair closed 8 months ago

jimblair commented 9 months ago

Describe the bug I built both the macos and macos-prmerge branches and in both cases, I was able to "generate the tiles"....however, in both cases, the tiles didn't include the dds texture files. X-Plane 12 fails to load with a flight location that is missing scenery texture dds files.

To Reproduce

  1. Build either the macos or macos-prmerge branches of autoortho on MacOS X, Sonoma 14.4, using gcc.
  2. Either let autoortho download the scenery files, or manually download the scenery zips from autoortho-scenery
  3. "Install" the North America or Europe tile sets
  4. Fix the Custom Scenery folder configuration that is built from the branches (the folders z_ao_na and z_ao_eur are embedded in the z_autoortho folder at the top of Custom Scenery and the two z_ao_xx folders need to be at the root of the Custom Scenery folder.

Expected behavior Chose any airport location that is within the North America or Europe base tiles created from autoortho and fly using the autoortho base tile set.

Screenshots The expected behaviour does not arise, and instead, x-plane issues the following warning, and then exits the x-plane application after the "understood" button is depressed...see graphic enclosed....

autoortho_loading_fail

(please complete the following information):

Additional context There are numerous issues that prevent the tiles from being created, and the autoortho processes required to download the autoortho-scenery image zips is extraordinarily slow, but if I manually download the scenery zips (0.0.54 z_ao_na and 0.0.51 z_ao_eur), the tiles do get "installed" by autoortho. When trying to run with the newly built tiles, I end up with the two issues above (the incorrect Custom Scenery folder structure for the z_ao_na and z_ao_eur tile sets and the missing dds textures)

I am willing to help with debugging the MacOS branches for the autoortho, because I believe it is a tremendous improvement on the Ortho tile approach, and orthographic tiles make the x-plane experience so much better than the vanilla scenery. However, I'm no expert on ortho technology so I'd need someone to help me walk-throught the tile data flow, so I can discover why the dds files are not created....(there is no log warning for the missing dds textures...)

jimblair commented 8 months ago

My error was in not understanding that requirement to have the autoortho setup app running in parallel to x-plane...I assumed it was just for configuration, and since there is very little discussion of the runtime setup, i missed this completely. This issue is thus closed.