SH4 Converter, made by MICROscanR
=================================

Turns a Gaussian splat PLY with spherical harmonics of DEGREE 4 (SH4) into a compressed
.sog file that keeps all four bands. The SH4 pyrite on www.microscanr.com was made with it:
75 MB instead of 1.7 GB. It also converts PLY files of degree 0 to 3.

START
  1. Unpack the whole zip to a folder of your choice.
  2. Double-click "SH4 Converter.exe".
  3. PLY file: Browse... to the PLY from your training.
     Save as: the .sog file to write (proposed next to the PLY; Browse... to change it).
  4. Press Convert. The bar shows how far it is; a message tells you when it is done.

  Open the .sog file in the SH4 Viewer (download on www.microscanr.com). The standard SOG
  format stops at degree 3, so other viewers may not show an SH4 SOG file.

TIME AND MEMORY
  9 minutes for 5 million splats on a 32-thread workstation, longer on a laptop; about
  4 GB of free memory. The palette of the harmonics takes most of the time.

WHAT IT KEEPS
  Positions, sizes, rotations, colour and opacity as in every SOG file, and the 72
  harmonic values of every splat through a palette of 65,536 entries. That palette is
  where the compression costs some detail: the raw PLY stays a little crisper.

WINDOWS SMARTSCREEN
  The program is not signed yet, so Windows may say "Windows protected your PC".
  Click "More info", then "Run anyway".

LICENCE
  Creative Commons Attribution 4.0 International (CC BY 4.0),
  https://creativecommons.org/licenses/by/4.0/
  Made by MICROscanR, www.microscanr.com. The SOG format is PlayCanvas's (MIT licence).
  Contains Python, numpy and Pillow; their licences are in the _internal folder.
