Skip to content

Commit

Permalink
version 2.5.15
Browse files Browse the repository at this point in the history
  • Loading branch information
izayoijiichan committed Aug 17, 2023
1 parent 31adfed commit 8144409
Show file tree
Hide file tree
Showing 27 changed files with 235 additions and 196 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [2.5.15] - 2023-08-18

- Fixes
- Fixed a bug that caused an error when building IL2CPP with Unity 2021.1 or lower.
- Fixed a bug that processing was interrupted when an error occurred in BlendShape when importing in Editor.
- Fixed typo.

## [2.5.14] - 2023-08-03

- Features
Expand Down
Binary file modified Documentation~/UniVGO/Images/201_PackageManager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation~/UniVGO/Images/421_Hierarchy_VGO.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation~/UniVGO/Images/422_Inspector_VGO.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation~/UniVGO/Images/431_Hierarchy_Floor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation~/UniVGO/Images/432_Inspector_Floor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation~/UniVGO/Images/500_Export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation~/UniVGO/Images/501_Export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation~/UniVGO/Images/620_Import.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation~/UniVGO/Images/710_Load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation~/UniVGO/Images/721_Hierarchy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation~/UniVGO/Images/722_Inspector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 17 additions & 17 deletions Documentation~/UniVGO/Installation.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Unity 2021.1 以下のバージョンを使用する場合
|com.izayoi.liltoon.shader.utility|IzayoiJiichan|GitHub||1.4.0|2023年5月30日|
|com.izayoi.unishaders|IzayoiJiichan|GitHub||1.6.1|2023年8月1日|
|com.izayoi.vgospringbone|IzayoiJiichan|GitHub||1.1.2|2022年8月24日|
|com.izayoi.univgo|IzayoiJiichan|GitHub|VGO 2.5|2.5.14|2023年8月3日|
|com.izayoi.univgo|IzayoiJiichan|GitHub|VGO 2.5|2.5.15|2023年8月18日|

#### 追加パッケージ

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

|UniVRM|UniVGO|min Unity|
|:---:|:---:|:---:|
|0.100.0|2.5.14|2020.3|
|0.101.0|2.5.14|2020.3|
|0.102.0|2.5.14|2020.3|
|0.103.2|2.5.14|2020.3|
|0.104.2|2.5.14|2020.3|
|0.105.0|2.5.14|2020.3|
|0.106.0|2.5.14|2020.3|
|0.107.2|2.5.14|2020.3|
|0.108.0|2.5.14|2020.3|
|0.109.0|2.5.14|2020.3|
|0.110.0|2.5.14|2020.3|
|0.111.0|2.5.14|2020.3|
|0.112.0|2.5.14|2020.3|
|0.113.0|2.5.14|2020.3|
|0.100.0|2.5.15|2020.3|
|0.101.0|2.5.15|2020.3|
|0.102.0|2.5.15|2020.3|
|0.103.2|2.5.15|2020.3|
|0.104.2|2.5.15|2020.3|
|0.105.0|2.5.15|2020.3|
|0.106.0|2.5.15|2020.3|
|0.107.2|2.5.15|2020.3|
|0.108.0|2.5.15|2020.3|
|0.109.0|2.5.15|2020.3|
|0.110.0|2.5.15|2020.3|
|0.111.0|2.5.15|2020.3|
|0.112.0|2.5.15|2020.3|
|0.113.0|2.5.15|2020.3|

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

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

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

*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*
34 changes: 17 additions & 17 deletions Documentation~/UniVGO/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This package is required for any Unity version.
|com.izayoi.liltoon.shader.utility|IzayoiJiichan|GitHub||1.4.0|30 May, 2023|
|com.izayoi.unishaders|IzayoiJiichan|GitHub||1.6.1|1 Aug, 2023|
|com.izayoi.vgospringbone|IzayoiJiichan|GitHub||1.1.2|24 Aug, 2022|
|com.izayoi.univgo|IzayoiJiichan|GitHub|VGO 2.5|2.5.14|3 Aug, 2023|
|com.izayoi.univgo|IzayoiJiichan|GitHub|VGO 2.5|2.5.15|18 Aug, 2023|

#### Additional Packages

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

|UniVRM|UniVGO|min Unity|
|:---:|:---:|:---:|
|0.100.0|2.5.14|2020.3|
|0.101.0|2.5.14|2020.3|
|0.102.0|2.5.14|2020.3|
|0.103.2|2.5.14|2020.3|
|0.104.2|2.5.14|2020.3|
|0.105.0|2.5.14|2020.3|
|0.106.0|2.5.14|2020.3|
|0.107.2|2.5.14|2020.3|
|0.108.0|2.5.14|2020.3|
|0.109.0|2.5.14|2020.3|
|0.110.0|2.5.14|2020.3|
|0.111.0|2.5.14|2020.3|
|0.112.0|2.5.14|2020.3|
|0.113.0|2.5.14|2020.3|
|0.100.0|2.5.15|2020.3|
|0.101.0|2.5.15|2020.3|
|0.102.0|2.5.15|2020.3|
|0.103.2|2.5.15|2020.3|
|0.104.2|2.5.15|2020.3|
|0.105.0|2.5.15|2020.3|
|0.106.0|2.5.15|2020.3|
|0.107.2|2.5.15|2020.3|
|0.108.0|2.5.15|2020.3|
|0.109.0|2.5.15|2020.3|
|0.110.0|2.5.15|2020.3|
|0.111.0|2.5.15|2020.3|
|0.112.0|2.5.15|2020.3|
|0.113.0|2.5.15|2020.3|

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

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

___
Last updated: 3 August, 2023
Last updated: 18 August, 2023
Editor: Izayoi Jiichan

*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*
12 changes: 7 additions & 5 deletions Documentation~/UniVGO/Usage.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ___
|No|項目||
|:---:|:---|:---:|
|1|Unity バージョン|2022.3|
|2|UniVGO バージョン|2.5.10|
|2|UniVGO バージョン|2.5.15|
|3|VGO 仕様バージョン|2.5|

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

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

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

_VgoImporter.ReflectSkybox(Camera.main, vgoModelAsset);
//_VgoImporter.ReflectSkybox(Camera.main, vgoModelAsset);
vgoModelAsset.ReflectSkybox(Camera.main);

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

___
最終更新日:2023年7月17日
最終更新日:2023年8月18日
編集者:十六夜おじいちゃん

*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*
12 changes: 7 additions & 5 deletions Documentation~/UniVGO/Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The contents described in this manual are for the following versions.
|No|item|value|
|:---:|:---|:---:|
|1|Unity version|2022.3|
|2|UniVGO version|2.5.10|
|2|UniVGO version|2.5.15|
|3|VGO spec version|2.5|

### Supported Unity components
Expand Down Expand Up @@ -125,7 +125,7 @@ The order of the components does not matter.
|No|item|description|value|
|:---:|:---|:---|:---:|
|1|Name|The name of the generation tool.|UniVGO|
|2|Version|Version of the generation tool.|2.5.10|
|2|Version|Version of the generation tool.|2.5.15|

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

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

_VgoImporter.ReflectSkybox(Camera.main, vgoModelAsset);
//_VgoImporter.ReflectSkybox(Camera.main, vgoModelAsset);
vgoModelAsset.ReflectSkybox(Camera.main);

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

___
Last updated: 17 July, 2023
Last updated: 18 August, 2023
Editor: Izayoi Jiichan

*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*
106 changes: 42 additions & 64 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

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

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

## 特徴

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

## チャンク

|タイプ|名前|説明|
|:--|:--|:--|
|VGO|Header|ファイルヘッダーです。|
|IDX|Index|チャンクのインデックスを保持します。|
|COMP|Composer|3Dモデルを構築するためのチャンクの組み合わせを保持します。|
|AIXX|Asset Info|アセット情報を保持します。|
|LAXX|Layout|3Dモデル設計情報を保持します。|
|RAXX|Resource Accessor|リソースへのアクセス情報を保持します。|
|REXX|Resource|リソースを保持します。|
|CXXX|Crypt|暗号情報を保持します。|

[チャンク詳細](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/chunk.md)

## データ スキーマ

- assetInfo
- generator
- right
- extensions
- extensionsUsed

- layout
- nodes
- animator
- humanAvatar
- animation
- rigidbody
- colliders
- collider
- meshRenderer
- skybox
- light
- right
- extensions
- skins
- meshes
- materials
- textures
- animationClips
- colliders
- clothes
- lights
- particles
- springBoneInfo
- extensions

## データ スキーマの説明

- [アセット情報](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.assetInfo.json.md)
- [レイアウト](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.layout.json.md)
- [レイアウト(アニメーション)](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.layout.animation.json.md)
- [レイアウト(クロス)](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.layout.cloth.json.md)
- [レイアウト(パーティクル)](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.layout.particle.json.md)
- [レイアウト(スプリングボーン)](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.layout.springBoneInfo.json.md)
- [リソース](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/VGO/instructions/schema.resource.json.md)

## JSON 仕様

- VGO JSON Schema: [2.5](https://github.com/izayoijiichan/VGO/tree/main/Documentation~/VGO/specification/2.5/schema)

## ツール

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

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

VGOファイルをアセット内に配置するだけで簡単に取り込み、復元することができます。

![image2](https://github.com/izayoijiichan/VGO/blob/main/Documentation~/UniVGO/Images/620_Import.png)

少しのスクリプトを書くだけでVGOファイルをランタイムロードすることができます。


~~~csharp
using System;
using UnityEngine;
using UniVgo2;

public class VgoRuntimeLoader : MonoBehaviour
{
private readonly VgoImporter _VgoImporter = new();

[SerializeField]
private string _FilePath = string.Empty;

private VgoModelAsset? _VgoModelAsset;

private void Start()
{
_VgoModelAsset = _VgoImporter.Load(_FilePath);
}

private void OnDestroy()
{
_VgoModelAsset?.Dispose();
}
}
~~~

[Wiki](https://github.com/izayoijiichan/VGO/wiki)

___
最終更新日:2023年7月17日
最終更新日:2023年8月18日
編集者:十六夜おじいちゃん

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

0 comments on commit 8144409

Please sign in to comment.