verse-prepare — the local compression step
A DCC export is sized for the DCC, not for delivery: a 4K texture on a door handle, the same chair exported forty times, buffers nothing references. On architectural exports that is where the 2–40 GB comes from.
verse-prepare rewrites a GLB so that **what travels is what a visitor can
ever see** — without changing what they see. It runs in three places:
| Where | How | Textures |
|---|---|---|
| Blender / Unreal / Unity plug-ins | automatically, between export and upload | colour maps compressed, everything else lossless |
| the ingest server | on every upload that arrives without the marker | lossless |
| your shell / CI | verse-prepare in.glb -o out.glb | your flags |
Files that went through it carry asset.extras.verse.prepared and go up
on the resumable upload (POST /v1/ingest/begin with "prepared": true;
the server verifies the marker at commit) up to the plan's upload limit:
100 MB on Free, 2 GB on Starter, 10 GB on Pro, 20 GB on Scale (the
server's ceiling). Plain files are accepted up to the same limit
(rawUploadMB) and the server prepares them itself.
What it does
- Right-sizes textures to the detail a visitor standing close can see
(
--texels-per-metre, default 2048), never upscaling. A texture shared by several surfaces keeps the detail the largest one needs. - Re-encodes opaque colour maps compactly; lightmaps, normals and
anything with transparency stay lossless (
--losslesskeeps everything lossless). Images that need no change pass through untouched. - Removes duplicates: identical images and meshes are stored once
(
--no-dedupeswitches it off). - Drops unused data.
Geometry is kept exactly as exported unless you opt in to --weld or
--simplify-error (below). The tool prints what it did to every image.
CLI
verse-prepare in.glb [-o out.glb] [--texels-per-metre 2048] [--max-dim 4096]
[--min-dim 256] [--lossless] [--jpeg-quality 92] [--no-dedupe]
[--keep-attributes] [--max-tris-per-m2 N]
[--weld [E]] [--simplify-error E]
[--json report.json|-] [--dry-run] [--quiet]- Output defaults to
in.prepared.glb. --keep-attributeskeeps vertex attributes the pass would otherwise drop (a TANGENT with no normal map, an all-white COLOR_n, a TEXCOORD_k no texture samples). Stripping is lossless; it is on by default.--max-tris-per-m2 N(off by default, lossy): primitives denser than N triangles per square metre of world surface are simplified to that density. Leave it off for product close-ups.--weld [E](off by default; moves vertices, lossless to the tolerance): merges duplicate vertices within E metres (--weldalone = 0.1 mm) while keeping seams and hard edges. Helps CAD and BIM exports that duplicate every vertex.--simplify-error E(off by default; lossy within E): simplification with an absolute positional error bound of E metres —0.001means no surface moves more than a millimetre, and neighbouring parts never crack.--dry-runmeasures and reports without writing — the estimate step.--decode-meshoptonly decodes meshopt-compressed files and writes the GLB.--json -prints the report to stdout: per-image before/after dimensions and bytes, the source texel density, the action taken (kept,resized,re-encoded,dropped,duplicate of N), dedupe counts, triangles, seconds.- stderr carries
progress: prepare images i/nlines (what the plug-ins show) and one line per image that changed. - Exit 0 on success, 2 on usage, 1 when the input is refused. Refused
inputs say why: Draco compression (export with compression
off — the server still accepts Draco for direct uploads), external
buffers (
.gltf+.bin; export a single.glb).
The input is memory-mapped: a 20 GB export is measured in place, and only the images and the surviving buffer views are copied.
Compile and publish from your machine (early access)
Verse Prepare can also compile a scene on your own computer and publish the result, for files larger than your plan's upload limit. Early access is open to named Pro and Scale customers first. Install, sign-in, CI use and troubleshooting are on Publish from your machine.
What happens to your data. When you compile locally, Verse never uploads your source file: only the compiled scene leaves your machine. Compiled scenes are used only to show them to the people you share them with, and never to train anything. Verse Prepare prints this the first time it runs and at every sign-in.
verse-prepare login # sign in through the browser, register this machine
verse-prepare doctor city.glb # will it fit? free memory and disk, said plainly
verse-prepare compile city.glb --out city-build [--resume]
verse-prepare push city-build --name "Harbour district"
verse-prepare publish house.glb # all of the above in one step
verse-prepare logout- Cloud first.
publishprepares the file here, then uploads it for Verse to compile when it is within your plan's upload limit. Larger files compile on this machine on Pro, Scale and Enterprise; on other plans Verse Prepare tells you which plan you need.--localand--cloudchoose explicitly. - Sign-in opens a page in your browser where you confirm a code. The sign-in
is kept in the system's credential store (Keychain on macOS, Credential
Manager on Windows, the Secret Service on Linux), or in
~/.config/verse/credentialsreadable only by you where no store is available. On CI machines, pass an account token in the environment instead (verse-prepare --helpnames the variable). - Machines. Each signed-in computer counts against your plan (3 on Pro, 10 on Scale). The Account page lists them and can remove one.
- Before a long compile,
doctorchecks you have about three times the source size in free disk, and 16 GB of memory for inputs under 5 GB (64 GB for city-scale inputs). - Interrupted?
compile --resumecontinues from the last finished stage, andpushresumes an upload from what the server already received. The upload prints its session id when it starts; if the build folder's state was lost,push <dir> --session <id>resumes from the server's record. - Every command takes
--json(one result object on stdout),--yes(no questions) and--help. Exit codes: 0 ok, 1 failed, 2 usage, 3 sign-in needed or refused, 4 machine too small, 5 refused by the server, 6 network. - Compiled scenes count against your workspace storage and show on the Account page.
Where to get the binary
Every plug-in download bundles it, so there is nothing to install for publishing from an editor:
| File | For |
|---|---|
verse-prepare-darwin-arm64 | Apple Silicon Macs |
verse-prepare-darwin-x64 | Intel Macs |
verse-prepare-windows-x64.exe | Windows |
verse-prepare-linux-x64 | Linux |
To run it yourself, use the copy inside an unzipped plug-in: Blender's
verse_publish/bin/, Unity's Tools~/ or Unreal's Resources/bin/.
All three plug-ins upload large files through the resumable begin/part/commit flow, so prepared files up to 20 GB work from every editor.
Each plug-in looks for the tool in this order: the path set in its
preferences, the bundled copy, then PATH.
In the plug-ins
The publish flow becomes export → prepare → upload → compile. The
prepare phase shows the tool's own progress (Preparing textures
120/400), then the result (Prepared 2 480 → 310 MB (212 textures
right-sized)). Preferences: Prepare before upload (on), the binary
path, Texels per metre (2048), Lossless textures (off).
Without the tool, exports upload as they are (resumably, up to the plan's raw upload limit) and the server prepares them; the plug-in logs the install hint.
Choosing texels per metre
| Setting | Means | Use |
|---|---|---|
| 1024 | 1:1 texels at ~1 m on 1080p | large exteriors, previews, bandwidth-first |
| 2048 | 1:1 at ~0.5 m | interiors, furniture, the default |
| 4096 | 1:1 at ~0.25 m | product close-ups, hero materials you walk right up to |
A higher setting only matters for sources that are actually that dense.