mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-12 13:59:21 -05:00
deploy: e3308dd6a4
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Sphinx build info version 1
|
||||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
|
||||
config: 9742cca250063976f4cae38e512b1c82
|
||||
config: b8ffbf508c2f73d6528ec72ea9834583
|
||||
tags: 645f666f9bcd5a90fca523b33c5a78b7
|
||||
|
||||
BIN
en/.doctrees/build.doctree
Normal file
BIN
en/.doctrees/build.doctree
Normal file
Binary file not shown.
Binary file not shown.
BIN
en/.doctrees/implementation/coordinate.doctree
Normal file
BIN
en/.doctrees/implementation/coordinate.doctree
Normal file
Binary file not shown.
BIN
en/.doctrees/implementation/texture_manipulation.doctree
Normal file
BIN
en/.doctrees/implementation/texture_manipulation.doctree
Normal file
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -92,6 +92,11 @@ docs$ sphinx-quickstart
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/README.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">Sphinx 作業</a><ul>
|
||||
|
||||
19
en/_sources/build.md.txt
Normal file
19
en/_sources/build.md.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
# アプリケーションのビルド
|
||||
|
||||
## ビルドに含めるシェーダー
|
||||
|
||||
`Project Settings = Graphics - Always Included Shaders` などに設定して、ビルドに含まれるようにしてください。
|
||||
|
||||
### Unlit
|
||||
|
||||
* `Assets\VRMShaders\GLTF\UniUnlit\Resources\UniGLTF\UniUnlit.shader`
|
||||
|
||||
### MToon
|
||||
|
||||
* `Assets\VRMShaders\VRM\MToon\MToon\Resources\Shaders\MToon.shader`
|
||||
|
||||
### ランタイム import/export 時のテクスチャー変換用のシェーダー
|
||||
|
||||
* `Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\NormalMapExporter.shader`
|
||||
* `Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapExporter.shader`
|
||||
* `Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapImporter.shader`
|
||||
63
en/_sources/implementation/coordinate.md.txt
Normal file
63
en/_sources/implementation/coordinate.md.txt
Normal file
@@ -0,0 +1,63 @@
|
||||
# 座標系の変換
|
||||
|
||||
UniVRMは、インポート・エクスポート時に座標変換を実行しています。
|
||||
|
||||
| | 右 | 上 | 前 | 掌性 | UV原点 | |
|
||||
|-------|----|----|----|------|--------|--------------------------------------------------------|
|
||||
| Unity | +X | +Y | +Z | 左手 | 左下 | |
|
||||
| VRM-0 | +X | +Y | -Z | 右手 | 左上 | |
|
||||
| VRM-1 | -X | +Y | +Z | 右手 | 左上 | |
|
||||
| glTF | | +Y | | 右手 | 左上 | デフォルトはVRM-0方式。オプションでVRM-1方式を選べます |
|
||||
|
||||
## UV
|
||||
|
||||
以下のように変換します。
|
||||
|
||||
```{math}
|
||||
V^{\prime} = 1 - V
|
||||
```
|
||||
|
||||
## Unity <-> VRM0
|
||||
|
||||
Z軸を反転します。
|
||||
|
||||
### Vector3: Position, Normalなど
|
||||
|
||||
```csharp
|
||||
public static Vector3 ReverseZ(this Vector3 v)
|
||||
{
|
||||
return new Vector3(v.x, v.y, -v.z);
|
||||
}
|
||||
```
|
||||
|
||||
### Quaternion: Rotation
|
||||
|
||||
```csharp
|
||||
public static Quaternion ReverseZ(this Quaternion q)
|
||||
{
|
||||
float angle;
|
||||
Vector3 axis;
|
||||
q.ToAngleAxis(out angle, out axis);
|
||||
return Quaternion.AngleAxis(-angle, ReverseZ(axis));
|
||||
}
|
||||
```
|
||||
|
||||
### Matrix: BindMatrices
|
||||
|
||||
スケール値が入っているとうまくいきません
|
||||
|
||||
```csharp
|
||||
public static Matrix4x4 ReverseZ(this Matrix4x4 m)
|
||||
{
|
||||
#if UNITY_2017_1_OR_NEWER
|
||||
m.SetTRS(m.GetColumn(3).ReverseZ(), m.rotation.ReverseZ(), Vector3.one);
|
||||
#else
|
||||
m.SetTRS(m.ExtractPosition().ReverseZ(), m.ExtractRotation().ReverseZ(), Vector3.one);
|
||||
#endif
|
||||
return m;
|
||||
}
|
||||
```
|
||||
|
||||
## Unity <-> VRM1
|
||||
|
||||
X軸を反転します。
|
||||
65
en/_sources/implementation/texture_manipulation.md.txt
Normal file
65
en/_sources/implementation/texture_manipulation.md.txt
Normal file
@@ -0,0 +1,65 @@
|
||||
# Texture関連
|
||||
|
||||
## Unity の linear の テクスチャーの挙動について
|
||||
|
||||
### Runtime
|
||||
|
||||
new する場合は、
|
||||
|
||||
```csharp
|
||||
var texture = new Texture2D(width, height, format, mipChain, linear = true);
|
||||
```
|
||||
|
||||
とする。
|
||||
|
||||
### Editor(Asset)
|
||||
|
||||
AssetFolder の png/jpg からloadする場合は、
|
||||
事前に設定が必用。
|
||||
|
||||
```csharp
|
||||
var textureImporter = AssetImporter.GetAtPath(assetPath) as TextureImporter;
|
||||
textureImporter.sRGBTexture = false; // Linear
|
||||
textureImporter.SaveAndReimport();
|
||||
|
||||
// linear でロードされます
|
||||
var texture =AssetDatabase.LoadAssetAtPath<Texture2D>(assetPath);
|
||||
```
|
||||
|
||||
## Unity の NormalMap の挙動について
|
||||
|
||||
> MToon の NormalMap も同じ
|
||||
|
||||
### Runtime
|
||||
|
||||
new する場合は、
|
||||
|
||||
```csharp
|
||||
var texture = new Texture2D(width, height, format, mipChain, linear = true);
|
||||
```
|
||||
|
||||
とする。
|
||||
また、 `DXT5nm` という仕様で格納する必要があるので変換します。
|
||||
y と w の2要素だけを使います。
|
||||
|
||||
```hlsl
|
||||
half4 normal;
|
||||
normal.x = 1.0;
|
||||
normal.y = col.y;
|
||||
normal.z = 1.0;
|
||||
normal.w = col.x;
|
||||
```
|
||||
|
||||
### Editor(Asset)
|
||||
|
||||
AssetFolder の png/jpg からloadする場合は、
|
||||
ロードする前に設定が必用。
|
||||
|
||||
```csharp
|
||||
var textureImporter = AssetImporter.GetAtPath(assetPath) as TextureImporter;
|
||||
textureImporter.textureType = TextureImporterType.NormalMap; // normalMap
|
||||
textureImporter.SaveAndReimport();
|
||||
|
||||
// DXT5nm でロードされます。
|
||||
var texture =AssetDatabase.LoadAssetAtPath<Texture2D>(assetPath);
|
||||
```
|
||||
@@ -9,8 +9,16 @@ UnityでVRMをエクスポートする方法などについては [manual](https
|
||||
```{toctree}
|
||||
:maxdepth: 1
|
||||
|
||||
package.md
|
||||
history.md
|
||||
package
|
||||
history
|
||||
```
|
||||
|
||||
## build
|
||||
|
||||
UniVRMを使うアプリケーションのビルドに関する注意事項
|
||||
|
||||
```{toctree}
|
||||
build
|
||||
```
|
||||
|
||||
## glTF
|
||||
@@ -18,9 +26,9 @@ history.md
|
||||
```{toctree}
|
||||
:maxdepth: 1
|
||||
|
||||
gltf/0_82_glb_import.md
|
||||
gltf/how_to_impl_extension.md
|
||||
gltf/0_36_update.md
|
||||
gltf/0_82_glb_import
|
||||
gltf/how_to_impl_extension
|
||||
gltf/0_36_update
|
||||
```
|
||||
|
||||
## VRM
|
||||
@@ -28,20 +36,23 @@ gltf/0_36_update.md
|
||||
```{toctree}
|
||||
:maxdepth: 1
|
||||
|
||||
vrm0/0_82_runtime_import.md
|
||||
vrm0/0_79_runtime_import.md
|
||||
vrm0/0_77_runtime_import.md
|
||||
vrm0/0_68_runtime_import.md
|
||||
vrm0/0_44_runtime_import.md
|
||||
vrm0/0_58_blendshape.md
|
||||
vrm0/firstperson.md
|
||||
vrm0/0_82_runtime_import
|
||||
vrm0/0_79_runtime_import
|
||||
vrm0/0_77_runtime_import
|
||||
vrm0/0_68_runtime_import
|
||||
vrm0/0_44_runtime_import
|
||||
vrm0/0_58_blendshape
|
||||
vrm0/firstperson
|
||||
```
|
||||
|
||||
## 実装メモ
|
||||
|
||||
```{toctree}
|
||||
:maxdepth: 1
|
||||
|
||||
implementation/runtime_resource_management.md
|
||||
implementation/runtime_resource_management
|
||||
implementation/texture_manipulation
|
||||
implementation/coordinate
|
||||
```
|
||||
|
||||
### Samples
|
||||
@@ -56,11 +67,11 @@ implementation/runtime_resource_management.md
|
||||
```{toctree}
|
||||
:maxdepth: 2
|
||||
|
||||
vrm1/vrm1_runtime_load.md
|
||||
vrm1/vrm1_get_humanoid.md
|
||||
vrm1/vrm1_expression.md
|
||||
vrm1/vrm1_lookat.md
|
||||
vrm1/vrm1_firstperson.md
|
||||
vrm1/vrm1_runtime_load
|
||||
vrm1/vrm1_get_humanoid
|
||||
vrm1/vrm1_expression
|
||||
vrm1/vrm1_lookat
|
||||
vrm1/vrm1_firstperson
|
||||
```
|
||||
|
||||
### Samples
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
var DOCUMENTATION_OPTIONS = {
|
||||
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
|
||||
VERSION: '',
|
||||
LANGUAGE: 'en',
|
||||
LANGUAGE: 'ja',
|
||||
COLLAPSE_INDEX: false,
|
||||
BUILDER: 'html',
|
||||
FILE_SUFFIX: '.html',
|
||||
|
||||
144
en/build.html
Normal file
144
en/build.html
Normal file
@@ -0,0 +1,144 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<title>アプリケーションのビルド — UniVRM Programming Document documentation</title>
|
||||
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
||||
<link rel="stylesheet" type="text/css" href="_static/nature.css" />
|
||||
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
|
||||
<script src="_static/jquery.js"></script>
|
||||
<script src="_static/underscore.js"></script>
|
||||
<script src="_static/doctools.js"></script>
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="GlbImport(0.82)" href="gltf/0_82_glb_import.html" />
|
||||
<link rel="prev" title="Version" href="history.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="genindex.html" title="General Index"
|
||||
accesskey="I">index</a></li>
|
||||
<li class="right" >
|
||||
<a href="gltf/0_82_glb_import.html" title="GlbImport(0.82)"
|
||||
accesskey="N">next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="history.html" title="Version"
|
||||
accesskey="P">previous</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="index.html">UniVRM Programming Document documentation</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">アプリケーションのビルド</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="document">
|
||||
<div class="documentwrapper">
|
||||
<div class="bodywrapper">
|
||||
<div class="body" role="main">
|
||||
|
||||
<section class="tex2jax_ignore mathjax_ignore" id="id1">
|
||||
<h1>アプリケーションのビルド<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
|
||||
<section id="id2">
|
||||
<h2>ビルドに含めるシェーダー<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
||||
<p><code class="docutils literal notranslate"><span class="pre">Project</span> <span class="pre">Settings</span> <span class="pre">=</span> <span class="pre">Graphics</span> <span class="pre">-</span> <span class="pre">Always</span> <span class="pre">Included</span> <span class="pre">Shaders</span></code> などに設定して、ビルドに含まれるようにしてください。</p>
|
||||
<section id="unlit">
|
||||
<h3>Unlit<a class="headerlink" href="#unlit" title="Permalink to this headline">¶</a></h3>
|
||||
<ul class="simple">
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">Assets\VRMShaders\GLTF\UniUnlit\Resources\UniGLTF\UniUnlit.shader</span></code></p></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="mtoon">
|
||||
<h3>MToon<a class="headerlink" href="#mtoon" title="Permalink to this headline">¶</a></h3>
|
||||
<ul class="simple">
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">Assets\VRMShaders\VRM\MToon\MToon\Resources\Shaders\MToon.shader</span></code></p></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="import-export">
|
||||
<h3>ランタイム import/export 時のテクスチャー変換用のシェーダー<a class="headerlink" href="#import-export" title="Permalink to this headline">¶</a></h3>
|
||||
<ul class="simple">
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\NormalMapExporter.shader</span></code></p></li>
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapExporter.shader</span></code></p></li>
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapImporter.shader</span></code></p></li>
|
||||
</ul>
|
||||
</section>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/build.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">アプリケーションのビルド</a><ul>
|
||||
<li><a class="reference internal" href="#id2">ビルドに含めるシェーダー</a><ul>
|
||||
<li><a class="reference internal" href="#unlit">Unlit</a></li>
|
||||
<li><a class="reference internal" href="#mtoon">MToon</a></li>
|
||||
<li><a class="reference internal" href="#import-export">ランタイム import/export 時のテクスチャー変換用のシェーダー</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="history.html"
|
||||
title="previous chapter">Version</a></p>
|
||||
<h4>Next topic</h4>
|
||||
<p class="topless"><a href="gltf/0_82_glb_import.html"
|
||||
title="next chapter">GlbImport(0.82)</a></p>
|
||||
<div role="note" aria-label="source link">
|
||||
<h3>This Page</h3>
|
||||
<ul class="this-page-menu">
|
||||
<li><a href="_sources/build.md.txt"
|
||||
rel="nofollow">Show Source</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">Quick search</h3>
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="search.html" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script>$('#searchbox').show(0);</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="genindex.html" title="General Index"
|
||||
>index</a></li>
|
||||
<li class="right" >
|
||||
<a href="gltf/0_82_glb_import.html" title="GlbImport(0.82)"
|
||||
>next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="history.html" title="Version"
|
||||
>previous</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="index.html">UniVRM Programming Document documentation</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">アプリケーションのビルド</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer" role="contentinfo">
|
||||
© Copyright 2021, VRM Consortium.
|
||||
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.2.0.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
@@ -45,6 +45,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/genindex.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">Quick search</h3>
|
||||
<div class="searchformwrapper">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -82,6 +82,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/gltf/0_36_update.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">GltfUpdate(0.36)</a><ul>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -16,7 +16,7 @@
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="The implementation of glTF extensions(0.63.2)" href="how_to_impl_extension.html" />
|
||||
<link rel="prev" title="Version" href="../history.html" />
|
||||
<link rel="prev" title="アプリケーションのビルド" href="../build.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>Navigation</h3>
|
||||
@@ -28,7 +28,7 @@
|
||||
<a href="how_to_impl_extension.html" title="The implementation of glTF extensions(0.63.2)"
|
||||
accesskey="N">next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../history.html" title="Version"
|
||||
<a href="../build.html" title="アプリケーションのビルド"
|
||||
accesskey="P">previous</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document documentation</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">GlbImport(0.82)</a></li>
|
||||
@@ -176,6 +176,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/gltf/0_82_glb_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">GlbImport(0.82)</a><ul>
|
||||
@@ -199,8 +204,8 @@
|
||||
</ul>
|
||||
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="../history.html"
|
||||
title="previous chapter">Version</a></p>
|
||||
<p class="topless"><a href="../build.html"
|
||||
title="previous chapter">アプリケーションのビルド</a></p>
|
||||
<h4>Next topic</h4>
|
||||
<p class="topless"><a href="how_to_impl_extension.html"
|
||||
title="next chapter">The implementation of glTF extensions(0.63.2)</a></p>
|
||||
@@ -235,7 +240,7 @@
|
||||
<a href="how_to_impl_extension.html" title="The implementation of glTF extensions(0.63.2)"
|
||||
>next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../history.html" title="Version"
|
||||
<a href="../build.html" title="アプリケーションのビルド"
|
||||
>previous</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document documentation</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">GlbImport(0.82)</a></li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -505,6 +505,11 @@ enumの場合はデフォルト値が無いので必須です。</p>
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/gltf/how_to_impl_extension.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">The implementation of glTF extensions(0.63.2)</a><ul>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -15,7 +15,7 @@
|
||||
<script src="_static/doctools.js"></script>
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="GlbImport(0.82)" href="gltf/0_82_glb_import.html" />
|
||||
<link rel="next" title="アプリケーションのビルド" href="build.html" />
|
||||
<link rel="prev" title="Package Structure" href="package.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
@@ -25,7 +25,7 @@
|
||||
<a href="genindex.html" title="General Index"
|
||||
accesskey="I">index</a></li>
|
||||
<li class="right" >
|
||||
<a href="gltf/0_82_glb_import.html" title="GlbImport(0.82)"
|
||||
<a href="build.html" title="アプリケーションのビルド"
|
||||
accesskey="N">next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="package.html" title="Package Structure"
|
||||
@@ -78,12 +78,17 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/history.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="package.html"
|
||||
title="previous chapter">Package Structure</a></p>
|
||||
<h4>Next topic</h4>
|
||||
<p class="topless"><a href="gltf/0_82_glb_import.html"
|
||||
title="next chapter">GlbImport(0.82)</a></p>
|
||||
<p class="topless"><a href="build.html"
|
||||
title="next chapter">アプリケーションのビルド</a></p>
|
||||
<div role="note" aria-label="source link">
|
||||
<h3>This Page</h3>
|
||||
<ul class="this-page-menu">
|
||||
@@ -112,7 +117,7 @@
|
||||
<a href="genindex.html" title="General Index"
|
||||
>index</a></li>
|
||||
<li class="right" >
|
||||
<a href="gltf/0_82_glb_import.html" title="GlbImport(0.82)"
|
||||
<a href="build.html" title="アプリケーションのビルド"
|
||||
>next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="package.html" title="Package Structure"
|
||||
|
||||
221
en/implementation/coordinate.html
Normal file
221
en/implementation/coordinate.html
Normal file
@@ -0,0 +1,221 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<title>座標系の変換 — UniVRM Programming Document documentation</title>
|
||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../_static/nature.css" />
|
||||
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
|
||||
<script src="../_static/jquery.js"></script>
|
||||
<script src="../_static/underscore.js"></script>
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
||||
<script>window.MathJax = {"options": {"processHtmlClass": "tex2jax_process|mathjax_process|math|output_area"}}</script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="RuntimeLoad" href="../vrm1/vrm1_runtime_load.html" />
|
||||
<link rel="prev" title="Texture関連" href="texture_manipulation.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="../genindex.html" title="General Index"
|
||||
accesskey="I">index</a></li>
|
||||
<li class="right" >
|
||||
<a href="../vrm1/vrm1_runtime_load.html" title="RuntimeLoad"
|
||||
accesskey="N">next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="texture_manipulation.html" title="Texture関連"
|
||||
accesskey="P">previous</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document documentation</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">座標系の変換</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="document">
|
||||
<div class="documentwrapper">
|
||||
<div class="bodywrapper">
|
||||
<div class="body" role="main">
|
||||
|
||||
<section class="tex2jax_ignore mathjax_ignore" id="id1">
|
||||
<h1>座標系の変換<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
|
||||
<p>UniVRMは、インポート・エクスポート時に座標変換を実行しています。</p>
|
||||
<table class="colwidths-auto docutils align-default">
|
||||
<thead>
|
||||
<tr class="row-odd"><th class="head"><p></p></th>
|
||||
<th class="head"><p>右</p></th>
|
||||
<th class="head"><p>上</p></th>
|
||||
<th class="head"><p>前</p></th>
|
||||
<th class="head"><p>掌性</p></th>
|
||||
<th class="head"><p>UV原点</p></th>
|
||||
<th class="head"><p></p></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="row-even"><td><p>Unity</p></td>
|
||||
<td><p>+X</p></td>
|
||||
<td><p>+Y</p></td>
|
||||
<td><p>+Z</p></td>
|
||||
<td><p>左手</p></td>
|
||||
<td><p>左下</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p>VRM-0</p></td>
|
||||
<td><p>+X</p></td>
|
||||
<td><p>+Y</p></td>
|
||||
<td><p>-Z</p></td>
|
||||
<td><p>右手</p></td>
|
||||
<td><p>左上</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p>VRM-1</p></td>
|
||||
<td><p>-X</p></td>
|
||||
<td><p>+Y</p></td>
|
||||
<td><p>+Z</p></td>
|
||||
<td><p>右手</p></td>
|
||||
<td><p>左上</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p>glTF</p></td>
|
||||
<td><p></p></td>
|
||||
<td><p>+Y</p></td>
|
||||
<td><p></p></td>
|
||||
<td><p>右手</p></td>
|
||||
<td><p>左上</p></td>
|
||||
<td><p>デフォルトはVRM-0方式。オプションでVRM-1方式を選べます</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="uv">
|
||||
<h2>UV<a class="headerlink" href="#uv" title="Permalink to this headline">¶</a></h2>
|
||||
<p>以下のように変換します。</p>
|
||||
<div class="math notranslate nohighlight">
|
||||
\[V^{\prime} = 1 - V\]</div>
|
||||
</section>
|
||||
<section id="unity-vrm0">
|
||||
<h2>Unity <-> VRM0<a class="headerlink" href="#unity-vrm0" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Z軸を反転します。</p>
|
||||
<section id="vector3-position-normal">
|
||||
<h3>Vector3: Position, Normalなど<a class="headerlink" href="#vector3-position-normal" title="Permalink to this headline">¶</a></h3>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="k">public</span> <span class="k">static</span> <span class="n">Vector3</span> <span class="nf">ReverseZ</span><span class="p">(</span><span class="k">this</span> <span class="n">Vector3</span> <span class="n">v</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="k">return</span> <span class="k">new</span> <span class="nf">Vector3</span><span class="p">(</span><span class="n">v</span><span class="p">.</span><span class="n">x</span><span class="p">,</span> <span class="n">v</span><span class="p">.</span><span class="n">y</span><span class="p">,</span> <span class="p">-</span><span class="n">v</span><span class="p">.</span><span class="n">z</span><span class="p">);</span>
|
||||
<span class="p">}</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="quaternion-rotation">
|
||||
<h3>Quaternion: Rotation<a class="headerlink" href="#quaternion-rotation" title="Permalink to this headline">¶</a></h3>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="k">public</span> <span class="k">static</span> <span class="n">Quaternion</span> <span class="nf">ReverseZ</span><span class="p">(</span><span class="k">this</span> <span class="n">Quaternion</span> <span class="n">q</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="kt">float</span> <span class="n">angle</span><span class="p">;</span>
|
||||
<span class="n">Vector3</span> <span class="n">axis</span><span class="p">;</span>
|
||||
<span class="n">q</span><span class="p">.</span><span class="n">ToAngleAxis</span><span class="p">(</span><span class="k">out</span> <span class="n">angle</span><span class="p">,</span> <span class="k">out</span> <span class="n">axis</span><span class="p">);</span>
|
||||
<span class="k">return</span> <span class="n">Quaternion</span><span class="p">.</span><span class="n">AngleAxis</span><span class="p">(-</span><span class="n">angle</span><span class="p">,</span> <span class="n">ReverseZ</span><span class="p">(</span><span class="n">axis</span><span class="p">));</span>
|
||||
<span class="p">}</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="matrix-bindmatrices">
|
||||
<h3>Matrix: BindMatrices<a class="headerlink" href="#matrix-bindmatrices" title="Permalink to this headline">¶</a></h3>
|
||||
<p>スケール値が入っているとうまくいきません</p>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="k">public</span> <span class="k">static</span> <span class="n">Matrix4x4</span> <span class="nf">ReverseZ</span><span class="p">(</span><span class="k">this</span> <span class="n">Matrix4x4</span> <span class="n">m</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="cp">#if UNITY_2017_1_OR_NEWER</span>
|
||||
<span class="n">m</span><span class="p">.</span><span class="n">SetTRS</span><span class="p">(</span><span class="n">m</span><span class="p">.</span><span class="n">GetColumn</span><span class="p">(</span><span class="m">3</span><span class="p">).</span><span class="n">ReverseZ</span><span class="p">(),</span> <span class="n">m</span><span class="p">.</span><span class="n">rotation</span><span class="p">.</span><span class="n">ReverseZ</span><span class="p">(),</span> <span class="n">Vector3</span><span class="p">.</span><span class="n">one</span><span class="p">);</span>
|
||||
<span class="cp">#else</span>
|
||||
<span class="n">m</span><span class="p">.</span><span class="n">SetTRS</span><span class="p">(</span><span class="n">m</span><span class="p">.</span><span class="n">ExtractPosition</span><span class="p">().</span><span class="n">ReverseZ</span><span class="p">(),</span> <span class="n">m</span><span class="p">.</span><span class="n">ExtractRotation</span><span class="p">().</span><span class="n">ReverseZ</span><span class="p">(),</span> <span class="n">Vector3</span><span class="p">.</span><span class="n">one</span><span class="p">);</span>
|
||||
<span class="cp">#endif</span>
|
||||
<span class="k">return</span> <span class="n">m</span><span class="p">;</span>
|
||||
<span class="p">}</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<section id="unity-vrm1">
|
||||
<h2>Unity <-> VRM1<a class="headerlink" href="#unity-vrm1" title="Permalink to this headline">¶</a></h2>
|
||||
<p>X軸を反転します。</p>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/implementation/coordinate.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">座標系の変換</a><ul>
|
||||
<li><a class="reference internal" href="#uv">UV</a></li>
|
||||
<li><a class="reference internal" href="#unity-vrm0">Unity <-> VRM0</a><ul>
|
||||
<li><a class="reference internal" href="#vector3-position-normal">Vector3: Position, Normalなど</a></li>
|
||||
<li><a class="reference internal" href="#quaternion-rotation">Quaternion: Rotation</a></li>
|
||||
<li><a class="reference internal" href="#matrix-bindmatrices">Matrix: BindMatrices</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="reference internal" href="#unity-vrm1">Unity <-> VRM1</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="texture_manipulation.html"
|
||||
title="previous chapter">Texture関連</a></p>
|
||||
<h4>Next topic</h4>
|
||||
<p class="topless"><a href="../vrm1/vrm1_runtime_load.html"
|
||||
title="next chapter">RuntimeLoad</a></p>
|
||||
<div role="note" aria-label="source link">
|
||||
<h3>This Page</h3>
|
||||
<ul class="this-page-menu">
|
||||
<li><a href="../_sources/implementation/coordinate.md.txt"
|
||||
rel="nofollow">Show Source</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">Quick search</h3>
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="../search.html" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script>$('#searchbox').show(0);</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="../genindex.html" title="General Index"
|
||||
>index</a></li>
|
||||
<li class="right" >
|
||||
<a href="../vrm1/vrm1_runtime_load.html" title="RuntimeLoad"
|
||||
>next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="texture_manipulation.html" title="Texture関連"
|
||||
>previous</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document documentation</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">座標系の変換</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer" role="contentinfo">
|
||||
© Copyright 2021, VRM Consortium.
|
||||
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.2.0.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -15,7 +15,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="RuntimeLoad" href="../vrm1/vrm1_runtime_load.html" />
|
||||
<link rel="next" title="Texture関連" href="texture_manipulation.html" />
|
||||
<link rel="prev" title="How to use VRMFirstPerson" href="../vrm0/firstperson.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
@@ -25,7 +25,7 @@
|
||||
<a href="../genindex.html" title="General Index"
|
||||
accesskey="I">index</a></li>
|
||||
<li class="right" >
|
||||
<a href="../vrm1/vrm1_runtime_load.html" title="RuntimeLoad"
|
||||
<a href="texture_manipulation.html" title="Texture関連"
|
||||
accesskey="N">next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../vrm0/firstperson.html" title="How to use VRMFirstPerson"
|
||||
@@ -102,6 +102,11 @@ RuntimeGltfInstance
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/implementation/runtime_resource_management.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">Runtime のリソース管理について</a><ul>
|
||||
@@ -118,8 +123,8 @@ RuntimeGltfInstance
|
||||
<p class="topless"><a href="../vrm0/firstperson.html"
|
||||
title="previous chapter">How to use VRMFirstPerson</a></p>
|
||||
<h4>Next topic</h4>
|
||||
<p class="topless"><a href="../vrm1/vrm1_runtime_load.html"
|
||||
title="next chapter">RuntimeLoad</a></p>
|
||||
<p class="topless"><a href="texture_manipulation.html"
|
||||
title="next chapter">Texture関連</a></p>
|
||||
<div role="note" aria-label="source link">
|
||||
<h3>This Page</h3>
|
||||
<ul class="this-page-menu">
|
||||
@@ -148,7 +153,7 @@ RuntimeGltfInstance
|
||||
<a href="../genindex.html" title="General Index"
|
||||
>index</a></li>
|
||||
<li class="right" >
|
||||
<a href="../vrm1/vrm1_runtime_load.html" title="RuntimeLoad"
|
||||
<a href="texture_manipulation.html" title="Texture関連"
|
||||
>next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../vrm0/firstperson.html" title="How to use VRMFirstPerson"
|
||||
|
||||
184
en/implementation/texture_manipulation.html
Normal file
184
en/implementation/texture_manipulation.html
Normal file
@@ -0,0 +1,184 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<title>Texture関連 — UniVRM Programming Document documentation</title>
|
||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../_static/nature.css" />
|
||||
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
|
||||
<script src="../_static/jquery.js"></script>
|
||||
<script src="../_static/underscore.js"></script>
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="座標系の変換" href="coordinate.html" />
|
||||
<link rel="prev" title="Runtime のリソース管理について" href="runtime_resource_management.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="../genindex.html" title="General Index"
|
||||
accesskey="I">index</a></li>
|
||||
<li class="right" >
|
||||
<a href="coordinate.html" title="座標系の変換"
|
||||
accesskey="N">next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="runtime_resource_management.html" title="Runtime のリソース管理について"
|
||||
accesskey="P">previous</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document documentation</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">Texture関連</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="document">
|
||||
<div class="documentwrapper">
|
||||
<div class="bodywrapper">
|
||||
<div class="body" role="main">
|
||||
|
||||
<section class="tex2jax_ignore mathjax_ignore" id="texture">
|
||||
<h1>Texture関連<a class="headerlink" href="#texture" title="Permalink to this headline">¶</a></h1>
|
||||
<section id="unity-linear">
|
||||
<h2>Unity の linear の テクスチャーの挙動について<a class="headerlink" href="#unity-linear" title="Permalink to this headline">¶</a></h2>
|
||||
<section id="runtime">
|
||||
<h3>Runtime<a class="headerlink" href="#runtime" title="Permalink to this headline">¶</a></h3>
|
||||
<p>new する場合は、</p>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="kt">var</span> <span class="n">texture</span> <span class="p">=</span> <span class="k">new</span> <span class="n">Texture2D</span><span class="p">(</span><span class="n">width</span><span class="p">,</span> <span class="n">height</span><span class="p">,</span> <span class="n">format</span><span class="p">,</span> <span class="n">mipChain</span><span class="p">,</span> <span class="n">linear</span> <span class="p">=</span> <span class="k">true</span><span class="p">);</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>とする。</p>
|
||||
</section>
|
||||
<section id="editor-asset">
|
||||
<h3>Editor(Asset)<a class="headerlink" href="#editor-asset" title="Permalink to this headline">¶</a></h3>
|
||||
<p>AssetFolder の png/jpg からloadする場合は、
|
||||
事前に設定が必用。</p>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="kt">var</span> <span class="n">textureImporter</span> <span class="p">=</span> <span class="n">AssetImporter</span><span class="p">.</span><span class="n">GetAtPath</span><span class="p">(</span><span class="n">assetPath</span><span class="p">)</span> <span class="k">as</span> <span class="n">TextureImporter</span><span class="p">;</span>
|
||||
<span class="n">textureImporter</span><span class="p">.</span><span class="n">sRGBTexture</span> <span class="p">=</span> <span class="k">false</span><span class="p">;</span> <span class="c1">// Linear</span>
|
||||
<span class="n">textureImporter</span><span class="p">.</span><span class="n">SaveAndReimport</span><span class="p">();</span>
|
||||
|
||||
<span class="c1">// linear でロードされます</span>
|
||||
<span class="kt">var</span> <span class="n">texture</span> <span class="p">=</span><span class="n">AssetDatabase</span><span class="p">.</span><span class="n">LoadAssetAtPath</span><span class="p"><</span><span class="n">Texture2D</span><span class="p">>(</span><span class="n">assetPath</span><span class="p">);</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<section id="unity-normalmap">
|
||||
<h2>Unity の NormalMap の挙動について<a class="headerlink" href="#unity-normalmap" title="Permalink to this headline">¶</a></h2>
|
||||
<blockquote>
|
||||
<div><p>MToon の NormalMap も同じ</p>
|
||||
</div></blockquote>
|
||||
<section id="id1">
|
||||
<h3>Runtime<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
|
||||
<p>new する場合は、</p>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="kt">var</span> <span class="n">texture</span> <span class="p">=</span> <span class="k">new</span> <span class="n">Texture2D</span><span class="p">(</span><span class="n">width</span><span class="p">,</span> <span class="n">height</span><span class="p">,</span> <span class="n">format</span><span class="p">,</span> <span class="n">mipChain</span><span class="p">,</span> <span class="n">linear</span> <span class="p">=</span> <span class="k">true</span><span class="p">);</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>とする。
|
||||
また、 <code class="docutils literal notranslate"><span class="pre">DXT5nm</span></code> という仕様で格納する必要があるので変換します。
|
||||
y と w の2要素だけを使います。</p>
|
||||
<div class="highlight-hlsl notranslate"><div class="highlight"><pre><span></span><span class="kt">half4</span> <span class="n">normal</span><span class="p">;</span>
|
||||
<span class="n">normal</span><span class="p">.</span><span class="n">x</span> <span class="o">=</span> <span class="mf">1.0</span><span class="p">;</span>
|
||||
<span class="n">normal</span><span class="p">.</span><span class="n">y</span> <span class="o">=</span> <span class="n">col</span><span class="p">.</span><span class="n">y</span><span class="p">;</span>
|
||||
<span class="n">normal</span><span class="p">.</span><span class="n">z</span> <span class="o">=</span> <span class="mf">1.0</span><span class="p">;</span>
|
||||
<span class="n">normal</span><span class="p">.</span><span class="n">w</span> <span class="o">=</span> <span class="n">col</span><span class="p">.</span><span class="n">x</span><span class="p">;</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="id2">
|
||||
<h3>Editor(Asset)<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
|
||||
<p>AssetFolder の png/jpg からloadする場合は、
|
||||
ロードする前に設定が必用。</p>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="kt">var</span> <span class="n">textureImporter</span> <span class="p">=</span> <span class="n">AssetImporter</span><span class="p">.</span><span class="n">GetAtPath</span><span class="p">(</span><span class="n">assetPath</span><span class="p">)</span> <span class="k">as</span> <span class="n">TextureImporter</span><span class="p">;</span>
|
||||
<span class="n">textureImporter</span><span class="p">.</span><span class="n">textureType</span> <span class="p">=</span> <span class="n">TextureImporterType</span><span class="p">.</span><span class="n">NormalMap</span><span class="p">;</span> <span class="c1">// normalMap</span>
|
||||
<span class="n">textureImporter</span><span class="p">.</span><span class="n">SaveAndReimport</span><span class="p">();</span>
|
||||
|
||||
<span class="c1">// DXT5nm でロードされます。</span>
|
||||
<span class="kt">var</span> <span class="n">texture</span> <span class="p">=</span><span class="n">AssetDatabase</span><span class="p">.</span><span class="n">LoadAssetAtPath</span><span class="p"><</span><span class="n">Texture2D</span><span class="p">>(</span><span class="n">assetPath</span><span class="p">);</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/implementation/texture_manipulation.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">Texture関連</a><ul>
|
||||
<li><a class="reference internal" href="#unity-linear">Unity の linear の テクスチャーの挙動について</a><ul>
|
||||
<li><a class="reference internal" href="#runtime">Runtime</a></li>
|
||||
<li><a class="reference internal" href="#editor-asset">Editor(Asset)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="reference internal" href="#unity-normalmap">Unity の NormalMap の挙動について</a><ul>
|
||||
<li><a class="reference internal" href="#id1">Runtime</a></li>
|
||||
<li><a class="reference internal" href="#id2">Editor(Asset)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="runtime_resource_management.html"
|
||||
title="previous chapter">Runtime のリソース管理について</a></p>
|
||||
<h4>Next topic</h4>
|
||||
<p class="topless"><a href="coordinate.html"
|
||||
title="next chapter">座標系の変換</a></p>
|
||||
<div role="note" aria-label="source link">
|
||||
<h3>This Page</h3>
|
||||
<ul class="this-page-menu">
|
||||
<li><a href="../_sources/implementation/texture_manipulation.md.txt"
|
||||
rel="nofollow">Show Source</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">Quick search</h3>
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="../search.html" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script>$('#searchbox').show(0);</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="../genindex.html" title="General Index"
|
||||
>index</a></li>
|
||||
<li class="right" >
|
||||
<a href="coordinate.html" title="座標系の変換"
|
||||
>next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="runtime_resource_management.html" title="Runtime のリソース管理について"
|
||||
>previous</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document documentation</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">Texture関連</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer" role="contentinfo">
|
||||
© Copyright 2021, VRM Consortium.
|
||||
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.2.0.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -49,6 +49,23 @@
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
<section id="build">
|
||||
<h2>build<a class="headerlink" href="#build" title="Permalink to this headline">¶</a></h2>
|
||||
<p>UniVRMを使うアプリケーションのビルドに関する注意事項</p>
|
||||
<div class="toctree-wrapper compound">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="build.html">アプリケーションのビルド</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="build.html#id2">ビルドに含めるシェーダー</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="build.html#unlit">Unlit</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="build.html#mtoon">MToon</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="build.html#import-export">ランタイム import/export 時のテクスチャー変換用のシェーダー</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
<section id="gltf">
|
||||
<h2>glTF<a class="headerlink" href="#gltf" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="toctree-wrapper compound">
|
||||
@@ -77,14 +94,9 @@
|
||||
<h2>実装メモ<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="toctree-wrapper compound">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="implementation/runtime_resource_management.html">Runtime のリソース管理について</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="implementation/runtime_resource_management.html#runtimegltfinstance">RuntimeGltfInstance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="implementation/runtime_resource_management.html#vrm10instance">Vrm10Instance</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="implementation/runtime_resource_management.html#firstperson">FirstPerson</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="implementation/runtime_resource_management.html">Runtime のリソース管理について</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="implementation/texture_manipulation.html">Texture関連</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="implementation/coordinate.html">座標系の変換</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<section id="samples">
|
||||
@@ -140,10 +152,16 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/index.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="#">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">UniVRM Programming Document</a><ul>
|
||||
<li><a class="reference internal" href="#id1">Overview</a></li>
|
||||
<li><a class="reference internal" href="#build">build</a></li>
|
||||
<li><a class="reference internal" href="#gltf">glTF</a></li>
|
||||
<li><a class="reference internal" href="#vrm">VRM</a></li>
|
||||
<li><a class="reference internal" href="#id2">実装メモ</a><ul>
|
||||
|
||||
BIN
en/objects.inv
BIN
en/objects.inv
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -100,6 +100,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/package.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">Package Structure</a><ul>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
@@ -74,6 +74,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/search.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -210,6 +210,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_44_runtime_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">RuntimeImport(0.44)</a><ul>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -202,6 +202,11 @@ BlendShape同士が競合することがわかりました。
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_58_blendshape.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">BlendShapeProxy(0.58)</a><ul>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -225,6 +225,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_68_runtime_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">RuntimeImport(0.68)</a><ul>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -125,6 +125,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_77_runtime_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="0_79_runtime_import.html"
|
||||
title="previous chapter">RuntimeImport(0.79)</a></p>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -59,6 +59,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_79_runtime_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="0_82_runtime_import.html"
|
||||
title="previous chapter">RuntimeImport(0.82)</a></p>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -127,6 +127,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_82_runtime_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">RuntimeImport(0.82)</a><ul>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -155,6 +155,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/firstperson.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">How to use VRMFirstPerson</a><ul>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -69,6 +69,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm1/vrm1_expression.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="vrm1_get_humanoid.html"
|
||||
title="previous chapter">🚧Humanoid</a></p>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -102,6 +102,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm1/vrm1_firstperson.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">FirstPerson</a><ul>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -60,6 +60,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm1/vrm1_get_humanoid.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">Table of Contents</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">🚧Humanoid</a><ul>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -51,6 +51,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm1/vrm1_lookat.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="vrm1_expression.html"
|
||||
title="previous chapter">🚧Expression</a></p>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
@@ -16,7 +16,7 @@
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="🚧Humanoid" href="vrm1_get_humanoid.html" />
|
||||
<link rel="prev" title="Runtime のリソース管理について" href="../implementation/runtime_resource_management.html" />
|
||||
<link rel="prev" title="座標系の変換" href="../implementation/coordinate.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>Navigation</h3>
|
||||
@@ -28,7 +28,7 @@
|
||||
<a href="vrm1_get_humanoid.html" title="🚧Humanoid"
|
||||
accesskey="N">next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../implementation/runtime_resource_management.html" title="Runtime のリソース管理について"
|
||||
<a href="../implementation/coordinate.html" title="座標系の変換"
|
||||
accesskey="P">previous</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document documentation</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">RuntimeLoad</a></li>
|
||||
@@ -101,9 +101,14 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm1/vrm1_runtime_load.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>Previous topic</h4>
|
||||
<p class="topless"><a href="../implementation/runtime_resource_management.html"
|
||||
title="previous chapter">Runtime のリソース管理について</a></p>
|
||||
<p class="topless"><a href="../implementation/coordinate.html"
|
||||
title="previous chapter">座標系の変換</a></p>
|
||||
<h4>Next topic</h4>
|
||||
<p class="topless"><a href="vrm1_get_humanoid.html"
|
||||
title="next chapter">🚧Humanoid</a></p>
|
||||
@@ -138,7 +143,7 @@
|
||||
<a href="vrm1_get_humanoid.html" title="🚧Humanoid"
|
||||
>next</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../implementation/runtime_resource_management.html" title="Runtime のリソース管理について"
|
||||
<a href="../implementation/coordinate.html" title="座標系の変換"
|
||||
>previous</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document documentation</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">RuntimeLoad</a></li>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Sphinx build info version 1
|
||||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
|
||||
config: 3a55ff211db07eb648407cbf318e2f77
|
||||
config: d6114ac4971575002bd5fd606a7fc455
|
||||
tags: 645f666f9bcd5a90fca523b33c5a78b7
|
||||
|
||||
BIN
ja/.doctrees/build.doctree
Normal file
BIN
ja/.doctrees/build.doctree
Normal file
Binary file not shown.
Binary file not shown.
BIN
ja/.doctrees/implementation/coordinate.doctree
Normal file
BIN
ja/.doctrees/implementation/coordinate.doctree
Normal file
Binary file not shown.
BIN
ja/.doctrees/implementation/texture_manipulation.doctree
Normal file
BIN
ja/.doctrees/implementation/texture_manipulation.doctree
Normal file
Binary file not shown.
Binary file not shown.
@@ -93,6 +93,11 @@ docs$ sphinx-quickstart
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/README.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">Sphinx 作業</a><ul>
|
||||
|
||||
19
ja/_sources/build.md.txt
Normal file
19
ja/_sources/build.md.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
# アプリケーションのビルド
|
||||
|
||||
## ビルドに含めるシェーダー
|
||||
|
||||
`Project Settings = Graphics - Always Included Shaders` などに設定して、ビルドに含まれるようにしてください。
|
||||
|
||||
### Unlit
|
||||
|
||||
* `Assets\VRMShaders\GLTF\UniUnlit\Resources\UniGLTF\UniUnlit.shader`
|
||||
|
||||
### MToon
|
||||
|
||||
* `Assets\VRMShaders\VRM\MToon\MToon\Resources\Shaders\MToon.shader`
|
||||
|
||||
### ランタイム import/export 時のテクスチャー変換用のシェーダー
|
||||
|
||||
* `Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\NormalMapExporter.shader`
|
||||
* `Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapExporter.shader`
|
||||
* `Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapImporter.shader`
|
||||
63
ja/_sources/implementation/coordinate.md.txt
Normal file
63
ja/_sources/implementation/coordinate.md.txt
Normal file
@@ -0,0 +1,63 @@
|
||||
# 座標系の変換
|
||||
|
||||
UniVRMは、インポート・エクスポート時に座標変換を実行しています。
|
||||
|
||||
| | 右 | 上 | 前 | 掌性 | UV原点 | |
|
||||
|-------|----|----|----|------|--------|--------------------------------------------------------|
|
||||
| Unity | +X | +Y | +Z | 左手 | 左下 | |
|
||||
| VRM-0 | +X | +Y | -Z | 右手 | 左上 | |
|
||||
| VRM-1 | -X | +Y | +Z | 右手 | 左上 | |
|
||||
| glTF | | +Y | | 右手 | 左上 | デフォルトはVRM-0方式。オプションでVRM-1方式を選べます |
|
||||
|
||||
## UV
|
||||
|
||||
以下のように変換します。
|
||||
|
||||
```{math}
|
||||
V^{\prime} = 1 - V
|
||||
```
|
||||
|
||||
## Unity <-> VRM0
|
||||
|
||||
Z軸を反転します。
|
||||
|
||||
### Vector3: Position, Normalなど
|
||||
|
||||
```csharp
|
||||
public static Vector3 ReverseZ(this Vector3 v)
|
||||
{
|
||||
return new Vector3(v.x, v.y, -v.z);
|
||||
}
|
||||
```
|
||||
|
||||
### Quaternion: Rotation
|
||||
|
||||
```csharp
|
||||
public static Quaternion ReverseZ(this Quaternion q)
|
||||
{
|
||||
float angle;
|
||||
Vector3 axis;
|
||||
q.ToAngleAxis(out angle, out axis);
|
||||
return Quaternion.AngleAxis(-angle, ReverseZ(axis));
|
||||
}
|
||||
```
|
||||
|
||||
### Matrix: BindMatrices
|
||||
|
||||
スケール値が入っているとうまくいきません
|
||||
|
||||
```csharp
|
||||
public static Matrix4x4 ReverseZ(this Matrix4x4 m)
|
||||
{
|
||||
#if UNITY_2017_1_OR_NEWER
|
||||
m.SetTRS(m.GetColumn(3).ReverseZ(), m.rotation.ReverseZ(), Vector3.one);
|
||||
#else
|
||||
m.SetTRS(m.ExtractPosition().ReverseZ(), m.ExtractRotation().ReverseZ(), Vector3.one);
|
||||
#endif
|
||||
return m;
|
||||
}
|
||||
```
|
||||
|
||||
## Unity <-> VRM1
|
||||
|
||||
X軸を反転します。
|
||||
65
ja/_sources/implementation/texture_manipulation.md.txt
Normal file
65
ja/_sources/implementation/texture_manipulation.md.txt
Normal file
@@ -0,0 +1,65 @@
|
||||
# Texture関連
|
||||
|
||||
## Unity の linear の テクスチャーの挙動について
|
||||
|
||||
### Runtime
|
||||
|
||||
new する場合は、
|
||||
|
||||
```csharp
|
||||
var texture = new Texture2D(width, height, format, mipChain, linear = true);
|
||||
```
|
||||
|
||||
とする。
|
||||
|
||||
### Editor(Asset)
|
||||
|
||||
AssetFolder の png/jpg からloadする場合は、
|
||||
事前に設定が必用。
|
||||
|
||||
```csharp
|
||||
var textureImporter = AssetImporter.GetAtPath(assetPath) as TextureImporter;
|
||||
textureImporter.sRGBTexture = false; // Linear
|
||||
textureImporter.SaveAndReimport();
|
||||
|
||||
// linear でロードされます
|
||||
var texture =AssetDatabase.LoadAssetAtPath<Texture2D>(assetPath);
|
||||
```
|
||||
|
||||
## Unity の NormalMap の挙動について
|
||||
|
||||
> MToon の NormalMap も同じ
|
||||
|
||||
### Runtime
|
||||
|
||||
new する場合は、
|
||||
|
||||
```csharp
|
||||
var texture = new Texture2D(width, height, format, mipChain, linear = true);
|
||||
```
|
||||
|
||||
とする。
|
||||
また、 `DXT5nm` という仕様で格納する必要があるので変換します。
|
||||
y と w の2要素だけを使います。
|
||||
|
||||
```hlsl
|
||||
half4 normal;
|
||||
normal.x = 1.0;
|
||||
normal.y = col.y;
|
||||
normal.z = 1.0;
|
||||
normal.w = col.x;
|
||||
```
|
||||
|
||||
### Editor(Asset)
|
||||
|
||||
AssetFolder の png/jpg からloadする場合は、
|
||||
ロードする前に設定が必用。
|
||||
|
||||
```csharp
|
||||
var textureImporter = AssetImporter.GetAtPath(assetPath) as TextureImporter;
|
||||
textureImporter.textureType = TextureImporterType.NormalMap; // normalMap
|
||||
textureImporter.SaveAndReimport();
|
||||
|
||||
// DXT5nm でロードされます。
|
||||
var texture =AssetDatabase.LoadAssetAtPath<Texture2D>(assetPath);
|
||||
```
|
||||
@@ -9,8 +9,16 @@ UnityでVRMをエクスポートする方法などについては [manual](https
|
||||
```{toctree}
|
||||
:maxdepth: 1
|
||||
|
||||
package.md
|
||||
history.md
|
||||
package
|
||||
history
|
||||
```
|
||||
|
||||
## build
|
||||
|
||||
UniVRMを使うアプリケーションのビルドに関する注意事項
|
||||
|
||||
```{toctree}
|
||||
build
|
||||
```
|
||||
|
||||
## glTF
|
||||
@@ -18,9 +26,9 @@ history.md
|
||||
```{toctree}
|
||||
:maxdepth: 1
|
||||
|
||||
gltf/0_82_glb_import.md
|
||||
gltf/how_to_impl_extension.md
|
||||
gltf/0_36_update.md
|
||||
gltf/0_82_glb_import
|
||||
gltf/how_to_impl_extension
|
||||
gltf/0_36_update
|
||||
```
|
||||
|
||||
## VRM
|
||||
@@ -28,20 +36,23 @@ gltf/0_36_update.md
|
||||
```{toctree}
|
||||
:maxdepth: 1
|
||||
|
||||
vrm0/0_82_runtime_import.md
|
||||
vrm0/0_79_runtime_import.md
|
||||
vrm0/0_77_runtime_import.md
|
||||
vrm0/0_68_runtime_import.md
|
||||
vrm0/0_44_runtime_import.md
|
||||
vrm0/0_58_blendshape.md
|
||||
vrm0/firstperson.md
|
||||
vrm0/0_82_runtime_import
|
||||
vrm0/0_79_runtime_import
|
||||
vrm0/0_77_runtime_import
|
||||
vrm0/0_68_runtime_import
|
||||
vrm0/0_44_runtime_import
|
||||
vrm0/0_58_blendshape
|
||||
vrm0/firstperson
|
||||
```
|
||||
|
||||
## 実装メモ
|
||||
|
||||
```{toctree}
|
||||
:maxdepth: 1
|
||||
|
||||
implementation/runtime_resource_management.md
|
||||
implementation/runtime_resource_management
|
||||
implementation/texture_manipulation
|
||||
implementation/coordinate
|
||||
```
|
||||
|
||||
### Samples
|
||||
@@ -56,11 +67,11 @@ implementation/runtime_resource_management.md
|
||||
```{toctree}
|
||||
:maxdepth: 2
|
||||
|
||||
vrm1/vrm1_runtime_load.md
|
||||
vrm1/vrm1_get_humanoid.md
|
||||
vrm1/vrm1_expression.md
|
||||
vrm1/vrm1_lookat.md
|
||||
vrm1/vrm1_firstperson.md
|
||||
vrm1/vrm1_runtime_load
|
||||
vrm1/vrm1_get_humanoid
|
||||
vrm1/vrm1_expression
|
||||
vrm1/vrm1_lookat
|
||||
vrm1/vrm1_firstperson
|
||||
```
|
||||
|
||||
### Samples
|
||||
|
||||
145
ja/build.html
Normal file
145
ja/build.html
Normal file
@@ -0,0 +1,145 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<title>アプリケーションのビルド — UniVRM Programming Document ドキュメント</title>
|
||||
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
||||
<link rel="stylesheet" type="text/css" href="_static/nature.css" />
|
||||
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
|
||||
<script src="_static/jquery.js"></script>
|
||||
<script src="_static/underscore.js"></script>
|
||||
<script src="_static/doctools.js"></script>
|
||||
<script src="_static/translations.js"></script>
|
||||
<link rel="index" title="索引" href="genindex.html" />
|
||||
<link rel="search" title="検索" href="search.html" />
|
||||
<link rel="next" title="GlbImport(0.82)" href="gltf/0_82_glb_import.html" />
|
||||
<link rel="prev" title="Version" href="history.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>ナビゲーション</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="genindex.html" title="総合索引"
|
||||
accesskey="I">索引</a></li>
|
||||
<li class="right" >
|
||||
<a href="gltf/0_82_glb_import.html" title="GlbImport(0.82)"
|
||||
accesskey="N">次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="history.html" title="Version"
|
||||
accesskey="P">前へ</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="index.html">UniVRM Programming Document ドキュメント</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">アプリケーションのビルド</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="document">
|
||||
<div class="documentwrapper">
|
||||
<div class="bodywrapper">
|
||||
<div class="body" role="main">
|
||||
|
||||
<section class="tex2jax_ignore mathjax_ignore" id="id1">
|
||||
<h1>アプリケーションのビルド<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
||||
<section id="id2">
|
||||
<h2>ビルドに含めるシェーダー<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
||||
<p><code class="docutils literal notranslate"><span class="pre">Project</span> <span class="pre">Settings</span> <span class="pre">=</span> <span class="pre">Graphics</span> <span class="pre">-</span> <span class="pre">Always</span> <span class="pre">Included</span> <span class="pre">Shaders</span></code> などに設定して、ビルドに含まれるようにしてください。</p>
|
||||
<section id="unlit">
|
||||
<h3>Unlit<a class="headerlink" href="#unlit" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
||||
<ul class="simple">
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">Assets\VRMShaders\GLTF\UniUnlit\Resources\UniGLTF\UniUnlit.shader</span></code></p></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="mtoon">
|
||||
<h3>MToon<a class="headerlink" href="#mtoon" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
||||
<ul class="simple">
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">Assets\VRMShaders\VRM\MToon\MToon\Resources\Shaders\MToon.shader</span></code></p></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="import-export">
|
||||
<h3>ランタイム import/export 時のテクスチャー変換用のシェーダー<a class="headerlink" href="#import-export" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
||||
<ul class="simple">
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\NormalMapExporter.shader</span></code></p></li>
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapExporter.shader</span></code></p></li>
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapImporter.shader</span></code></p></li>
|
||||
</ul>
|
||||
</section>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/build.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">アプリケーションのビルド</a><ul>
|
||||
<li><a class="reference internal" href="#id2">ビルドに含めるシェーダー</a><ul>
|
||||
<li><a class="reference internal" href="#unlit">Unlit</a></li>
|
||||
<li><a class="reference internal" href="#mtoon">MToon</a></li>
|
||||
<li><a class="reference internal" href="#import-export">ランタイム import/export 時のテクスチャー変換用のシェーダー</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>前のトピックへ</h4>
|
||||
<p class="topless"><a href="history.html"
|
||||
title="前の章へ">Version</a></p>
|
||||
<h4>次のトピックへ</h4>
|
||||
<p class="topless"><a href="gltf/0_82_glb_import.html"
|
||||
title="次の章へ">GlbImport(0.82)</a></p>
|
||||
<div role="note" aria-label="source link">
|
||||
<h3>このページ</h3>
|
||||
<ul class="this-page-menu">
|
||||
<li><a href="_sources/build.md.txt"
|
||||
rel="nofollow">ソースコードを表示</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">クイック検索</h3>
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="search.html" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
||||
<input type="submit" value="検索" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script>$('#searchbox').show(0);</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>ナビゲーション</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="genindex.html" title="総合索引"
|
||||
>索引</a></li>
|
||||
<li class="right" >
|
||||
<a href="gltf/0_82_glb_import.html" title="GlbImport(0.82)"
|
||||
>次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="history.html" title="Version"
|
||||
>前へ</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="index.html">UniVRM Programming Document ドキュメント</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">アプリケーションのビルド</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer" role="contentinfo">
|
||||
© Copyright 2021, VRM Consortium.
|
||||
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.2.0.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -46,6 +46,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/genindex.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">クイック検索</h3>
|
||||
<div class="searchformwrapper">
|
||||
|
||||
@@ -83,6 +83,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/gltf/0_36_update.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">GltfUpdate(0.36)</a><ul>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<link rel="index" title="索引" href="../genindex.html" />
|
||||
<link rel="search" title="検索" href="../search.html" />
|
||||
<link rel="next" title="glTF拡張の実装(0.63.2)" href="how_to_impl_extension.html" />
|
||||
<link rel="prev" title="Version" href="../history.html" />
|
||||
<link rel="prev" title="アプリケーションのビルド" href="../build.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>ナビゲーション</h3>
|
||||
@@ -29,7 +29,7 @@
|
||||
<a href="how_to_impl_extension.html" title="glTF拡張の実装(0.63.2)"
|
||||
accesskey="N">次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../history.html" title="Version"
|
||||
<a href="../build.html" title="アプリケーションのビルド"
|
||||
accesskey="P">前へ</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document ドキュメント</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">GlbImport(0.82)</a></li>
|
||||
@@ -178,6 +178,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/gltf/0_82_glb_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">GlbImport(0.82)</a><ul>
|
||||
@@ -201,8 +206,8 @@
|
||||
</ul>
|
||||
|
||||
<h4>前のトピックへ</h4>
|
||||
<p class="topless"><a href="../history.html"
|
||||
title="前の章へ">Version</a></p>
|
||||
<p class="topless"><a href="../build.html"
|
||||
title="前の章へ">アプリケーションのビルド</a></p>
|
||||
<h4>次のトピックへ</h4>
|
||||
<p class="topless"><a href="how_to_impl_extension.html"
|
||||
title="次の章へ">glTF拡張の実装(0.63.2)</a></p>
|
||||
@@ -237,7 +242,7 @@
|
||||
<a href="how_to_impl_extension.html" title="glTF拡張の実装(0.63.2)"
|
||||
>次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../history.html" title="Version"
|
||||
<a href="../build.html" title="アプリケーションのビルド"
|
||||
>前へ</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document ドキュメント</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">GlbImport(0.82)</a></li>
|
||||
|
||||
@@ -507,6 +507,11 @@ enumの場合はデフォルト値が無いので必須です。</p>
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/gltf/how_to_impl_extension.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">glTF拡張の実装(0.63.2)</a><ul>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<script src="_static/translations.js"></script>
|
||||
<link rel="index" title="索引" href="genindex.html" />
|
||||
<link rel="search" title="検索" href="search.html" />
|
||||
<link rel="next" title="GlbImport(0.82)" href="gltf/0_82_glb_import.html" />
|
||||
<link rel="next" title="アプリケーションのビルド" href="build.html" />
|
||||
<link rel="prev" title="パッケージ構成" href="package.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
@@ -26,7 +26,7 @@
|
||||
<a href="genindex.html" title="総合索引"
|
||||
accesskey="I">索引</a></li>
|
||||
<li class="right" >
|
||||
<a href="gltf/0_82_glb_import.html" title="GlbImport(0.82)"
|
||||
<a href="build.html" title="アプリケーションのビルド"
|
||||
accesskey="N">次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="package.html" title="パッケージ構成"
|
||||
@@ -79,12 +79,17 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/history.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>前のトピックへ</h4>
|
||||
<p class="topless"><a href="package.html"
|
||||
title="前の章へ">パッケージ構成</a></p>
|
||||
<h4>次のトピックへ</h4>
|
||||
<p class="topless"><a href="gltf/0_82_glb_import.html"
|
||||
title="次の章へ">GlbImport(0.82)</a></p>
|
||||
<p class="topless"><a href="build.html"
|
||||
title="次の章へ">アプリケーションのビルド</a></p>
|
||||
<div role="note" aria-label="source link">
|
||||
<h3>このページ</h3>
|
||||
<ul class="this-page-menu">
|
||||
@@ -113,7 +118,7 @@
|
||||
<a href="genindex.html" title="総合索引"
|
||||
>索引</a></li>
|
||||
<li class="right" >
|
||||
<a href="gltf/0_82_glb_import.html" title="GlbImport(0.82)"
|
||||
<a href="build.html" title="アプリケーションのビルド"
|
||||
>次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="package.html" title="パッケージ構成"
|
||||
|
||||
222
ja/implementation/coordinate.html
Normal file
222
ja/implementation/coordinate.html
Normal file
@@ -0,0 +1,222 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<title>座標系の変換 — UniVRM Programming Document ドキュメント</title>
|
||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../_static/nature.css" />
|
||||
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
|
||||
<script src="../_static/jquery.js"></script>
|
||||
<script src="../_static/underscore.js"></script>
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/translations.js"></script>
|
||||
<script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
||||
<script>window.MathJax = {"options": {"processHtmlClass": "tex2jax_process|mathjax_process|math|output_area"}}</script>
|
||||
<link rel="index" title="索引" href="../genindex.html" />
|
||||
<link rel="search" title="検索" href="../search.html" />
|
||||
<link rel="next" title="RuntimeLoad" href="../vrm1/vrm1_runtime_load.html" />
|
||||
<link rel="prev" title="Texture関連" href="texture_manipulation.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>ナビゲーション</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="../genindex.html" title="総合索引"
|
||||
accesskey="I">索引</a></li>
|
||||
<li class="right" >
|
||||
<a href="../vrm1/vrm1_runtime_load.html" title="RuntimeLoad"
|
||||
accesskey="N">次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="texture_manipulation.html" title="Texture関連"
|
||||
accesskey="P">前へ</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document ドキュメント</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">座標系の変換</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="document">
|
||||
<div class="documentwrapper">
|
||||
<div class="bodywrapper">
|
||||
<div class="body" role="main">
|
||||
|
||||
<section class="tex2jax_ignore mathjax_ignore" id="id1">
|
||||
<h1>座標系の変換<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
||||
<p>UniVRMは、インポート・エクスポート時に座標変換を実行しています。</p>
|
||||
<table class="colwidths-auto docutils align-default">
|
||||
<thead>
|
||||
<tr class="row-odd"><th class="head"><p></p></th>
|
||||
<th class="head"><p>右</p></th>
|
||||
<th class="head"><p>上</p></th>
|
||||
<th class="head"><p>前</p></th>
|
||||
<th class="head"><p>掌性</p></th>
|
||||
<th class="head"><p>UV原点</p></th>
|
||||
<th class="head"><p></p></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="row-even"><td><p>Unity</p></td>
|
||||
<td><p>+X</p></td>
|
||||
<td><p>+Y</p></td>
|
||||
<td><p>+Z</p></td>
|
||||
<td><p>左手</p></td>
|
||||
<td><p>左下</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p>VRM-0</p></td>
|
||||
<td><p>+X</p></td>
|
||||
<td><p>+Y</p></td>
|
||||
<td><p>-Z</p></td>
|
||||
<td><p>右手</p></td>
|
||||
<td><p>左上</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p>VRM-1</p></td>
|
||||
<td><p>-X</p></td>
|
||||
<td><p>+Y</p></td>
|
||||
<td><p>+Z</p></td>
|
||||
<td><p>右手</p></td>
|
||||
<td><p>左上</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p>glTF</p></td>
|
||||
<td><p></p></td>
|
||||
<td><p>+Y</p></td>
|
||||
<td><p></p></td>
|
||||
<td><p>右手</p></td>
|
||||
<td><p>左上</p></td>
|
||||
<td><p>デフォルトはVRM-0方式。オプションでVRM-1方式を選べます</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="uv">
|
||||
<h2>UV<a class="headerlink" href="#uv" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
||||
<p>以下のように変換します。</p>
|
||||
<div class="math notranslate nohighlight">
|
||||
\[V^{\prime} = 1 - V\]</div>
|
||||
</section>
|
||||
<section id="unity-vrm0">
|
||||
<h2>Unity <-> VRM0<a class="headerlink" href="#unity-vrm0" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
||||
<p>Z軸を反転します。</p>
|
||||
<section id="vector3-position-normal">
|
||||
<h3>Vector3: Position, Normalなど<a class="headerlink" href="#vector3-position-normal" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="k">public</span> <span class="k">static</span> <span class="n">Vector3</span> <span class="nf">ReverseZ</span><span class="p">(</span><span class="k">this</span> <span class="n">Vector3</span> <span class="n">v</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="k">return</span> <span class="k">new</span> <span class="nf">Vector3</span><span class="p">(</span><span class="n">v</span><span class="p">.</span><span class="n">x</span><span class="p">,</span> <span class="n">v</span><span class="p">.</span><span class="n">y</span><span class="p">,</span> <span class="p">-</span><span class="n">v</span><span class="p">.</span><span class="n">z</span><span class="p">);</span>
|
||||
<span class="p">}</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="quaternion-rotation">
|
||||
<h3>Quaternion: Rotation<a class="headerlink" href="#quaternion-rotation" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="k">public</span> <span class="k">static</span> <span class="n">Quaternion</span> <span class="nf">ReverseZ</span><span class="p">(</span><span class="k">this</span> <span class="n">Quaternion</span> <span class="n">q</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="kt">float</span> <span class="n">angle</span><span class="p">;</span>
|
||||
<span class="n">Vector3</span> <span class="n">axis</span><span class="p">;</span>
|
||||
<span class="n">q</span><span class="p">.</span><span class="n">ToAngleAxis</span><span class="p">(</span><span class="k">out</span> <span class="n">angle</span><span class="p">,</span> <span class="k">out</span> <span class="n">axis</span><span class="p">);</span>
|
||||
<span class="k">return</span> <span class="n">Quaternion</span><span class="p">.</span><span class="n">AngleAxis</span><span class="p">(-</span><span class="n">angle</span><span class="p">,</span> <span class="n">ReverseZ</span><span class="p">(</span><span class="n">axis</span><span class="p">));</span>
|
||||
<span class="p">}</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="matrix-bindmatrices">
|
||||
<h3>Matrix: BindMatrices<a class="headerlink" href="#matrix-bindmatrices" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
||||
<p>スケール値が入っているとうまくいきません</p>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="k">public</span> <span class="k">static</span> <span class="n">Matrix4x4</span> <span class="nf">ReverseZ</span><span class="p">(</span><span class="k">this</span> <span class="n">Matrix4x4</span> <span class="n">m</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="cp">#if UNITY_2017_1_OR_NEWER</span>
|
||||
<span class="n">m</span><span class="p">.</span><span class="n">SetTRS</span><span class="p">(</span><span class="n">m</span><span class="p">.</span><span class="n">GetColumn</span><span class="p">(</span><span class="m">3</span><span class="p">).</span><span class="n">ReverseZ</span><span class="p">(),</span> <span class="n">m</span><span class="p">.</span><span class="n">rotation</span><span class="p">.</span><span class="n">ReverseZ</span><span class="p">(),</span> <span class="n">Vector3</span><span class="p">.</span><span class="n">one</span><span class="p">);</span>
|
||||
<span class="cp">#else</span>
|
||||
<span class="n">m</span><span class="p">.</span><span class="n">SetTRS</span><span class="p">(</span><span class="n">m</span><span class="p">.</span><span class="n">ExtractPosition</span><span class="p">().</span><span class="n">ReverseZ</span><span class="p">(),</span> <span class="n">m</span><span class="p">.</span><span class="n">ExtractRotation</span><span class="p">().</span><span class="n">ReverseZ</span><span class="p">(),</span> <span class="n">Vector3</span><span class="p">.</span><span class="n">one</span><span class="p">);</span>
|
||||
<span class="cp">#endif</span>
|
||||
<span class="k">return</span> <span class="n">m</span><span class="p">;</span>
|
||||
<span class="p">}</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<section id="unity-vrm1">
|
||||
<h2>Unity <-> VRM1<a class="headerlink" href="#unity-vrm1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
||||
<p>X軸を反転します。</p>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/implementation/coordinate.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">座標系の変換</a><ul>
|
||||
<li><a class="reference internal" href="#uv">UV</a></li>
|
||||
<li><a class="reference internal" href="#unity-vrm0">Unity <-> VRM0</a><ul>
|
||||
<li><a class="reference internal" href="#vector3-position-normal">Vector3: Position, Normalなど</a></li>
|
||||
<li><a class="reference internal" href="#quaternion-rotation">Quaternion: Rotation</a></li>
|
||||
<li><a class="reference internal" href="#matrix-bindmatrices">Matrix: BindMatrices</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="reference internal" href="#unity-vrm1">Unity <-> VRM1</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>前のトピックへ</h4>
|
||||
<p class="topless"><a href="texture_manipulation.html"
|
||||
title="前の章へ">Texture関連</a></p>
|
||||
<h4>次のトピックへ</h4>
|
||||
<p class="topless"><a href="../vrm1/vrm1_runtime_load.html"
|
||||
title="次の章へ">RuntimeLoad</a></p>
|
||||
<div role="note" aria-label="source link">
|
||||
<h3>このページ</h3>
|
||||
<ul class="this-page-menu">
|
||||
<li><a href="../_sources/implementation/coordinate.md.txt"
|
||||
rel="nofollow">ソースコードを表示</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">クイック検索</h3>
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="../search.html" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
||||
<input type="submit" value="検索" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script>$('#searchbox').show(0);</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>ナビゲーション</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="../genindex.html" title="総合索引"
|
||||
>索引</a></li>
|
||||
<li class="right" >
|
||||
<a href="../vrm1/vrm1_runtime_load.html" title="RuntimeLoad"
|
||||
>次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="texture_manipulation.html" title="Texture関連"
|
||||
>前へ</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document ドキュメント</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">座標系の変換</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer" role="contentinfo">
|
||||
© Copyright 2021, VRM Consortium.
|
||||
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.2.0.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -16,7 +16,7 @@
|
||||
<script src="../_static/translations.js"></script>
|
||||
<link rel="index" title="索引" href="../genindex.html" />
|
||||
<link rel="search" title="検索" href="../search.html" />
|
||||
<link rel="next" title="RuntimeLoad" href="../vrm1/vrm1_runtime_load.html" />
|
||||
<link rel="next" title="Texture関連" href="texture_manipulation.html" />
|
||||
<link rel="prev" title="VRMFirstPersonの使い方" href="../vrm0/firstperson.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
@@ -26,7 +26,7 @@
|
||||
<a href="../genindex.html" title="総合索引"
|
||||
accesskey="I">索引</a></li>
|
||||
<li class="right" >
|
||||
<a href="../vrm1/vrm1_runtime_load.html" title="RuntimeLoad"
|
||||
<a href="texture_manipulation.html" title="Texture関連"
|
||||
accesskey="N">次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../vrm0/firstperson.html" title="VRMFirstPersonの使い方"
|
||||
@@ -103,6 +103,11 @@ RuntimeGltfInstance
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/implementation/runtime_resource_management.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">Runtime のリソース管理について</a><ul>
|
||||
@@ -119,8 +124,8 @@ RuntimeGltfInstance
|
||||
<p class="topless"><a href="../vrm0/firstperson.html"
|
||||
title="前の章へ">VRMFirstPersonの使い方</a></p>
|
||||
<h4>次のトピックへ</h4>
|
||||
<p class="topless"><a href="../vrm1/vrm1_runtime_load.html"
|
||||
title="次の章へ">RuntimeLoad</a></p>
|
||||
<p class="topless"><a href="texture_manipulation.html"
|
||||
title="次の章へ">Texture関連</a></p>
|
||||
<div role="note" aria-label="source link">
|
||||
<h3>このページ</h3>
|
||||
<ul class="this-page-menu">
|
||||
@@ -149,7 +154,7 @@ RuntimeGltfInstance
|
||||
<a href="../genindex.html" title="総合索引"
|
||||
>索引</a></li>
|
||||
<li class="right" >
|
||||
<a href="../vrm1/vrm1_runtime_load.html" title="RuntimeLoad"
|
||||
<a href="texture_manipulation.html" title="Texture関連"
|
||||
>次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../vrm0/firstperson.html" title="VRMFirstPersonの使い方"
|
||||
|
||||
185
ja/implementation/texture_manipulation.html
Normal file
185
ja/implementation/texture_manipulation.html
Normal file
@@ -0,0 +1,185 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<title>Texture関連 — UniVRM Programming Document ドキュメント</title>
|
||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../_static/nature.css" />
|
||||
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
|
||||
<script src="../_static/jquery.js"></script>
|
||||
<script src="../_static/underscore.js"></script>
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/translations.js"></script>
|
||||
<link rel="index" title="索引" href="../genindex.html" />
|
||||
<link rel="search" title="検索" href="../search.html" />
|
||||
<link rel="next" title="座標系の変換" href="coordinate.html" />
|
||||
<link rel="prev" title="Runtime のリソース管理について" href="runtime_resource_management.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>ナビゲーション</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="../genindex.html" title="総合索引"
|
||||
accesskey="I">索引</a></li>
|
||||
<li class="right" >
|
||||
<a href="coordinate.html" title="座標系の変換"
|
||||
accesskey="N">次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="runtime_resource_management.html" title="Runtime のリソース管理について"
|
||||
accesskey="P">前へ</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document ドキュメント</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">Texture関連</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="document">
|
||||
<div class="documentwrapper">
|
||||
<div class="bodywrapper">
|
||||
<div class="body" role="main">
|
||||
|
||||
<section class="tex2jax_ignore mathjax_ignore" id="texture">
|
||||
<h1>Texture関連<a class="headerlink" href="#texture" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
||||
<section id="unity-linear">
|
||||
<h2>Unity の linear の テクスチャーの挙動について<a class="headerlink" href="#unity-linear" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
||||
<section id="runtime">
|
||||
<h3>Runtime<a class="headerlink" href="#runtime" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
||||
<p>new する場合は、</p>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="kt">var</span> <span class="n">texture</span> <span class="p">=</span> <span class="k">new</span> <span class="n">Texture2D</span><span class="p">(</span><span class="n">width</span><span class="p">,</span> <span class="n">height</span><span class="p">,</span> <span class="n">format</span><span class="p">,</span> <span class="n">mipChain</span><span class="p">,</span> <span class="n">linear</span> <span class="p">=</span> <span class="k">true</span><span class="p">);</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>とする。</p>
|
||||
</section>
|
||||
<section id="editor-asset">
|
||||
<h3>Editor(Asset)<a class="headerlink" href="#editor-asset" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
||||
<p>AssetFolder の png/jpg からloadする場合は、
|
||||
事前に設定が必用。</p>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="kt">var</span> <span class="n">textureImporter</span> <span class="p">=</span> <span class="n">AssetImporter</span><span class="p">.</span><span class="n">GetAtPath</span><span class="p">(</span><span class="n">assetPath</span><span class="p">)</span> <span class="k">as</span> <span class="n">TextureImporter</span><span class="p">;</span>
|
||||
<span class="n">textureImporter</span><span class="p">.</span><span class="n">sRGBTexture</span> <span class="p">=</span> <span class="k">false</span><span class="p">;</span> <span class="c1">// Linear</span>
|
||||
<span class="n">textureImporter</span><span class="p">.</span><span class="n">SaveAndReimport</span><span class="p">();</span>
|
||||
|
||||
<span class="c1">// linear でロードされます</span>
|
||||
<span class="kt">var</span> <span class="n">texture</span> <span class="p">=</span><span class="n">AssetDatabase</span><span class="p">.</span><span class="n">LoadAssetAtPath</span><span class="p"><</span><span class="n">Texture2D</span><span class="p">>(</span><span class="n">assetPath</span><span class="p">);</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<section id="unity-normalmap">
|
||||
<h2>Unity の NormalMap の挙動について<a class="headerlink" href="#unity-normalmap" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
||||
<blockquote>
|
||||
<div><p>MToon の NormalMap も同じ</p>
|
||||
</div></blockquote>
|
||||
<section id="id1">
|
||||
<h3>Runtime<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
||||
<p>new する場合は、</p>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="kt">var</span> <span class="n">texture</span> <span class="p">=</span> <span class="k">new</span> <span class="n">Texture2D</span><span class="p">(</span><span class="n">width</span><span class="p">,</span> <span class="n">height</span><span class="p">,</span> <span class="n">format</span><span class="p">,</span> <span class="n">mipChain</span><span class="p">,</span> <span class="n">linear</span> <span class="p">=</span> <span class="k">true</span><span class="p">);</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>とする。
|
||||
また、 <code class="docutils literal notranslate"><span class="pre">DXT5nm</span></code> という仕様で格納する必要があるので変換します。
|
||||
y と w の2要素だけを使います。</p>
|
||||
<div class="highlight-hlsl notranslate"><div class="highlight"><pre><span></span><span class="kt">half4</span> <span class="n">normal</span><span class="p">;</span>
|
||||
<span class="n">normal</span><span class="p">.</span><span class="n">x</span> <span class="o">=</span> <span class="mf">1.0</span><span class="p">;</span>
|
||||
<span class="n">normal</span><span class="p">.</span><span class="n">y</span> <span class="o">=</span> <span class="n">col</span><span class="p">.</span><span class="n">y</span><span class="p">;</span>
|
||||
<span class="n">normal</span><span class="p">.</span><span class="n">z</span> <span class="o">=</span> <span class="mf">1.0</span><span class="p">;</span>
|
||||
<span class="n">normal</span><span class="p">.</span><span class="n">w</span> <span class="o">=</span> <span class="n">col</span><span class="p">.</span><span class="n">x</span><span class="p">;</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="id2">
|
||||
<h3>Editor(Asset)<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
||||
<p>AssetFolder の png/jpg からloadする場合は、
|
||||
ロードする前に設定が必用。</p>
|
||||
<div class="highlight-csharp notranslate"><div class="highlight"><pre><span></span><span class="kt">var</span> <span class="n">textureImporter</span> <span class="p">=</span> <span class="n">AssetImporter</span><span class="p">.</span><span class="n">GetAtPath</span><span class="p">(</span><span class="n">assetPath</span><span class="p">)</span> <span class="k">as</span> <span class="n">TextureImporter</span><span class="p">;</span>
|
||||
<span class="n">textureImporter</span><span class="p">.</span><span class="n">textureType</span> <span class="p">=</span> <span class="n">TextureImporterType</span><span class="p">.</span><span class="n">NormalMap</span><span class="p">;</span> <span class="c1">// normalMap</span>
|
||||
<span class="n">textureImporter</span><span class="p">.</span><span class="n">SaveAndReimport</span><span class="p">();</span>
|
||||
|
||||
<span class="c1">// DXT5nm でロードされます。</span>
|
||||
<span class="kt">var</span> <span class="n">texture</span> <span class="p">=</span><span class="n">AssetDatabase</span><span class="p">.</span><span class="n">LoadAssetAtPath</span><span class="p"><</span><span class="n">Texture2D</span><span class="p">>(</span><span class="n">assetPath</span><span class="p">);</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/implementation/texture_manipulation.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">Texture関連</a><ul>
|
||||
<li><a class="reference internal" href="#unity-linear">Unity の linear の テクスチャーの挙動について</a><ul>
|
||||
<li><a class="reference internal" href="#runtime">Runtime</a></li>
|
||||
<li><a class="reference internal" href="#editor-asset">Editor(Asset)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="reference internal" href="#unity-normalmap">Unity の NormalMap の挙動について</a><ul>
|
||||
<li><a class="reference internal" href="#id1">Runtime</a></li>
|
||||
<li><a class="reference internal" href="#id2">Editor(Asset)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>前のトピックへ</h4>
|
||||
<p class="topless"><a href="runtime_resource_management.html"
|
||||
title="前の章へ">Runtime のリソース管理について</a></p>
|
||||
<h4>次のトピックへ</h4>
|
||||
<p class="topless"><a href="coordinate.html"
|
||||
title="次の章へ">座標系の変換</a></p>
|
||||
<div role="note" aria-label="source link">
|
||||
<h3>このページ</h3>
|
||||
<ul class="this-page-menu">
|
||||
<li><a href="../_sources/implementation/texture_manipulation.md.txt"
|
||||
rel="nofollow">ソースコードを表示</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">クイック検索</h3>
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="../search.html" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
||||
<input type="submit" value="検索" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script>$('#searchbox').show(0);</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>ナビゲーション</h3>
|
||||
<ul>
|
||||
<li class="right" style="margin-right: 10px">
|
||||
<a href="../genindex.html" title="総合索引"
|
||||
>索引</a></li>
|
||||
<li class="right" >
|
||||
<a href="coordinate.html" title="座標系の変換"
|
||||
>次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="runtime_resource_management.html" title="Runtime のリソース管理について"
|
||||
>前へ</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document ドキュメント</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">Texture関連</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer" role="contentinfo">
|
||||
© Copyright 2021, VRM Consortium.
|
||||
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.2.0.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -50,6 +50,23 @@
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
<section id="build">
|
||||
<h2>build<a class="headerlink" href="#build" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
||||
<p>UniVRMを使うアプリケーションのビルドに関する注意事項</p>
|
||||
<div class="toctree-wrapper compound">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="build.html">アプリケーションのビルド</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="build.html#id2">ビルドに含めるシェーダー</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="build.html#unlit">Unlit</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="build.html#mtoon">MToon</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="build.html#import-export">ランタイム import/export 時のテクスチャー変換用のシェーダー</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
<section id="gltf">
|
||||
<h2>glTF<a class="headerlink" href="#gltf" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
||||
<div class="toctree-wrapper compound">
|
||||
@@ -78,14 +95,9 @@
|
||||
<h2>実装メモ<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
||||
<div class="toctree-wrapper compound">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="implementation/runtime_resource_management.html">Runtime のリソース管理について</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="implementation/runtime_resource_management.html#runtimegltfinstance">RuntimeGltfInstance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="implementation/runtime_resource_management.html#vrm10instance">Vrm10Instance</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="implementation/runtime_resource_management.html#firstperson">FirstPerson</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="implementation/runtime_resource_management.html">Runtime のリソース管理について</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="implementation/texture_manipulation.html">Texture関連</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="implementation/coordinate.html">座標系の変換</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<section id="samples">
|
||||
@@ -141,10 +153,16 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/index.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="#">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">UniVRM Programming Document</a><ul>
|
||||
<li><a class="reference internal" href="#id1">概要</a></li>
|
||||
<li><a class="reference internal" href="#build">build</a></li>
|
||||
<li><a class="reference internal" href="#gltf">glTF</a></li>
|
||||
<li><a class="reference internal" href="#vrm">VRM</a></li>
|
||||
<li><a class="reference internal" href="#id2">実装メモ</a><ul>
|
||||
|
||||
BIN
ja/objects.inv
BIN
ja/objects.inv
Binary file not shown.
@@ -101,6 +101,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/package.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">パッケージ構成</a><ul>
|
||||
|
||||
@@ -74,6 +74,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../public/en/html/search.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -211,6 +211,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_44_runtime_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">RuntimeImport(0.44)</a><ul>
|
||||
|
||||
@@ -204,6 +204,11 @@ BlendShape同士が競合することがわかりました。
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_58_blendshape.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">BlendShapeProxy(0.58)</a><ul>
|
||||
|
||||
@@ -226,6 +226,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_68_runtime_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">RuntimeImport(0.68)</a><ul>
|
||||
|
||||
@@ -129,6 +129,11 @@ Load の呼び出し後の任意のタイミングで ImporterContext.Dispose
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_77_runtime_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>前のトピックへ</h4>
|
||||
<p class="topless"><a href="0_79_runtime_import.html"
|
||||
title="前の章へ">RuntimeImport(0.79)</a></p>
|
||||
|
||||
@@ -60,6 +60,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_79_runtime_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>前のトピックへ</h4>
|
||||
<p class="topless"><a href="0_82_runtime_import.html"
|
||||
title="前の章へ">RuntimeImport(0.82)</a></p>
|
||||
|
||||
@@ -129,6 +129,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/0_82_runtime_import.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">RuntimeImport(0.82)</a><ul>
|
||||
|
||||
@@ -156,6 +156,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm0/firstperson.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">VRMFirstPersonの使い方</a><ul>
|
||||
|
||||
@@ -70,6 +70,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm1/vrm1_expression.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>前のトピックへ</h4>
|
||||
<p class="topless"><a href="vrm1_get_humanoid.html"
|
||||
title="前の章へ">🚧Humanoid</a></p>
|
||||
|
||||
@@ -107,6 +107,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm1/vrm1_firstperson.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">FirstPerson</a><ul>
|
||||
|
||||
@@ -61,6 +61,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm1/vrm1_get_humanoid.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a href="../index.html">目次</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">🚧Humanoid</a><ul>
|
||||
|
||||
@@ -52,6 +52,11 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm1/vrm1_lookat.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>前のトピックへ</h4>
|
||||
<p class="topless"><a href="vrm1_expression.html"
|
||||
title="前の章へ">🚧Expression</a></p>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<link rel="index" title="索引" href="../genindex.html" />
|
||||
<link rel="search" title="検索" href="../search.html" />
|
||||
<link rel="next" title="🚧Humanoid" href="vrm1_get_humanoid.html" />
|
||||
<link rel="prev" title="Runtime のリソース管理について" href="../implementation/runtime_resource_management.html" />
|
||||
<link rel="prev" title="座標系の変換" href="../implementation/coordinate.html" />
|
||||
</head><body>
|
||||
<div class="related" role="navigation" aria-label="related navigation">
|
||||
<h3>ナビゲーション</h3>
|
||||
@@ -29,7 +29,7 @@
|
||||
<a href="vrm1_get_humanoid.html" title="🚧Humanoid"
|
||||
accesskey="N">次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../implementation/runtime_resource_management.html" title="Runtime のリソース管理について"
|
||||
<a href="../implementation/coordinate.html" title="座標系の変換"
|
||||
accesskey="P">前へ</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document ドキュメント</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">RuntimeLoad</a></li>
|
||||
@@ -104,9 +104,14 @@
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<ul>
|
||||
<li><a href="../../public/en/html/vrm1/vrm1_runtime_load.html">English</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>前のトピックへ</h4>
|
||||
<p class="topless"><a href="../implementation/runtime_resource_management.html"
|
||||
title="前の章へ">Runtime のリソース管理について</a></p>
|
||||
<p class="topless"><a href="../implementation/coordinate.html"
|
||||
title="前の章へ">座標系の変換</a></p>
|
||||
<h4>次のトピックへ</h4>
|
||||
<p class="topless"><a href="vrm1_get_humanoid.html"
|
||||
title="次の章へ">🚧Humanoid</a></p>
|
||||
@@ -141,7 +146,7 @@
|
||||
<a href="vrm1_get_humanoid.html" title="🚧Humanoid"
|
||||
>次へ</a> |</li>
|
||||
<li class="right" >
|
||||
<a href="../implementation/runtime_resource_management.html" title="Runtime のリソース管理について"
|
||||
<a href="../implementation/coordinate.html" title="座標系の変換"
|
||||
>前へ</a> |</li>
|
||||
<li class="nav-item nav-item-0"><a href="../index.html">UniVRM Programming Document ドキュメント</a> »</li>
|
||||
<li class="nav-item nav-item-this"><a href="">RuntimeLoad</a></li>
|
||||
|
||||
Reference in New Issue
Block a user