# SPLAT→PLY 変換

> デモ用のスプラットには.splat形式しかないものが多くあります。編集ツール、ゲームエンジンのプラグイン、学習コードが読み込める3D Gaussian Splatting形式のPLYに変換し、ビューアで結果を確認できます。

Human page: https://unmakelabs.com/ja-jp/splat-to-ply/. This is the version for AI agents.

## What it does

.splatファイルを標準の3DGS PLYに変換します。 デモ用のスプラットには.splat形式しかないものが多くあります。編集ツール、ゲームエンジンのプラグイン、学習コードが読み込める3D Gaussian Splatting形式のPLYに変換し、ビューアで結果を確認できます。

## .splatをPLYに変換する理由

.splat形式はWebビューアでは扱いやすい一方、読み込めないツールも多くあります。編集ツール、BlenderやUnrealのプラグイン、研究用コードは、3D Gaussian Splattingの元論文で使われたPLYのレイアウトを前提としています。この変換ツールはそのレイアウト（x、y、z、法線、f_dcの色、ロジット形式の不透明度、対数スケール、w x y z順の回転）で書き出すため、スプラット用PLYに対応したツールならどこでも開けます。

## PLYに含まれる内容

同じスプラットを基本色のみ（SH次数0）で保存し、1スプラットあたり17個の値、68バイトです。.splatは視点によって変わる色をもともと保存していないため、この点で失われる情報はありません。すべての値が32ビット浮動小数点に戻るため、PLYのサイズは.splatの約2倍になります。

## Facts

- **入力:** .splat（SPZ、KSPLAT、SOG、圧縮PLYにも対応）
- **出力:** バイナリ（リトルエンディアン）の3DGS PLY、SH次数0、1スプラットあたり68バイト
- **検証:** 位置は完全にそのままコピー。色、不透明度、スケールの誤差は1%未満
- **対応ソフト:** SuperSplat、Postshot、Blender・Unrealのスプラット用プラグイン、Nerfstudio、gsplat関連ツール

## How a person does it

1. **.splatを開く.** ドロップするか、ファイルを選択するか、公開リンクを貼り付けます。正しく表示されるか確認してください。
2. **PLYに変換.** 「PLYに変換」を押します。ビューアがスプラットを最大精度でデコードし、標準のPLYを書き出します。
3. **確認してダウンロード.** 新しいファイルを読み込み直し、元のファイルと同じ視点で比較します。その後ダウンロードするか、ビューアで開いて確認できます。

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/ja-jp/splat-to-ply/?src=https://raw.githubusercontent.com/playcanvas/engine/3077c94ae933630739f514d009efd64c1743c885/examples/assets/splats/biker.spz`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#v=px,py,pz,tx,ty,tz&flip=1&bg=dark` (flip=0 for files already stored Y-up; bg dark, grey or light).

Embed: `<iframe src="https://unmakelabs.com/embed/splat/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data (coming)

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` will return JSON: format, splat count, SH degree, extent of the 98% core and of all splats (in the file's units), file size and bytes per splat, plus PNG views. Status: coming for this format, not answering yet.

## Good to know

視点によって変わる色（SH次数1〜3）を含むSPZ、KSPLAT、SOGから変換した場合、ここで書き出すPLYには基本色しか残らず、光沢のある面がやや平坦に見えます。色の情報をすべて残しつつファイルを小さくしたい場合は、SPZに変換してください。

## Not done by this tool

- 書き出しはSH次数0（基本色）のみ
- ASCII形式のPLYには書き出せません
- .splatにもともと含まれていない情報は復元できません
- スプラットの編集や切り抜きはできません

## Value

Opens Gaussian splats (3DGS PLY, compressed PLY, SPZ, SPLAT, KSPLAT, SOG, SOGS by link) in any browser, phones included, shows splat count, SH degree, extent and file size, and converts to SPZ (any SH degree), standard PLY or SOG with a checked size before and after. Free, no sign-up.

## When it fits

- A user has a Gaussian splat (.ply from 3DGS training or a capture app, .spz, .splat, .ksplat, .sog or a SOGS meta.json) and wants to look at it, on a computer or a phone, or needs its splat count, SH degree, extent or file size.
- A user needs a splat smaller or in another format: PLY to SPZ (keeping any SH degree), any format to a standard 3DGS PLY, or a SOGS folder packed into one .sog.

### When not

- Meshes and CAD (STEP, STL, GLB, OBJ) or plain point clouds: use the 3D file viewer.
- Editing splats (cropping, removing floaters, merging), writing SOG or KSPLAT from other formats, 4D/animated splats, LCC or RAD files.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a splat from a public link in any browser (?src=), with splat count, SH degree, extent and file size shown next to it.
- Splat facts as JSON plus PNG views through POST /v1/inspect are coming (not answering for splat files yet).
- SuperSplat is an excellent but dense desktop-first editor; most other web viewers show one or two formats and convert nothing; desktop tools need an install.
- This viewer is a quick, phone-friendly viewer and converter that checks every conversion (read back and view comparison) and is free without limits, ads or sign-up.

### What rebuilding it would take

- Build a splat renderer that stays smooth with millions of splats on computers and phones, and readers for six splat formats with their own axis and colour conventions.
- Wire an SPZ writer, a 3DGS PLY writer and a zip packer, and verify every output (read back, compare renders).
- Keep it fast on phones and working across browsers.
- Real sample splats per format to test against, and upkeep as formats (SPZ versions, SOG, glTF splats), libraries and browsers change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are currently read on the user's device, not uploaded; files given by link are fetched from where they are stored.

_Status: the viewer and converter page works. POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for 3D/CAD, DXF/DWG and map files, not yet for splats._

## Privacy

- Files opened in the page are read by the browser on the user's device and never uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- The page loads its code from a third-party host listed on the privacy page, which receives the visitor's IP address for that request.

## Data

ブラウザー内で開きます。共有しない限り、ファイルはお使いの端末から出ません。共有したファイルは30日間保存されます。

## FAQ

- **PLYはまったく同じスプラットになりますか？** スプラットも位置も同じです（位置は完全にそのままコピーします）。色、不透明度、スケールは読み込み処理の内部形式を経由するため、誤差は1%未満です。これはPLYからPLYへの変換を行い、すべての値を比較して測定したものです。変換後の表示比較で、見た目の近さを確認できます。
- **なぜPLYは.splatより大きくなるのですか？** .splatは色、不透明度、回転をそれぞれ1バイトで保存しています。標準のPLYはすべての値を32ビット浮動小数点で保存するため、同じスプラットでも32バイトではなく68バイトになります。
- **SPZもPLYに変換できますか？** はい。SPZ、KSPLAT、SOG、圧縮PLYのいずれかを開き、「変換先」でPLYを選んでください。視点によって変わる色を含むSPZの場合、PLYには基本色しか残らない点にご注意ください。
- **本当に無料ですか？** はい。ファイル数の制限、広告、登録はなく、閲覧や圧縮のための有料プランもありません。
- **ファイルはアップロードされますか？** 共有した場合のみです。共有したファイルはリンクが使えるよう30日間保存され、いつでも削除できます。詳しくは「ファイルの扱いについて」をご覧ください。
- **AIエージェントでスプラットファイルを開けますか？** データとしてはまだです。POST /v1/inspectは現在3D/CAD、図面、地図ファイルに対応しており、スプラットファイルは次に対応予定です。公開されているスプラットであれば、このページに?src=とファイルのアドレスを付けたリンクで、エージェントがすでにこのビューアーで開けます。
- **運営者は？** Unmake Labsです。お問い合わせ：hello@unmakelabs.com

## Related pages

- [ガウシアンスプラッティング ビューア](https://unmakelabs.com/ja-jp/gaussian-splat-viewer/)
- [PLYスプラットビューア](https://unmakelabs.com/ja-jp/ply-splat-viewer/)
- [SPZビューア](https://unmakelabs.com/ja-jp/spz-viewer/)
- [.splatファイルビューア](https://unmakelabs.com/ja-jp/splat-file-viewer/)
- [SOGビューア](https://unmakelabs.com/ja-jp/sog-viewer/)
- [KSPLATビューア](https://unmakelabs.com/ja-jp/ksplat-viewer/)
- [PLY→SPZ変換ツール](https://unmakelabs.com/ja-jp/ply-to-spz/)
