Skip to content

Commit 8144409

Browse files
committed
version 2.5.15
1 parent 31adfed commit 8144409

27 files changed

+235
-196
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## [2.5.15] - 2023-08-18
4+
5+
- Fixes
6+
- Fixed a bug that caused an error when building IL2CPP with Unity 2021.1 or lower.
7+
- Fixed a bug that processing was interrupted when an error occurred in BlendShape when importing in Editor.
8+
- Fixed typo.
9+
310
## [2.5.14] - 2023-08-03
411

512
- Features
Loading
-362 Bytes
Loading
Loading
Loading
Loading
-10.4 KB
Loading
-3.22 KB
Loading
-15.1 KB
Loading
-55.8 KB
Loading
279 Bytes
Loading
-75 Bytes
Loading

Documentation~/UniVGO/Installation.ja.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Unity 2021.1 以下のバージョンを使用する場合
4444
|com.izayoi.liltoon.shader.utility|IzayoiJiichan|GitHub||1.4.0|2023年5月30日|
4545
|com.izayoi.unishaders|IzayoiJiichan|GitHub||1.6.1|2023年8月1日|
4646
|com.izayoi.vgospringbone|IzayoiJiichan|GitHub||1.1.2|2022年8月24日|
47-
|com.izayoi.univgo|IzayoiJiichan|GitHub|VGO 2.5|2.5.14|2023年8月3日|
47+
|com.izayoi.univgo|IzayoiJiichan|GitHub|VGO 2.5|2.5.15|2023年8月18日|
4848

4949
#### 追加パッケージ
5050

@@ -142,7 +142,7 @@ UniVGOを使用するために、以下の設定を追加してください。
142142
"dependencies": {
143143
"com.izayoi.liltoon.shader.utility": "https://github.com/izayoijiichan/lilToonShaderUtility.git#v1.4.0",
144144
"com.izayoi.unishaders": "https://github.com/izayoijiichan/UniShaders.git#v1.6.1",
145-
"com.izayoi.univgo": "https://github.com/izayoijiican/VGO.git#v2.5.14",
145+
"com.izayoi.univgo": "https://github.com/izayoijiican/VGO.git#v2.5.15",
146146
"com.izayoi.vgospringbone": "https://github.com/izayoijiichan/VgoSpringBone.git#v1.1.2",
147147
"com.unity.nuget.newtonsoft-json": "3.2.1",
148148
"com.unity.ugui": "1.0.0",
@@ -255,20 +255,20 @@ ___
255255

256256
|UniVRM|UniVGO|min Unity|
257257
|:---:|:---:|:---:|
258-
|0.100.0|2.5.14|2020.3|
259-
|0.101.0|2.5.14|2020.3|
260-
|0.102.0|2.5.14|2020.3|
261-
|0.103.2|2.5.14|2020.3|
262-
|0.104.2|2.5.14|2020.3|
263-
|0.105.0|2.5.14|2020.3|
264-
|0.106.0|2.5.14|2020.3|
265-
|0.107.2|2.5.14|2020.3|
266-
|0.108.0|2.5.14|2020.3|
267-
|0.109.0|2.5.14|2020.3|
268-
|0.110.0|2.5.14|2020.3|
269-
|0.111.0|2.5.14|2020.3|
270-
|0.112.0|2.5.14|2020.3|
271-
|0.113.0|2.5.14|2020.3|
258+
|0.100.0|2.5.15|2020.3|
259+
|0.101.0|2.5.15|2020.3|
260+
|0.102.0|2.5.15|2020.3|
261+
|0.103.2|2.5.15|2020.3|
262+
|0.104.2|2.5.15|2020.3|
263+
|0.105.0|2.5.15|2020.3|
264+
|0.106.0|2.5.15|2020.3|
265+
|0.107.2|2.5.15|2020.3|
266+
|0.108.0|2.5.15|2020.3|
267+
|0.109.0|2.5.15|2020.3|
268+
|0.110.0|2.5.15|2020.3|
269+
|0.111.0|2.5.15|2020.3|
270+
|0.112.0|2.5.15|2020.3|
271+
|0.113.0|2.5.15|2020.3|
272272

273273
`<Project>/Packages/package.json` に以下の記述を行います。
274274

@@ -299,7 +299,7 @@ https://github.com/izayoijiichan/VGO/wiki/How-to-use-UniVRM-and-UniVGO-together
299299
|2022.3.0f1|BRP|UniVGO + UniVRM|[Link](https://github.com/izayoijiichan/univgo2.sample.unity.project/tree/unity2022.3.brp.univrm)|
300300

301301
___
302-
最終更新日:2023年8月3日
302+
最終更新日:2023年8月18日
303303
編集者:十六夜おじいちゃん
304304

305305
*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*

Documentation~/UniVGO/Installation.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This package is required for any Unity version.
4444
|com.izayoi.liltoon.shader.utility|IzayoiJiichan|GitHub||1.4.0|30 May, 2023|
4545
|com.izayoi.unishaders|IzayoiJiichan|GitHub||1.6.1|1 Aug, 2023|
4646
|com.izayoi.vgospringbone|IzayoiJiichan|GitHub||1.1.2|24 Aug, 2022|
47-
|com.izayoi.univgo|IzayoiJiichan|GitHub|VGO 2.5|2.5.14|3 Aug, 2023|
47+
|com.izayoi.univgo|IzayoiJiichan|GitHub|VGO 2.5|2.5.15|18 Aug, 2023|
4848

4949
#### Additional Packages
5050

@@ -141,7 +141,7 @@ To use UniVGO, add the following settings.
141141
"dependencies": {
142142
"com.izayoi.liltoon.shader.utility": "https://github.com/izayoijiichan/lilToonShaderUtility.git#v1.4.0",
143143
"com.izayoi.unishaders": "https://github.com/izayoijiichan/UniShaders.git#v1.6.1",
144-
"com.izayoi.univgo": "https://github.com/izayoijiican/VGO.git#v2.5.14",
144+
"com.izayoi.univgo": "https://github.com/izayoijiican/VGO.git#v2.5.15",
145145
"com.izayoi.vgospringbone": "https://github.com/izayoijiichan/VgoSpringBone.git#v1.1.2",
146146
"com.unity.nuget.newtonsoft-json": "3.2.1",
147147
"com.unity.ugui": "1.0.0",
@@ -253,20 +253,20 @@ The version combinations are as follows.
253253

254254
|UniVRM|UniVGO|min Unity|
255255
|:---:|:---:|:---:|
256-
|0.100.0|2.5.14|2020.3|
257-
|0.101.0|2.5.14|2020.3|
258-
|0.102.0|2.5.14|2020.3|
259-
|0.103.2|2.5.14|2020.3|
260-
|0.104.2|2.5.14|2020.3|
261-
|0.105.0|2.5.14|2020.3|
262-
|0.106.0|2.5.14|2020.3|
263-
|0.107.2|2.5.14|2020.3|
264-
|0.108.0|2.5.14|2020.3|
265-
|0.109.0|2.5.14|2020.3|
266-
|0.110.0|2.5.14|2020.3|
267-
|0.111.0|2.5.14|2020.3|
268-
|0.112.0|2.5.14|2020.3|
269-
|0.113.0|2.5.14|2020.3|
256+
|0.100.0|2.5.15|2020.3|
257+
|0.101.0|2.5.15|2020.3|
258+
|0.102.0|2.5.15|2020.3|
259+
|0.103.2|2.5.15|2020.3|
260+
|0.104.2|2.5.15|2020.3|
261+
|0.105.0|2.5.15|2020.3|
262+
|0.106.0|2.5.15|2020.3|
263+
|0.107.2|2.5.15|2020.3|
264+
|0.108.0|2.5.15|2020.3|
265+
|0.109.0|2.5.15|2020.3|
266+
|0.110.0|2.5.15|2020.3|
267+
|0.111.0|2.5.15|2020.3|
268+
|0.112.0|2.5.15|2020.3|
269+
|0.113.0|2.5.15|2020.3|
270270

271271
Write the following in `<Project> /Packages/package.json`.
272272

@@ -296,7 +296,7 @@ https://github.com/izayoijiichan/VGO/wiki/How-to-use-UniVRM-and-UniVGO-together
296296
|2022.3.0f1|BRP|UniVGO + UniVRM|[Link](https://github.com/izayoijiichan/univgo2.sample.unity.project/tree/unity2022.3.brp.univrm)|
297297

298298
___
299-
Last updated: 3 August, 2023
299+
Last updated: 18 August, 2023
300300
Editor: Izayoi Jiichan
301301

302302
*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*

Documentation~/UniVGO/Usage.ja.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ___
1313
|No|項目||
1414
|:---:|:---|:---:|
1515
|1|Unity バージョン|2022.3|
16-
|2|UniVGO バージョン|2.5.10|
16+
|2|UniVGO バージョン|2.5.15|
1717
|3|VGO 仕様バージョン|2.5|
1818

1919
### 対応 Unity コンポーネント
@@ -125,7 +125,7 @@ UniVGO サンプル プロジェクトを使用する場合は`ExportScene`を
125125
|No|項目|説明||
126126
|:---:|:---|:---|:---:|
127127
|1|Name|生成ツールの名前です。|UniVGO|
128-
|2|Version|生成ツールのバージョンです。|2.5.10|
128+
|2|Version|生成ツールのバージョンです。|2.5.15|
129129

130130
ユーザーが設定可能な項目はありません。
131131
ジェネレーター情報が古い場合にはコンポーネントを一度削除して、再度付与してください。
@@ -277,7 +277,7 @@ UniVGO サンプル プロジェクトを使用する場合は`ExportScene`を
277277
|No|項目|説明||
278278
|:---:|:---|:---|:---:|
279279
|1|Generator Name|生成ツールの名前です。|UniVGO|
280-
|2|Generator Version|生成ツールのバージョンです。|2.5.10|
280+
|2|Generator Version|生成ツールのバージョンです。|2.5.15|
281281

282282
ユーザーが設定可能な項目はありません。
283283
メタ情報が古い場合にはコンポーネントを一度削除して、再度付与してください。
@@ -500,7 +500,9 @@ VGOファイルが読み込まれることを確認します。
500500
{
501501
VgoModelAsset vgoModelAsset = _VgoImporter.Load(filePath);
502502

503-
_VgoImporter.ReflectSkybox(Camera.main, vgoModelAsset);
503+
//_VgoImporter.ReflectSkybox(Camera.main, vgoModelAsset);
504+
505+
vgoModelAsset.ReflectSkybox(Camera.main);
504506

505507
_VgoModelAssetDisposer = vgoModelAsset;
506508
}
@@ -527,7 +529,7 @@ VGOファイルをアップロードし管理することができるサービ
527529
https://vgohub.azurewebsites.net
528530

529531
___
530-
最終更新日:2023年7月17日
532+
最終更新日:2023年8月18日
531533
編集者:十六夜おじいちゃん
532534

533535
*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*

Documentation~/UniVGO/Usage.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The contents described in this manual are for the following versions.
1313
|No|item|value|
1414
|:---:|:---|:---:|
1515
|1|Unity version|2022.3|
16-
|2|UniVGO version|2.5.10|
16+
|2|UniVGO version|2.5.15|
1717
|3|VGO spec version|2.5|
1818

1919
### Supported Unity components
@@ -125,7 +125,7 @@ The order of the components does not matter.
125125
|No|item|description|value|
126126
|:---:|:---|:---|:---:|
127127
|1|Name|The name of the generation tool.|UniVGO|
128-
|2|Version|Version of the generation tool.|2.5.10|
128+
|2|Version|Version of the generation tool.|2.5.15|
129129

130130
There are no user-configurable items.
131131
If the meta information is old, delete the component once and attach it again.
@@ -277,7 +277,7 @@ The order of the components does not matter.
277277
|No|item|description|value|
278278
|:---:|:---|:---|:---:|
279279
|1|Name|The name of the generation tool.|UniVGO|
280-
|2|Version|Version of the generation tool.|2.5.10|
280+
|2|Version|Version of the generation tool.|2.5.15|
281281

282282
There are no user-configurable items.
283283
If the meta information is old, delete the component once and attach it again.
@@ -496,7 +496,9 @@ If you write your own script, write as follows.
496496
{
497497
VgoModelAsset vgoModelAsset = _VgoImporter.Load(filePath);
498498

499-
_VgoImporter.ReflectSkybox(Camera.main, vgoModelAsset);
499+
//_VgoImporter.ReflectSkybox(Camera.main, vgoModelAsset);
500+
501+
vgoModelAsset.ReflectSkybox(Camera.main);
500502

501503
_VgoModelAssetDisposer = vgoModelAsset;
502504
}
@@ -522,7 +524,7 @@ or the VGO (avatar or world) that others have set to be available in the linked
522524
https://vgohub.azurewebsites.net
523525

524526
___
525-
Last updated: 17 July, 2023
527+
Last updated: 18 August, 2023
526528
Editor: Izayoi Jiichan
527529

528530
*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*

README.ja.md

+42-64
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
VGOとは、新しい形の3Dデータフォーマットです。
44

5-
___
5+
![3D Model](https://img.shields.io/badge/3D%20Model-VGO-B89A13.svg?style=flat)
6+
![VGO](https://img.shields.io/badge/VGO-2.5-8EAC50.svg?style=flat)
7+
[![UniVGO](https://img.shields.io/github/v/release/izayoijiichan/VGO?label=UniVGO)](https://github.com/izayoijiichan/VGO/releases)
8+
![Unity](https://img.shields.io/badge/Unity-2020%7e2023-2196F3.svg?logo=unity&style=flat)
9+
![C#](https://img.shields.io/badge/C%23-8.0%7e9.0-058E0C.svg?logo=csharp&style=flat)
10+
![license](https://img.shields.io/github/license/izayoijiichan/VGO)
11+
[![wiki](https://img.shields.io/badge/GitHub-wiki-181717.svg?logo=github&style=flat)](https://github.com/izayoijiichan/VGO/wiki)
12+
613
## 特徴
714

815
- `Node`, `Transform`, `Rigidbody`, `Collider`, `Mesh`, `Blend Shape`, `Material`, `Texture` といった3Dモデルの基本情報を保存することができます。
@@ -30,68 +37,6 @@ ___
3037
|.vgk|暗号化したVGOファイルを復号するためのキーファイルです。|任意|
3138
|(.bin)|リソース ファイルです。|任意|
3239

33-
## チャンク
34-
35-
|タイプ|名前|説明|
36-
|:--|:--|:--|
37-
|VGO|Header|ファイルヘッダーです。|
38-
|IDX|Index|チャンクのインデックスを保持します。|
39-
|COMP|Composer|3Dモデルを構築するためのチャンクの組み合わせを保持します。|
40-
|AIXX|Asset Info|アセット情報を保持します。|
41-
|LAXX|Layout|3Dモデル設計情報を保持します。|
42-
|RAXX|Resource Accessor|リソースへのアクセス情報を保持します。|
43-
|REXX|Resource|リソースを保持します。|
44-
|CXXX|Crypt|暗号情報を保持します。|
45-
46-
[チャンク詳細](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/chunk.md)
47-
48-
## データ スキーマ
49-
50-
- assetInfo
51-
- generator
52-
- right
53-
- extensions
54-
- extensionsUsed
55-
56-
- layout
57-
- nodes
58-
- animator
59-
- humanAvatar
60-
- animation
61-
- rigidbody
62-
- colliders
63-
- collider
64-
- meshRenderer
65-
- skybox
66-
- light
67-
- right
68-
- extensions
69-
- skins
70-
- meshes
71-
- materials
72-
- textures
73-
- animationClips
74-
- colliders
75-
- clothes
76-
- lights
77-
- particles
78-
- springBoneInfo
79-
- extensions
80-
81-
## データ スキーマの説明
82-
83-
- [アセット情報](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.assetInfo.json.md)
84-
- [レイアウト](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.layout.json.md)
85-
- [レイアウト(アニメーション)](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.layout.animation.json.md)
86-
- [レイアウト(クロス)](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.layout.cloth.json.md)
87-
- [レイアウト(パーティクル)](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.layout.particle.json.md)
88-
- [レイアウト(スプリングボーン)](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.layout.springBoneInfo.json.md)
89-
- [リソース](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.resource.json.md)
90-
91-
## JSON 仕様
92-
93-
- VGO JSON Schema: [2.5](https://github.com/izayoijiichan/VGO/tree/main/Documentation~/VGO/specification/2.5/schema)
94-
9540
## ツール
9641

9742
### UniVGO
@@ -102,10 +47,43 @@ VGOファイルを生成/出力/取り込み/ロードするためのツ
10247

10348
![image1](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/UniVGO/Images/500_Export.png)
10449

50+
VGOファイルをアセット内に配置するだけで簡単に取り込み、復元することができます。
51+
52+
![image2](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/UniVGO/Images/620_Import.png)
53+
54+
少しのスクリプトを書くだけでVGOファイルをランタイムロードすることができます。
55+
56+
57+
~~~csharp
58+
using System;
59+
using UnityEngine;
60+
using UniVgo2;
61+
62+
public class VgoRuntimeLoader : MonoBehaviour
63+
{
64+
private readonly VgoImporter _VgoImporter = new();
65+
66+
[SerializeField]
67+
private string _FilePath = string.Empty;
68+
69+
private VgoModelAsset? _VgoModelAsset;
70+
71+
private void Start()
72+
{
73+
_VgoModelAsset = _VgoImporter.Load(_FilePath);
74+
}
75+
76+
private void OnDestroy()
77+
{
78+
_VgoModelAsset?.Dispose();
79+
}
80+
}
81+
~~~
82+
10583
[Wiki](https://github.com/izayoijiichan/VGO/wiki)
10684

10785
___
108-
最終更新日:2023年7月17日
86+
最終更新日:2023年8月18日
10987
編集者:十六夜おじいちゃん
11088

11189
*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*

0 commit comments

Comments
 (0)