Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reword MToon UV Rotation Animation spec #410

Merged
merged 2 commits into from
Oct 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions samples/VRMC_materials_mtoon_UV_Animation_Test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# VRMC_materials_mtoon UV Animation Test

## Screenshot

![screenshot](screenshot/screenshot.jpg)

## Description

This model is an example of the [VRMC_materials_mtoon](../../specification/VRMC_materials_mtoon-1.0/) extension.

There are three quads in this model.
Each quad has different UV animation settings.

## License Information

[VRM Public License 1.0](https://vrm.dev/licenses/1.0/)

(c) 2022 pixiv Inc.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
5 changes: 4 additions & 1 deletion specification/VRMC_materials_mtoon-1.0/README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,10 @@ UV アニメーションの Y 方向の移動速度を指定します。
UV アニメーションの回転速度を指定します。
単位はラジアン毎秒となり、 `1.0` の場合は2π秒ごとに UV が1回転します。
UV 座標系における (0.5, 0.5) を中心に回転します。
回転方向は、 UV 座標系における反時計回りです(i.e. 画像が時計回りに動く向き)。
回転方向は、U-right・V-downのUV座標を反時計回りに回転させる方向です。

> 回転方向は [KHR_texture_transform](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_texture_transform) と同じ方向となります。
> サンプルモデル「[VRMC_materials_mtoon UV Animation Test](../../samples/VRMC_materials_mtoon_UV_Animation_Test/)」も参照ください。

- 型: `number`
- 必須: No, 初期値: `0.0`
5 changes: 4 additions & 1 deletion specification/VRMC_materials_mtoon-1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,10 @@ The scroll direction is in which the UV value increases positive when the value
The UV animation rotation speed.
The unit is radian per second. When the value is `1.0` , UV will turn once for each 2π seconds.
The UV rotates around (0.5, 0.5) in the UV coordinate.
The rotation direction is counterclockwise in the UV coordinate (i.e. the image rotates clockwise).
The rotation direction is in which rotates UV coordinates counter-clockwise (in U-right, V-down space).

> The rotation direction is same as [KHR_texture_transform](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_texture_transform).
> See also the sample model "[VRMC_materials_mtoon UV Animation Test](../../samples/VRMC_materials_mtoon_UV_Animation_Test/)".

- Type: `number`
- Required: No, default: `0.0`