Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Source layout under `src/OrthoStreamXP/`. Sub-folders are for navigation only: *
- `Textures/` — imagery to DDS: `TextureBuilder` (fetch → stitch → resize → sharpen → mipmaps → BC1 encode → atomic write; SkiaSharp is decode-only), `TextureQuality`, `Images`, `Sharpening` (unsharp mask on brightness, not a setting: 100 % for the areas' textures below ZL18, 60 % for the airports' ZL18 and finer) at the root; `Tiles/` (`TileSource`/`TileStore`: download + cache; the low-zoom base is zoom 13 and coarser because Bing's zoom 12 is other, lighter imagery; a tile every provider definitively lacks throws `TileNotAvailableException`, and `TextureBuilder` then makes it from a parent at hand, never coarser than 13), `Dds/` (`Dds` layout/encode/decode; mip levels by `MipFilter` = 2x2 averages in linear light; BC1 by `IspcBc1` = Intel's ISPC `ispc_texcomp.dll` from `native/ispc_texcomp/` (checked in, rebuilt by its `build.ps1`), loaded from the exe's folder, with one-colour blocks and four-colour mode fixed after it and every other block's colours refined by least squares (`Bc1Refinement`); `Dds.EncodeRangeFit` is the fallback without the DLL), `Scheduling/` (priority gates), `Seasons/` (`SeasonModel` calendar, `ObservedSeason` + `GreennessYear`: grass and fields by a place's yearly NDVI against its greenest month, trees by the calendar), `Vegetation/` (`VegetationSource`: NASA GIBS monthly VIIRS NDVI, downloaded and kept under the low-zoom base; `VegetationTile`, `NdviPalette`), `Colour/` (`Exposure`, `Contrast` (fixed 60 % S-curve, always on, not a setting), `ColourTable` = the shared BC1 lookup-table recolouring, `PhotoColours` = season → contrast → exposure as one table (rounded to 565 once) applied as X-Plane reads, also used by the Settings preview).
- `Setup/` — `Settings/` (`SettingsDocument`, ini under `%LOCALAPPDATA%\OrthoStreamXP`, `QualityPreset`, `ConnectionTest`), `Cache/` (inventory, areas, eviction), `Packages/` (downloads AutoOrtho's mesh regions from GitHub into the packages folder as `OrthoStream_*` packages: `MeshCatalog`, `AssetDownload`, `ZipUnpacker`, `OverlayPackage`, `RegionInstaller`; the tiles AutoOrtho lacks come from `flysimdev/orthostreamxp-scenery`'s latest-release `supplements.json` (`SupplementCatalog`, `RegionSupplement`) and are merged into their region without replacing any file, at install or, for regions installed before, by `Gui/Packages/SupplementUpdater` at each window start), `Airports/` (the Airports page's flattening, one airport at a time: `AptDatReader` lists the airports of an apt.dat, `AirportSources` + `AirportCatalog` pick each ident from the highest enabled package in scenery_packs.ini (`*GLOBAL_AIRPORTS*` = Global Scenery\Global Airports), `FlattenedAirports` keeps a copy of each flattened airport with `1302 flatten 1` in its own `Custom Scenery\OrthoStreamXP Flattened Airports` package listed above the airport's source; the source files are never changed, Undo removes the copy and the last one removes the package), `Installation/` (`AppPaths`, `AppUpdates`, `LegacyNames` migrating older settings/cache locations, `SystemCheck`, Velopack hooks).
- `Tuning/` — flight reports, facts and the preset/setting recommendations.
- Packages page — two tabs: "Build own packages" (`BuildSceneryView`, first and open at the start) and "Download kubilus1 packages" (`PackagesViewModel`, AutoOrtho's mesh regions), held by `Gui/ViewModels/PackagesPageViewModel`. The Build tab makes photo-terrain packages made from X-Plane's own Global Scenery, named `OrthoGlobal_<Continent>_XP` and `OrthoGlobal_Overlays_XP` unlike the downloaded `OrthoStream_*` regions (`GlobalScenery` reads `X-Plane 12 Global Scenery` and `X-Plane 12 Demo Areas`, a tile in both from the former) by OrthoGlobalXP's engine, `lib/OrthoGlobalXP.Core/OrthoGlobalXP.Core.dll` (compiled and checked in by its `build.ps1` from the sibling OrthoGlobalXP repo; needs the `SharpCompress` package at the engine's version). `Gui/ViewModels/BuildSceneryViewModel` drives `PackageBuilder`; the map is `Gui/Map/TileMapView` (Web Mercator over OpenStreetMap, `StreetMapTiles` cached in `%LOCALAPPDATA%\OrthoStreamXP\osm`) with `TileMapModel`; `Gui/Building/RegionSearch` picks by region or country; how tiles are made is fixed, not a choice (ZL16, ZL18 within 2 km of runways, roads kept, DSFs packed, no .ter files, up-to-date tiles skipped: `SceneryBuildPreferences.ToPackageOptions`); the page's choices (target folder, map layers, picked tiles) are `Setup/Building/SceneryBuildPreferences`, kept in `scenery-build.json`.
- Logs go to `%LOCALAPPDATA%\OrthoStreamXP\logs`.


Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ OrthoStreamXP will always be free. If it has given you a flight worth rememberin
Traditional photo scenery often requires downloading and building large areas before you can use them. OrthoStreamXP takes a different approach.

- **Scenery on demand** — download imagery as X-Plane needs it, instead of preparing entire regions in advance.
- **Scenery packages for anywhere** — pick the areas you fly on a map, and OrthoStreamXP builds their packages from X-Plane's own Global Scenery in seconds per tile, with no mesh to download.
- **Less disk space wasted** — keep the areas you fly and automatically remove older scenery when your cache reaches its limit.
- **Better scenery ahead** — OrthoStreamXP follows your aircraft and downloads upcoming areas before you reach them.
- **Simple quality settings** — choose Balanced, Sharp, Ultra, or Extra without learning dozens of technical parameters.
Expand All @@ -33,7 +34,7 @@ Traditional photo scenery often requires downloading and building large areas be
- **Towns lit at night** — optionally give the photo scenery street lamps and the light of the houses along X-Plane's roads, so towns glow after dark as on X-Plane's own scenery. You can also skip the detailed photos at night to save downloads, keeping the lights.
- **Exposure and a live preview** — tone down photos that look too bright next to X-Plane's own scenery, and see any colour change on a photo from your cache before you fly.
- **See what happened during your flight** — review download performance, scenery loading, and your flight route.
- **Your scenery list, without Notepad** — switch X-Plane's scenery packages on or off and drag them into order on the X-Plane Custom Scenery page, and leave any of your photo scenery packages out of a flight with one switch on the Home page.
- **Your scenery list, without Notepad** — switch X-Plane's scenery packages on or off and drag them into order on the X-Plane Custom Scenery page (with a search box for long lists), and leave any of your photo scenery packages out of a flight with one switch on the Home page.
- **Level airports** — an airport that sits on a bump or in a hollow of the photo scenery's ground can be flattened on the Airports page, one at a time, without changing the airport's own files. Undo puts it back.

### Designed for everyday flying
Expand All @@ -53,17 +54,18 @@ Before installing OrthoStreamXP, make sure you have:
- **Windows 10 or 11 (64-bit)**
- **X-Plane 12**
- **WinFsp**, a free Windows component used to make the streamed scenery available to X-Plane. The setup process checks for it and provides a download link.
- **Scenery packages** for the regions you want to fly over: a region's mesh downloaded from within OrthoStreamXP, or your own.
- **Scenery packages** for the regions you want to fly over: built in OrthoStreamXP from X-Plane's own Global Scenery, a region's mesh downloaded from within OrthoStreamXP, or your own.
- **An internet connection** for downloading new scenery.
- **Disk space for the scenery cache** — 25 GB is a reasonable starting point; more space lets you keep more areas available.
- A graphics card with enough memory for your chosen quality preset.

The installer also installs the .NET 10 desktop runtime if it is missing.

**Important:** OrthoStreamXP streams imagery onto scenery packages; it does not create terrain meshes itself. There are two ways to get them:
**Important:** OrthoStreamXP streams imagery onto scenery packages. There are three ways to get them:

1. **Download a region from within OrthoStreamXP:** a whole region's mesh (Europe, North America, ...), during setup or later from the **Packages** page. The few tiles AutoOrtho's collection lacks (around Portland, Oregon, and in Tonga) are added to their region from [OrthoStreamXP's own collection](https://github.com/flysimdev/orthostreamxp-scenery).
2. **Use your own packages:** compatible packages can come from tools such as Ortho4XP, OrthoStudio XP, AutoOrtho, and XPME. You can select an existing package folder during setup.
1. **Build your own from X-Plane's Global Scenery:** pick the areas you fly on a map, during setup or later on the **Packages** page, and OrthoStreamXP makes their packages on your PC in a few seconds per tile, keeping X-Plane's relief, water, roads, forests and buildings. Nothing to download but the photos.
2. **Download a region from within OrthoStreamXP:** a whole region's mesh (Europe, North America, ...) from the **Packages** page. The few tiles AutoOrtho's collection lacks (around Portland, Oregon, and in Tonga) are added to their region from [OrthoStreamXP's own collection](https://github.com/flysimdev/orthostreamxp-scenery).
3. **Use your own packages:** compatible packages can come from tools such as Ortho4XP, OrthoStudio XP, AutoOrtho, and XPME. You can select an existing package folder during setup.

## Installation

Expand Down Expand Up @@ -128,7 +130,7 @@ Choose **Satellite** as the season to colour the grass and fields by NASA's sate
OrthoStreamXP is currently in beta. Please keep the following in mind:

- **Windows only:** the application depends on WinFsp.
- **Scenery packages are required:** download a region's mesh (6 to 33 GB per region) from the Packages page, or bring your own.
- **Scenery packages are required:** build them from X-Plane's Global Scenery on the Packages page, download a region's mesh (6 to 33 GB per region) there, or bring your own.
- **Internet required for new areas:** scenery loads from the internet on first use; subsequent flights can reuse cached imagery.
- **Imagery varies by location:** quality, capture date, colours, and transitions between imagery sources may differ.
- **Performance depends on your setup:** connection speed, disk performance, and graphics memory affect the experience.
Expand Down
Binary file modified docs/OrthoStreamXP-UserGuide.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ OrthoStreamXP adds real-world aerial photos to your X-Plane 12 scenery while you
3. [Flying](flying.md): the start order, the Home page, and the report you get after each flight.
4. [Settings](settings.md): quality and ground detail, folders, downloads, colours, seasons and exposure, night lights and photos at night.
5. [Cache](cache.md): how much disk space the scenery uses and how to free it.
6. [Packages](packages.md): downloading the ground mesh of a whole region, the quickest way to get scenery packages.
6. [Packages](packages.md): building scenery packages from X-Plane's own Global Scenery, or downloading the ground mesh of a whole region.
7. [X-Plane Custom Scenery](custom-scenery.md): switching X-Plane's scenery packages on or off and changing their order.
8. [Airports](airports.md): levelling the ground under an airport that sits on a bump or in a hollow, and undoing it.
9. [Troubleshooting](troubleshooting.md): common problems, the log, updates, uninstalling and reporting a bug.
Expand All @@ -20,7 +20,7 @@ OrthoStreamXP adds real-world aerial photos to your X-Plane 12 scenery while you
## The short version

1. Install [WinFsp](https://winfsp.dev/rel/), then OrthoStreamXP, then restart your computer.
2. Open OrthoStreamXP and finish the setup: X-Plane folder, scenery packages (download a region there, or choose the folder of your own), cache folder, quality.
2. Open OrthoStreamXP and finish the setup: X-Plane folder, scenery packages (build your own there from X-Plane's Global Scenery, or choose the folder of your own), cache folder, quality.
3. Every time you fly, click **Start and fly** in OrthoStreamXP. It starts the scenery first and then X-Plane.
4. Load a flight. A new area takes a few minutes the first time; after that it comes from the cache.

Expand Down
6 changes: 3 additions & 3 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ It is free and open source, and it goes up to imagery zoom level 19 (the **Extra

### Does it make the terrain (the mesh) too?

No, OrthoStreamXP does not make the mesh: it provides the photos. The mesh, the water masks and the coastlines come from scenery packages. Download a whole region's mesh in OrthoStreamXP itself (see [Packages](packages.md)), or use packages you already have, made by Ortho4XP, OrthoStudio XP, AutoOrtho or XPME. See [Installation › What you need](installation.md#what-you-need).
It can. The mesh, the water masks and the coastlines come from scenery packages, and OrthoStreamXP can build them for you from X-Plane's own Global Scenery: pick the areas on the **Packages** page's **Build own packages** tab (see [Packages › Build own packages](packages.md#build-own-packages)). You can also download a whole region's mesh there, or use packages you already have, made by Ortho4XP, OrthoStudio XP, AutoOrtho or XPME. See [Installation › What you need](installation.md#what-you-need).

### Why can't it use the mesh from X-Plane's default scenery?
### Can it use the mesh from X-Plane's default scenery?

Each scenery file (`.dsf`) says exactly which photo texture goes on which part of the ground. X-Plane's default scenery uses generic land textures, not photos, so there is nothing for OrthoStreamXP to put the photos on. Packages made by Ortho4XP and the tools based on it have that layout, so OrthoStreamXP can fill in their photos.
Yes, through the packages it builds. Each scenery file (`.dsf`) says exactly which texture goes on which part of the ground, and X-Plane's default scenery uses generic land textures, not photos, so OrthoStreamXP cannot stream onto it as it is. **Build own packages** makes a copy of each tile you pick, with X-Plane's own relief, water and coastlines, whose ground uses photo textures instead. X-Plane's Global Scenery itself is only read, never changed.

### What is the difference from AutoOrtho or XPME?

Expand Down
12 changes: 6 additions & 6 deletions docs/first-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ If yours is not listed, click **Choose another folder…** and choose the folder

## 3. Scenery

OrthoStreamXP adds the photos to **scenery packages**: the ground of an area, the shape of the terrain cut in 1° squares. There are two ways to get them.
OrthoStreamXP adds the photos to **scenery packages**: the ground of an area, the shape of the terrain cut in 1° squares. There are two ways to get them here.

### Option 1: download a region in OrthoStreamXP
### Option 1: build your own packages

The simplest way, if you have no scenery packages yet. Under **No scenery packages yet?**, click **Download a region…**. If you already chose a folder without packages, the hint turns red and **Download a region now** opens the same list.
The simplest way, if you have no scenery packages yet. OrthoStreamXP makes them from X-Plane's own Global Scenery, here on your PC. Under **No scenery packages yet?**, click **Build your own packages…**. If you already chose a folder without packages, the hint turns red and says *No packages yet? Build your own below.*

![Setup step 3: a folder without scenery packages](images/setup-scenery-empty.png)

The list of regions opens: click **Install** next to the region you fly in. The progress shows under it, and you can stop and resume the download. When it finishes, the region's folder is chosen as your scenery packages folder and **Next** becomes available.
A map of the world opens, the same as on the **Packages** page's **Build own packages** tab. Pick the areas you fly, by name under **Pick by region or country** or by clicking tiles on the map, and click **Build the picked tiles**. Each tile takes a few seconds. When the build ends, the folder the packages were built in is chosen as your scenery packages folder and **Next** becomes available. **Stream from here** chooses it straight away.

![Setup step 3: the regions to download](images/setup-scenery-download.png)
![Setup step 3: building your own packages](images/setup-scenery-build.png)

See [Packages](packages.md) for the sizes, the roads, forests and buildings, and how to update or delete a region later. You can download more regions at any time on the **Packages** page.
See [Packages › Build own packages](packages.md#build-own-packages) for picking the tiles, the packages' names and building more later. To download a whole region's mesh instead, finish the setup with the folder you want for it, and use the **Packages** page's **Download kubilus1 packages** tab (see [Packages › Download kubilus1 packages](packages.md#download-kubilus1-packages)).

### Option 2: use your own scenery packages

Expand Down
Binary file added docs/images/packages-build.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/packages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/setup-scenery-build.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/setup-scenery-download.png
Binary file not shown.
Binary file modified docs/images/setup-scenery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@

- **Windows 10 or 11 (64-bit).**
- **X-Plane 12.**
- **Scenery packages** for the regions you fly: the terrain (the mesh) that OrthoStreamXP adds the photos to. Two ways to get them:
1. **Download a region in OrthoStreamXP**, during the setup or later on the **Packages** page (Europe, North America...). Nothing to prepare beforehand; see [Packages](packages.md).
2. **Use your own.** Packages made by Ortho4XP, OrthoStudio XP, AutoOrtho or XPME work. Each package is a folder that contains an `Earth nav data` folder. Put all of them in **one parent folder**, for example:
- **Scenery packages** for the regions you fly: the terrain (the mesh) that OrthoStreamXP adds the photos to. Three ways to get them:
1. **Build your own in OrthoStreamXP** from X-Plane's Global Scenery, during the setup or later on the **Packages** page: pick the areas on a map, and each tile is built in a few seconds. See [Packages › Build own packages](packages.md#build-own-packages).
2. **Download a region in OrthoStreamXP** on the **Packages** page (Europe, North America...); see [Packages › Download kubilus1 packages](packages.md#download-kubilus1-packages).
3. **Use your own.** Packages made by Ortho4XP, OrthoStudio XP, AutoOrtho or XPME work. Each package is a folder that contains an `Earth nav data` folder. Put all of them in **one parent folder**, for example:

```
D:\OrthoPackages\
Expand Down
Loading
Loading