# Published segment surfaces as surface-compressor (.sfc) files

Every tifxyz surface published under `<scroll>/segments/<segment>/mesh/` in the
`vesuvius-challenge-open-data` bucket, re-encoded with
[surface-compressor](https://github.com/SuperOptimizer/surface-compressor)
(container version 4, joint XYZ coding, maximum Euclidean error 0.1 voxel
in the target volume's full-resolution voxel units). Paths mirror the bucket
with `.tifxyz` replaced by `.sfc`; `meta.json` travels inside the container
as its metadata. 880 surfaces are listed in `manifest.json`.

* Open directly in [render3d](https://github.com/SuperOptimizer/render3d):
  `render3d --bricks <volume manifest> --multiview <name>.sfc`
* Restore the original tifxyz layout: `surface-compressor decode <name>.sfc <dir>`
  (or render3d's `surfconv decode`). Readers decode any 64x64 block on its own,
  so the C API (`sfc_read_xyz`, `sfc_cache_read_xyz_region`) serves partial
  regions without loading the whole surface.

Volumes for these surfaces are mirrored in the sibling `volcomp/` directory.
