3DFlyThrough free trial - 7 days
=================================

What the trial includes
- 7 days of full use from the moment you start the trial (not from the download), with up to 2
  image pairs ("scenes"). A pair is one starless image together with its stars-only image. You can adjust,
  preview and export your pairs as often as you like until the trial ends. Full quality, no watermark, no payment
  card. The program shows the exact end time and how many pairs you have used.
- The trial needs an internet connection while you use it and a verified email address: 3DFlyThrough emails you
  a one-time code.
- Windows 10 or 11 (64-bit). Unpack the zip to a short folder such as C:\3DFlyThrough or your Desktop - very long
  folder paths can stop the program from starting.
- One trial per person and computer. Your images never leave your computer; only image fingerprints, a
  protected computer identifier and trial information are sent to check the trial.

Starting
- Start 3DFlyThrough.exe and choose "Start free trial", enter your email address, then the code from the email.
- Before a new image pair is analysed, 3DFlyThrough asks whether to use one of your trial scenes for it.

When the trial ends
- New analysis, previews and exports stop. Videos you exported stay yours. Your settings are kept and can be saved.
- A render that was already running when the trial ended is finished.
- To keep using 3DFlyThrough, purchase it and choose "Enter license key" - no reinstall needed.
- Command-line rendering (3DFlyThrough-cli.exe --render) needs a purchased license.


3DFlyThrough 1.0 - 3D fly-through videos from astrophotos
=========================================================

3DFlyThrough turns a starless image and its matching stars-only image into a video in which the camera pushes into
the nebula while the stars, placed at reproducible depths, move with true perspective and fly past the viewer.
Your images are only read, never modified.


Requirements
------------
- Windows 10 or 11, 64-bit.
- A graphics card with OpenGL 3.3 (any NVIDIA, AMD or Intel GPU from the last ~10 years) for the fastest previews
  and renders. 3DFlyThrough also renders on the CPU (Export > Rendering > Renderer): same result, slower.
- Memory: about 1.5 GB plus 4x the size of your images (a 30-megapixel pair needs ~3 GB).


Getting started
---------------
1. Unzip the folder anywhere (e.g. Documents\3DFlyThrough-1.0.0) and start 3DFlyThrough.exe.
   Keep the folder together: the program needs the _internal folder next to it.
   On the first start 3DFlyThrough asks for your license key (see "Activation" below); then a short welcome
   guide explains the workflow (Help > Welcome guide reopens it).
2. Prepare two images of the same size, from the same star separation:
     - the starless image (nebula without stars), stretched (non-linear);
     - the stars-only image (stars on a black background), stretched the same way.
   Supported files: TIFF (8/16/32-bit), PNG, JPEG, FITS, XISF.
   Tip: drop both files on the window. Names containing "starless" / "stars" are assigned automatically.
3. The images are analyzed automatically (stars found and cut out, background prepared; ~5-15 s).
4. Framing view, with the mouse:
     - Click: the point the camera flies to (yellow).
     - Drag a rectangle: the final view (orange).
     - Shift+drag a rectangle: the first frame (green).
     - Ctrl+click: move the first frame to that point.
   By default the first frame shows the whole image and the video has the image's shape.
5. Press "Frame preview" and drag the time slider, or "Play preview" to watch the animation.
6. Adjust Motion and Stars & depth, and tick the Effects you want (all effects start off). Hover over any
   setting to see what it does and what happens when you raise or lower it. The small X beside a setting puts
   just that setting back to its default (it is greyed out while the setting is at its default).
7. Export tab: choose the output folder and format, then "Render video".

The first start takes a little longer while the processing kernels are prepared (cached afterwards).


Activation
----------
- 3DFlyThrough can only be used on an activated computer. At the first start, enter the license key from your
  purchase receipt email and click Activate ("Quit" closes the program). "Purchase 3DFlyThrough" opens the
  purchase page. Activation needs an internet connection; only the license key and this computer's name are sent,
  never your images.
- Your license can be active on a limited number of computers at the same time. To move it to a new computer,
  open Help > License on the old one and click "Deactivate this computer" (needs an internet connection).
- 3DFlyThrough checks the license online when it starts and every few hours. Without internet it keeps working
  for up to 30 days after the last successful check. A render that is running is never stopped by a check, and
  your settings are kept.
- Help > License shows the license status, the key (masked), the expiry date and the activations in use.
- If the license stops working (for example after 30 days without internet), 3DFlyThrough asks you to check
  again or to activate; a render that is running finishes first, and your settings are saved.


Useful settings
---------------
- Motion > Resolution: the size of the exported video. "Match image shape - long edge 1920 / 2560 / 3840 px" keeps
  your image's shape; the number is the length of the longer side (Full HD, QHD, 4K class). The preview does not
  change with it: it is always scaled to fit the window.
- Motion > Speed profile / Speed curve: how the zoom speed changes during the shot. -100 = fast arrival that settles,
  0 = constant zoom rate, +100 = constant flight speed (speeds up towards the end); any value in between.
- Stars & depth: every star gets its own depth automatically and moves on its own. Star growth = how much
  approaching stars swell; Near brightening = how much they light up. "Show advanced depth settings" reveals the
  fine controls: Stars spread in depth = the share of stars that fly past the camera (the others form a deep
  background band that stays with you to the end); Background star motion = how much that band moves in front
  of the nebula (0 = glued to it); nearest star distance, brightness bias, max growth.
- Stars & depth > Star depth order: which stars the camera reaches first. Random (the default) mixes all sizes.
  By star size puts the smallest (or the largest) stars nearest, so they fly past first and the other sizes follow
  in order. Custom size groups splits the stars into small, medium and large by apparent size and lets you pick
  the order of the groups. "Size" means how large a star looks in your stars image (its spread of light), not how
  bright it is. The chart shows how the sizes are spread along the flight; stars right of the yellow line stay in
  the background band and are approached but not passed. The same settings always give the same result. A star
  directly on the flight line is moved back a little so the camera does not fly through it, even if that breaks the
  order for that one star. Settings saved by earlier test builds with extra fine-tuning options keep those values
  ("Legacy custom settings restored"); "Use simple defaults" removes them.
- Effects > Motion blur: smears whatever moves during each frame. The blur is as long as the motion: a gentle,
  slow flight shows a little, a short or deep flight (or camera roll) shows a lot.
- Effects > Motion trails: fast-moving stars leave thin light streaks in their own colour. Length (s) = how far
  back in time a streak reaches; Fade-out (s) = how long a streak takes to fade away smoothly once its star slows
  down, leaves the picture or passes the camera. Trails look the same in the preview and in the exported video.
- Preview (top of the preview): Automatic adapts the preview resolution to the window and to the speed of the
  computer, so scrubbing and playback stay smooth. Fast = half resolution, Best = always full resolution.
- Bigger preview: drag the divider between the settings and the preview to the left, or the divider above the
  information panel downwards. "Expand preview" (top right of the preview) hides the information panel; "Restore
  layout" brings it back as it was. This only changes the display - framing, zoom and the video stay the same. The
  divider positions are remembered for the next start.


Laptops with two graphics chips
-------------------------------
Windows decides which graphics chip a program uses when it starts. 3DFlyThrough asks Windows for the
high-performance chip (NVIDIA / AMD); you can change this in Export > Rendering > Graphics chip (restart needed).
The chip in use is shown under Export > Rendering. If it still shows the integrated graphics: Windows Settings >
System > Display > Graphics > add 3DFlyThrough.exe > High performance, then restart 3DFlyThrough.


Formats
-------
- MP4 H.264: plays everywhere. MP4 HEVC 10-bit: smaller, smoother gradients (modern players).
  MOV ProRes 422 HQ: editing master for video editing software.
- Quality levels, or a target file size / bitrate.
- H.264 / HEVC use the NVIDIA video encoder automatically when it is available and supports the video size (much
  faster at 4K), otherwise the normal encoder - nothing to set.
- Optional frame files: PNG 8/16-bit, TIFF 16-bit, TIFF 32-bit float.
- "Save full-res frame..." writes the current frame at the export resolution (PNG/TIFF 16-bit, TIFF 32-bit float).


Settings
--------
- Settings are remembered between sessions. "Save settings..." stores your favourite look in a .ft3d.json file;
  "Load settings..." brings it back (also for other images). "Reset" returns to the defaults.
- The same images and settings always give the same video.
- No stars are invented or copied: every star in the video is one of your photographed stars, made of its own
  pixels.


Command line (batch rendering)
------------------------------
3DFlyThrough-cli.exe --render --starless nebula.tif --stars stars.tif --output C:\Videos\M42.mp4
3DFlyThrough-cli.exe --render --starless a.fits --stars b.fits --settings my.ft3d.json --set duration=20
3DFlyThrough-cli.exe --selftest          (checks codecs, renderers and ffmpeg; useful when reporting a problem)
3DFlyThrough-cli.exe --help


Troubleshooting
---------------
- "GPU renderer not available": update the graphics driver; 3DFlyThrough uses the CPU renderer meanwhile.
- Very dark video: the images are probably still linear. Stretch both images first.
- Stars at the wrong place / doubled: the two images do not come from the same star separation or were cropped
  differently. 3DFlyThrough never shifts or resizes your inputs.
- "Could not reach the license verification service": check the internet connection, firewall or proxy. An activated computer
  keeps working offline for up to 30 days.
- "already active on ... computers": deactivate the license on a computer you no longer use (Help > License).
- The command line (3DFlyThrough-cli.exe --render) uses the activation made in the program window.
- Run 3DFlyThrough-cli.exe --selftest and look at the Log tab in the program for details.
- Settings and logs: %APPDATA%\3DFlyThrough.
- Kernel cache: %LOCALAPPDATA%\3DFlyThrough (safe to delete).


Version 1.0
-----------
First release.
