Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

vrm-c/UniVRM_1_0

Repository files navigation

DEPRECATED

This repository was trial implementation of vrm-1.0. Go to https://github.com/vrm-c/UniVRM


UniVRM に引っ越し

既存のUniVRMとコードを共有したいので、

https://github.com/vrm-c/UniVRM

に同居することにしました。

https://github.com/vrm-c/UniVRM_1_0/commit/3138de1fd98550b9879bc96857e95d468e46f537 を移植しました。

UPMパッケージは変更になります。

UniVRM-1.0 draft

VRM-1.0 draft の Unity 実装になります。

  • draft 仕様が変更される可能性高いため、正式版が出るまではプロダクト等で使用しないでください

  • SupportUnityVersion: Unity2019.3

  • 推奨ColorSpaceSetting: Linear

開発Wiki

依存ライブラリ

VrmLibがバイト列操作で System.MemorySystem.Span に依存(.NETStandard-2.1から標準ライブラリに入る)

ProtobufSerializerのJSONの読み書きが、 Google.Protobuf のJSONシリアライザーに依存

Implementation

+-------------------+
| GameObject        |
| Assets            |左手系Y-UP
+-------------------+
 ^                 |
 |[UnityBuilder]   |[VrmConverter]
 |                 |
 Unity-2019.3      |
===============================================
.NET Standard-2.0 + System.Memory
 |                 |
 |                 |
 | 右手系Y-UP      v  
+-------------------+
|VrmLib.Model       |
+-------------------+
 ^                 |
 | VrmLib          |
 |[import]         v[export]
+-------------------+
|VrmProtobuf        |
+-------------------+
 ^                 |
 | Protobuf        v
+-------------------+
|GLB(GLTF+BIN)      |VRM-1.0
+-------------------+