|
1 | | -# OpenFitterUnityUI |
| 1 | +# OpenFitterUnityUI |
| 2 | + |
| 3 | +[日本語](#japanese) | [English](#english) |
| 4 | + |
| 5 | +<a name="japanese"></a> |
| 6 | + |
| 7 | +## 概要 |
| 8 | + |
| 9 | +OpenFitterUnityUIは、3Dアバターモデルへの衣装の自動フィッティングを行うオープンソースのUnity Editorツールです。VRChatアバタークリエイターやアバター改変者が、異なる体型間で衣装を転送するための合理化されたワークフローを提供します。 |
| 10 | + |
| 11 | +Nine GatesのGPL-3ライセンスコンポーネントを基に構築されたOpenFitterUnityUIは、RBF(放射基底関数)変形とボーンポーズ転送を使用した複雑な衣装フィッティングプロセスを自動化する、使いやすいUnity Editorインターフェースを提供します。 |
| 12 | + |
| 13 | +## 機能 |
| 14 | + |
| 15 | +- **自動衣装フィッティング**: 異なる体型のアバター間で衣装を転送 |
| 16 | +- **Unity Editor統合**: Unity内で直接動作する直感的なウィザードベースのインターフェース |
| 17 | +- **自動環境セットアップ**: Blender、Python依存関係、必要なアドオンを自動的にダウンロード・設定 |
| 18 | +- **ブレンドシェイプ管理**: フィッティングプロセス中にカスタムブレンドシェイプを設定・保持 |
| 19 | +- **進捗トラッキング**: フィッティング操作中のリアルタイム進捗監視 |
| 20 | +- **データフォーマット互換性**: MochiFitterのデータフォーマットに対応 |
| 21 | + |
| 22 | +## 必要要件 |
| 23 | + |
| 24 | +- Unity 2022.3以降 |
| 25 | +- Windows OS(Blender自動化のため) |
| 26 | +- インターネット接続(初期セットアップとダウンロードのため) |
| 27 | +- 約2GBの空きディスク容量(Blenderと依存関係のため) |
| 28 | + |
| 29 | +## インストール |
| 30 | + |
| 31 | +### 方法1: Unityパッケージ(推奨) |
| 32 | + |
| 33 | +1. [GitHubリリース](https://github.com/Mushus/OpenFitterUnityUI/releases)から最新の`OpenFitterUnityUI.unitypackage`をダウンロード |
| 34 | +2. `Assets > Import Package > Custom Package`からUnityプロジェクトにパッケージをインポート |
| 35 | +3. `Tools > OpenFitter`にOpenFitterUnityUIメニューが表示されます |
| 36 | + |
| 37 | +### 方法2: 手動インストール |
| 38 | + |
| 39 | +1. このリポジトリをクローンまたはダウンロード |
| 40 | +2. `Assets/OpenFitter`フォルダをUnityプロジェクトの`Assets`フォルダにコピー |
| 41 | +3. Unityが自動的にエディタースクリプトをコンパイルします |
| 42 | + |
| 43 | +## クイックスタート |
| 44 | + |
| 45 | +1. Unity内で`Tools > OpenFitter`からOpenFitterウィンドウを開く |
| 46 | +2. セットアップウィザードに従います: |
| 47 | + - **環境セットアップ**: 「すべてインストール」をクリックして、Blenderと依存関係を自動的にセットアップ |
| 48 | + - **ソース選択**: ソースアバター(衣装を持つアバター)を選択 |
| 49 | + - **ターゲット選択**: ターゲットアバター(衣装を受け取るアバター)を選択 |
| 50 | + - **ブレンドシェイプ設定**: (オプション)保持するブレンドシェイプを設定 |
| 51 | + - **実行**: フィッティングプロセスを実行 |
| 52 | +3. プロセスが完了するまで待ち、出力を確認 |
| 53 | + |
| 54 | +詳細な手順については、[使い方ガイド](./docs/usage.md)を参照してください。 |
| 55 | + |
| 56 | +## ドキュメント |
| 57 | + |
| 58 | +詳細なドキュメントは[docsディレクトリ](./docs/)にあります: |
| 59 | + |
| 60 | +- **利用者向け**: |
| 61 | + - [セットアップガイド](./docs/setup.md) - インストールと初期設定 |
| 62 | + - [使い方](./docs/usage.md) - 基本的な操作方法 |
| 63 | + - [トラブルシューティング](./docs/troubleshooting.md) - よくある問題と解決方法 |
| 64 | + - [ライセンス](./docs/license.md) - ライセンス情報 |
| 65 | + |
| 66 | +- **開発者向け**: |
| 67 | + - [開発ガイド](./docs/development/) - 開発環境のセットアップ |
| 68 | + - [アーキテクチャ](./docs/development/architecture.md) - システム設計 |
| 69 | + - [コア技術](./docs/development/technology.md) - 使用技術 |
| 70 | + - [プロジェクト構造](./docs/development/project-structure.md) - ファイル構成 |
| 71 | + - [ビルド方法](./docs/development/building.md) - パッケージのビルド |
| 72 | + |
| 73 | +### ドキュメントサイトの起動 |
| 74 | + |
| 75 | +```bash |
| 76 | +npm install |
| 77 | +npm run docs:dev |
| 78 | +``` |
| 79 | + |
| 80 | +[http://localhost:5173](http://localhost:5173)にアクセスしてドキュメントを閲覧してください。 |
| 81 | + |
| 82 | +## 貢献 |
| 83 | + |
| 84 | +貢献を歓迎します!詳細は[開発ガイド](./docs/development/)を参照してください。 |
| 85 | + |
| 86 | +1. リポジトリをフォーク |
| 87 | +2. 機能ブランチを作成 |
| 88 | +3. 変更を加える |
| 89 | +4. すべてのテストが通ることを確認 |
| 90 | +5. プルリクエストを送信 |
| 91 | + |
| 92 | +## ライセンス |
| 93 | + |
| 94 | +このプロジェクトは **MIT License** でライセンスされています。 |
| 95 | + |
| 96 | +ただし、実行時に自動ダウンロードされる以下のコンポーネントは、それぞれ独自のライセンスの下で配布されています: |
| 97 | +- **Blender**: GPL-2.0 License |
| 98 | +- **open-fitter-core**: GPL-3.0 License ([Tallcat4's Repository](https://github.com/tallcat4/open-fitter-core)) |
| 99 | +- **Blenderアドオン**: 各種ライセンス |
| 100 | + |
| 101 | +詳細な情報(コンプライアンス、開発方針、免責事項など)については、[ライセンスドキュメント](./docs/license.md)を参照してください。 |
| 102 | + |
| 103 | +## 謝辞 |
| 104 | + |
| 105 | +- GPL-3ソースコードコンポーネントを公開してくださったNine Gates |
| 106 | +- オープンソースのコアアルゴリズム実装を提供する[open-fitter-core](https://github.com/tallcat4/open-fitter-core)プロジェクトのtallcat4氏 |
| 107 | +- Blenderソフトウェアを提供するBlender Foundation |
| 108 | +- インスピレーションとフィードバックをくださったVRChatコミュニティ |
| 109 | + |
| 110 | +## リンク |
| 111 | + |
| 112 | +- [ドキュメント](./docs/) |
| 113 | +- [コアアルゴリズム(ローカル)](./BlenderTools/open-fitter-core/README.md) |
| 114 | +- [open-fitter-core (GitHub)](https://github.com/tallcat4/open-fitter-core) |
| 115 | +- [Issue Tracker](https://github.com/Mushus/OpenFitterUnityUI/issues) |
| 116 | +- [GitHub Discussions](https://github.com/Mushus/OpenFitterUnityUI/discussions) |
| 117 | + |
| 118 | +--- |
| 119 | + |
| 120 | +<a name="english"></a> |
| 121 | + |
| 122 | +## Overview |
| 123 | + |
| 124 | +OpenFitterUnityUI is an open-source Unity Editor tool for automatically fitting clothing onto 3D avatar models. It provides a streamlined workflow for VRChat avatar creators and avatar modifiers to transfer clothing between different body shapes. |
| 125 | + |
| 126 | +Built on GPL-3 licensed components from Nine Gates, OpenFitterUnityUI offers a user-friendly Unity Editor interface that automates the complex process of clothing fitting using RBF (Radial Basis Function) deformation and bone pose transfer. |
| 127 | + |
| 128 | +## Features |
| 129 | + |
| 130 | +- **Automated Clothing Fitting**: Transfer clothing from one avatar to another with different body shapes |
| 131 | +- **Unity Editor Integration**: Intuitive wizard-based interface directly in Unity |
| 132 | +- **Automatic Environment Setup**: Automatically downloads and configures Blender, Python dependencies, and required add-ons |
| 133 | +- **BlendShape Management**: Configure and preserve custom blendshapes during the fitting process |
| 134 | +- **Progress Tracking**: Real-time progress monitoring during fitting operations |
| 135 | +- **Data Format Compatibility**: Compatible with MochiFitter data formats |
| 136 | + |
| 137 | +## Requirements |
| 138 | + |
| 139 | +- Unity 2022.3 or later |
| 140 | +- Windows operating system (for Blender automation) |
| 141 | +- Internet connection (for initial setup and downloads) |
| 142 | +- Approximately 2GB of free disk space (for Blender and dependencies) |
| 143 | + |
| 144 | +## Installation |
| 145 | + |
| 146 | +### Method 1: Unity Package (Recommended) |
| 147 | + |
| 148 | +1. Download the latest `OpenFitterUnityUI.unitypackage` from [GitHub Releases](https://github.com/Mushus/OpenFitterUnityUI/releases) |
| 149 | +2. Import the package into your Unity project via `Assets > Import Package > Custom Package` |
| 150 | +3. The OpenFitterUnityUI menu will appear under `Tools > OpenFitter` |
| 151 | + |
| 152 | +### Method 2: Manual Installation |
| 153 | + |
| 154 | +1. Clone or download this repository |
| 155 | +2. Copy the `Assets/OpenFitter` folder into your Unity project's `Assets` folder |
| 156 | +3. Unity will automatically compile the editor scripts |
| 157 | + |
| 158 | +## Quick Start |
| 159 | + |
| 160 | +1. Open the OpenFitter window via `Tools > OpenFitter` in Unity |
| 161 | +2. Follow the setup wizard: |
| 162 | + - **Environment Setup**: Click "Install All" to automatically set up Blender and dependencies |
| 163 | + - **Source Selection**: Select your source avatar (the one with the clothing) |
| 164 | + - **Target Selection**: Select your target avatar (the one to receive the clothing) |
| 165 | + - **BlendShape Configuration**: (Optional) Configure blendshapes to preserve |
| 166 | + - **Execute**: Run the fitting process |
| 167 | +3. Wait for the process to complete and review the output |
| 168 | + |
| 169 | +For detailed instructions, see the [Usage Guide](./docs/usage.md). |
| 170 | + |
| 171 | +## Documentation |
| 172 | + |
| 173 | +Detailed documentation is available in the [docs directory](./docs/): |
| 174 | + |
| 175 | +- **For Users**: |
| 176 | + - [Setup Guide](./docs/setup.md) - Installation and initial setup |
| 177 | + - [Usage](./docs/usage.md) - Basic operation |
| 178 | + - [Troubleshooting](./docs/troubleshooting.md) - Common issues and solutions |
| 179 | + - [License](./docs/license.md) - License information |
| 180 | + |
| 181 | +- **For Developers**: |
| 182 | + - [Development Guide](./docs/development/) - Development environment setup |
| 183 | + - [Architecture](./docs/development/architecture.md) - System design |
| 184 | + - [Core Technology](./docs/development/technology.md) - Technologies used |
| 185 | + - [Project Structure](./docs/development/project-structure.md) - File organization |
| 186 | + - [Building](./docs/development/building.md) - Package building |
| 187 | + |
| 188 | +### Running Documentation Site |
| 189 | + |
| 190 | +```bash |
| 191 | +npm install |
| 192 | +npm run docs:dev |
| 193 | +``` |
| 194 | + |
| 195 | +Visit [http://localhost:5173](http://localhost:5173) to browse the documentation. |
| 196 | + |
| 197 | +## Contributing |
| 198 | + |
| 199 | +Contributions are welcome! See the [Development Guide](./docs/development/) for details. |
| 200 | + |
| 201 | +1. Fork the repository |
| 202 | +2. Create a feature branch |
| 203 | +3. Make your changes |
| 204 | +4. Ensure all tests pass |
| 205 | +5. Submit a pull request |
| 206 | + |
| 207 | +## License |
| 208 | + |
| 209 | +This project is licensed under the **MIT License**. |
| 210 | + |
| 211 | +However, the following components automatically downloaded at runtime are distributed under their own respective licenses: |
| 212 | +- **Blender**: GPL-2.0 License |
| 213 | +- **open-fitter-core**: GPL-3.0 License ([Tallcat4's Repository](https://github.com/tallcat4/open-fitter-core)) |
| 214 | +- **Blender Add-ons**: Various licenses |
| 215 | + |
| 216 | +For detailed information (compliance, development policy, disclaimer, etc.), see the [License Documentation](./docs/license.md). |
| 217 | + |
| 218 | +## Acknowledgements |
| 219 | + |
| 220 | +- Nine Gates for releasing the GPL-3 source code components |
| 221 | +- tallcat4 for the [open-fitter-core](https://github.com/tallcat4/open-fitter-core) project, providing the open-source core algorithm implementation |
| 222 | +- The Blender Foundation for the Blender software |
| 223 | +- The VRChat community for inspiration and feedback |
| 224 | + |
| 225 | +## Links |
| 226 | + |
| 227 | +- [Documentation](./docs/) |
| 228 | +- [Core Algorithm (Local)](./BlenderTools/open-fitter-core/README.md) |
| 229 | +- [open-fitter-core (GitHub)](https://github.com/tallcat4/open-fitter-core) |
| 230 | +- [Issue Tracker](https://github.com/Mushus/OpenFitterUnityUI/issues) |
| 231 | +- [GitHub Discussions](https://github.com/Mushus/OpenFitterUnityUI/discussions) |
0 commit comments