@volter/blender-engine 0.1.148 → 0.1.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +16 -0
- package/README.md +4 -11
- package/browser/addons/vrm/LICENSE_(OPTION1)_MIT.txt +22 -0
- package/browser/addons/vrm/LICENSE_(OPTION2)_GPL-3_0.txt +674 -0
- package/browser/addons/vrm/LICENSE_MAIN.txt +1 -0
- package/browser/addons/vrm/README.txt +3 -0
- package/browser/addons/vrm/__init__.py +41 -0
- package/browser/addons/vrm/blender_manifest.toml +16 -0
- package/browser/addons/vrm/common/__init__.py +1 -0
- package/browser/addons/vrm/common/animation.py +58 -0
- package/browser/addons/vrm/common/blender_manifest.py +82 -0
- package/browser/addons/vrm/common/char.py +16 -0
- package/browser/addons/vrm/common/convert.py +287 -0
- package/browser/addons/vrm/common/convert_any.py +48 -0
- package/browser/addons/vrm/common/debug.py +40 -0
- package/browser/addons/vrm/common/deep.py +162 -0
- package/browser/addons/vrm/common/error_dialog.py +274 -0
- package/browser/addons/vrm/common/fs.py +71 -0
- package/browser/addons/vrm/common/gl.py +20 -0
- package/browser/addons/vrm/common/gltf.py +1149 -0
- package/browser/addons/vrm/common/human_bone_mapper/__init__.py +1 -0
- package/browser/addons/vrm/common/human_bone_mapper/biped_mapping.py +84 -0
- package/browser/addons/vrm/common/human_bone_mapper/cats_blender_plugin_fix_model_mapping.py +63 -0
- package/browser/addons/vrm/common/human_bone_mapper/human_bone_mapper.py +203 -0
- package/browser/addons/vrm/common/human_bone_mapper/microsoft_rocketbox_mapping.py +69 -0
- package/browser/addons/vrm/common/human_bone_mapper/mixamo_mapping.py +62 -0
- package/browser/addons/vrm/common/human_bone_mapper/mmd_mapping.py +115 -0
- package/browser/addons/vrm/common/human_bone_mapper/mpfb_mapping.py +120 -0
- package/browser/addons/vrm/common/human_bone_mapper/ready_player_me_mapping.py +65 -0
- package/browser/addons/vrm/common/human_bone_mapper/reallusion_mapping.py +94 -0
- package/browser/addons/vrm/common/human_bone_mapper/rigify_meta_rig_mapping.py +65 -0
- package/browser/addons/vrm/common/human_bone_mapper/structure_based_mapping.py +891 -0
- package/browser/addons/vrm/common/human_bone_mapper/unreal_mapping.py +62 -0
- package/browser/addons/vrm/common/human_bone_mapper/vrm_addon_mapping.py +112 -0
- package/browser/addons/vrm/common/human_bone_mapper/vroid_mapping.py +89 -0
- package/browser/addons/vrm/common/legacy_gltf.py +16 -0
- package/browser/addons/vrm/common/logger.py +84 -0
- package/browser/addons/vrm/common/mtoon0.blend +0 -0
- package/browser/addons/vrm/common/mtoon1.blend +0 -0
- package/browser/addons/vrm/common/mtoon1_outline.blend +0 -0
- package/browser/addons/vrm/common/mtoon_auto_setup.blend +0 -0
- package/browser/addons/vrm/common/mtoon_unversioned.py +62 -0
- package/browser/addons/vrm/common/ops/__init__.py +10 -0
- package/browser/addons/vrm/common/ops/export_scene.py +67 -0
- package/browser/addons/vrm/common/ops/icyp.py +53 -0
- package/browser/addons/vrm/common/ops/import_scene.py +57 -0
- package/browser/addons/vrm/common/ops/vrm.py +2380 -0
- package/browser/addons/vrm/common/ops/wm.py +167 -0
- package/browser/addons/vrm/common/preferences.py +362 -0
- package/browser/addons/vrm/common/progress.py +87 -0
- package/browser/addons/vrm/common/rotation.py +89 -0
- package/browser/addons/vrm/common/safe_removal.py +46 -0
- package/browser/addons/vrm/common/scene_watcher.py +230 -0
- package/browser/addons/vrm/common/shader.py +2243 -0
- package/browser/addons/vrm/common/shape_key_mapper/__init__.py +1 -0
- package/browser/addons/vrm/common/shape_key_mapper/arkit_mapping.py +168 -0
- package/browser/addons/vrm/common/shape_key_mapper/mmd_mapping.py +62 -0
- package/browser/addons/vrm/common/shape_key_mapper/ready_player_me_mapping.py +52 -0
- package/browser/addons/vrm/common/shape_key_mapper/vrchat_mapping.py +17 -0
- package/browser/addons/vrm/common/third_party_user_extension.py +214 -0
- package/browser/addons/vrm/common/transparent_z_write.blend +0 -0
- package/browser/addons/vrm/common/version.py +161 -0
- package/browser/addons/vrm/common/vrm0/__init__.py +1 -0
- package/browser/addons/vrm/common/vrm0/human_bone.py +662 -0
- package/browser/addons/vrm/common/vrm0/material_property.py +346 -0
- package/browser/addons/vrm/common/vrm1/__init__.py +1 -0
- package/browser/addons/vrm/common/vrm1/expression_preset.py +207 -0
- package/browser/addons/vrm/common/vrm1/human_bone.py +822 -0
- package/browser/addons/vrm/common/workspace.py +227 -0
- package/browser/addons/vrm/common/writable_context.py +77 -0
- package/browser/addons/vrm/documentation/en-us/animation/index.md +63 -0
- package/browser/addons/vrm/documentation/en-us/create-humanoid-vrm-from-scratch/index.md +131 -0
- package/browser/addons/vrm/documentation/en-us/create-simple-vrm-from-scratch/index.md +30 -0
- package/browser/addons/vrm/documentation/en-us/development/index.md +136 -0
- package/browser/addons/vrm/documentation/en-us/index.md +41 -0
- package/browser/addons/vrm/documentation/en-us/installation/index.md +152 -0
- package/browser/addons/vrm/documentation/en-us/material-mtoon/index.md +122 -0
- package/browser/addons/vrm/documentation/en-us/material-pbr/index.md +94 -0
- package/browser/addons/vrm/documentation/en-us/scripting-api/index.md +391 -0
- package/browser/addons/vrm/documentation/en-us/ui/export_scene.vrm/index.md +57 -0
- package/browser/addons/vrm/documentation/en-us/ui/export_scene.vrma/index.md +17 -0
- package/browser/addons/vrm/documentation/en-us/ui/import_scene.vrm/index.md +61 -0
- package/browser/addons/vrm/documentation/en-us/ui/import_scene.vrma/index.md +13 -0
- package/browser/addons/vrm/documentation/ja-jp/animation/index.md +57 -0
- package/browser/addons/vrm/documentation/ja-jp/create-humanoid-vrm-from-scratch/index.md +129 -0
- package/browser/addons/vrm/documentation/ja-jp/create-simple-vrm-from-scratch/index.md +29 -0
- package/browser/addons/vrm/documentation/ja-jp/development/index.md +137 -0
- package/browser/addons/vrm/documentation/ja-jp/index.md +37 -0
- package/browser/addons/vrm/documentation/ja-jp/installation/index.md +150 -0
- package/browser/addons/vrm/documentation/ja-jp/material-mtoon/index.md +113 -0
- package/browser/addons/vrm/documentation/ja-jp/material-pbr/index.md +90 -0
- package/browser/addons/vrm/documentation/ja-jp/scripting-api/index.md +389 -0
- package/browser/addons/vrm/documentation/ja-jp/ui/export_scene.vrm/index.md +55 -0
- package/browser/addons/vrm/documentation/ja-jp/ui/export_scene.vrma/index.md +19 -0
- package/browser/addons/vrm/documentation/ja-jp/ui/import_scene.vrm/index.md +56 -0
- package/browser/addons/vrm/documentation/ja-jp/ui/import_scene.vrma/index.md +14 -0
- package/browser/addons/vrm/editor/__init__.py +1 -0
- package/browser/addons/vrm/editor/extension.py +425 -0
- package/browser/addons/vrm/editor/extension_accessor.py +75 -0
- package/browser/addons/vrm/editor/handler.py +84 -0
- package/browser/addons/vrm/editor/khr_character/__init__.py +1 -0
- package/browser/addons/vrm/editor/khr_character/panel.py +69 -0
- package/browser/addons/vrm/editor/khr_character/property_group.py +27 -0
- package/browser/addons/vrm/editor/khr_xmp_json_ld/__init__.py +1 -0
- package/browser/addons/vrm/editor/khr_xmp_json_ld/ops.py +464 -0
- package/browser/addons/vrm/editor/khr_xmp_json_ld/panel.py +136 -0
- package/browser/addons/vrm/editor/khr_xmp_json_ld/property_group.py +83 -0
- package/browser/addons/vrm/editor/khr_xmp_json_ld/ui_list.py +198 -0
- package/browser/addons/vrm/editor/make_armature.py +709 -0
- package/browser/addons/vrm/editor/menu.py +147 -0
- package/browser/addons/vrm/editor/migration.py +297 -0
- package/browser/addons/vrm/editor/mtoon1/__init__.py +1 -0
- package/browser/addons/vrm/editor/mtoon1/handler.py +20 -0
- package/browser/addons/vrm/editor/mtoon1/migration.py +536 -0
- package/browser/addons/vrm/editor/mtoon1/ops.py +304 -0
- package/browser/addons/vrm/editor/mtoon1/panel.py +442 -0
- package/browser/addons/vrm/editor/mtoon1/property_group.py +4977 -0
- package/browser/addons/vrm/editor/mtoon1/scene_watcher.py +381 -0
- package/browser/addons/vrm/editor/node_constraint1/__init__.py +1 -0
- package/browser/addons/vrm/editor/node_constraint1/panel.py +317 -0
- package/browser/addons/vrm/editor/node_constraint1/property_group.py +25 -0
- package/browser/addons/vrm/editor/ops.py +471 -0
- package/browser/addons/vrm/editor/panel.py +315 -0
- package/browser/addons/vrm/editor/property_group.py +888 -0
- package/browser/addons/vrm/editor/search.py +682 -0
- package/browser/addons/vrm/editor/spring_bone1/__init__.py +1 -0
- package/browser/addons/vrm/editor/spring_bone1/handler.py +994 -0
- package/browser/addons/vrm/editor/spring_bone1/menu.py +246 -0
- package/browser/addons/vrm/editor/spring_bone1/migration.py +86 -0
- package/browser/addons/vrm/editor/spring_bone1/ops.py +1679 -0
- package/browser/addons/vrm/editor/spring_bone1/panel.py +605 -0
- package/browser/addons/vrm/editor/spring_bone1/property_group.py +1457 -0
- package/browser/addons/vrm/editor/spring_bone1/ui_list.py +408 -0
- package/browser/addons/vrm/editor/subscription.py +123 -0
- package/browser/addons/vrm/editor/t_pose.py +713 -0
- package/browser/addons/vrm/editor/validation.py +1271 -0
- package/browser/addons/vrm/editor/vrm0/__init__.py +1 -0
- package/browser/addons/vrm/editor/vrm0/gizmo_group.py +63 -0
- package/browser/addons/vrm/editor/vrm0/handler.py +23 -0
- package/browser/addons/vrm/editor/vrm0/menu.py +145 -0
- package/browser/addons/vrm/editor/vrm0/migration.py +761 -0
- package/browser/addons/vrm/editor/vrm0/ops.py +2145 -0
- package/browser/addons/vrm/editor/vrm0/panel.py +1333 -0
- package/browser/addons/vrm/editor/vrm0/property_group.py +1818 -0
- package/browser/addons/vrm/editor/vrm0/ui_list.py +688 -0
- package/browser/addons/vrm/editor/vrm1/__init__.py +1 -0
- package/browser/addons/vrm/editor/vrm1/handler.py +28 -0
- package/browser/addons/vrm/editor/vrm1/menu.py +76 -0
- package/browser/addons/vrm/editor/vrm1/migration.py +321 -0
- package/browser/addons/vrm/editor/vrm1/ops.py +2679 -0
- package/browser/addons/vrm/editor/vrm1/panel.py +1243 -0
- package/browser/addons/vrm/editor/vrm1/property_group.py +2087 -0
- package/browser/addons/vrm/editor/vrm1/scene_watcher.py +90 -0
- package/browser/addons/vrm/editor/vrm1/ui_list.py +533 -0
- package/browser/addons/vrm/exporter/__init__.py +1 -0
- package/browser/addons/vrm/exporter/abstract_base_vrm_exporter.py +628 -0
- package/browser/addons/vrm/exporter/export_scene.py +930 -0
- package/browser/addons/vrm/exporter/gltf2_export_user_extension.py +45 -0
- package/browser/addons/vrm/exporter/khr_character_exporter.py +34 -0
- package/browser/addons/vrm/exporter/vrm0_exporter.py +4020 -0
- package/browser/addons/vrm/exporter/vrm1_exporter.py +3682 -0
- package/browser/addons/vrm/exporter/vrm_animation_exporter.py +1035 -0
- package/browser/addons/vrm/external/__init__.py +1 -0
- package/browser/addons/vrm/external/auto_rig_pro_support.py +3 -0
- package/browser/addons/vrm/external/io_scene_gltf2_support.py +418 -0
- package/browser/addons/vrm/external/rigify_support.py +1 -0
- package/browser/addons/vrm/importer/__init__.py +1 -0
- package/browser/addons/vrm/importer/abstract_base_vrm_importer.py +1548 -0
- package/browser/addons/vrm/importer/file_handler.py +34 -0
- package/browser/addons/vrm/importer/gltf2_import_user_extension.py +268 -0
- package/browser/addons/vrm/importer/import_scene.py +646 -0
- package/browser/addons/vrm/importer/license_validation.py +198 -0
- package/browser/addons/vrm/importer/vrm0_importer.py +1723 -0
- package/browser/addons/vrm/importer/vrm1_importer.py +2014 -0
- package/browser/addons/vrm/importer/vrm_animation_importer.py +763 -0
- package/browser/addons/vrm/importer/vrm_diff.py +316 -0
- package/browser/addons/vrm/locale/__init__.py +1 -0
- package/browser/addons/vrm/locale/ja_jp.py +826 -0
- package/browser/addons/vrm/locale/ruff.toml +8 -0
- package/browser/addons/vrm/locale/translation_dictionary.py +10 -0
- package/browser/addons/vrm/locale/zh_hans.py +928 -0
- package/browser/addons/vrm/registration.py +670 -0
- package/browser/addons/vrm.json +18 -0
- package/browser/blender-emscripten-engine.mts +60 -128
- package/browser/blender-engine.mts +20 -186
- package/browser/blender-wali-engine.mts +35 -81
- package/browser/describe-thrown.mts +3 -6
- package/browser/document-chunks.mts +4 -16
- package/browser/gltf_export.py +3161 -0
- package/browser/heap-growth.mts +23 -0
- package/browser/index.ts +2 -0
- package/browser/protocol.ts +119 -35
- package/browser/pull-job.mts +2 -10
- package/browser/rna.ts +190 -73
- package/browser/runtime.ts +197 -82
- package/browser/session-addons.mts +33 -0
- package/browser/session-frame.mts +5 -24
- package/browser/session.py +1338 -1427
- package/browser/three/attach-presenter.ts +11 -39
- package/browser/three/blender-base64.ts +1 -36
- package/browser/three/blender-corner-normals.ts +1 -23
- package/browser/three/blender-display-shaders.json +1 -1
- package/browser/three/blender-display-shaders.lut +0 -0
- package/browser/three/blender-display-transform.ts +2 -1
- package/browser/three/blender-frame-columns.ts +5 -13
- package/browser/three/blender-graph-material.ts +18 -3
- package/browser/three/blender-node-graph.ts +10 -34
- package/browser/three/blender-physical-material.ts +2 -31
- package/browser/three/blender-runtime-armature.ts +7 -60
- package/browser/three/blender-runtime-frame.ts +9 -23
- package/browser/three/blender-runtime-geometry.ts +22 -26
- package/browser/three/blender-runtime-lighting.ts +48 -178
- package/browser/three/blender-runtime-shadows.ts +187 -1
- package/browser/three/blender-runtime-skeleton.ts +53 -1
- package/browser/three/blender-runtime-view.ts +505 -283
- package/browser/three/blender-runtime-weights.ts +9 -72
- package/browser/three/blender-sky.ts +13 -33
- package/browser/three/blender-triangulate.ts +7 -35
- package/browser/three/blender-viewport-sampling.ts +235 -0
- package/browser/three/blender-workbench-material.ts +25 -29
- package/browser/three/blender-workbench-outline.ts +199 -0
- package/browser/three/blender-world-volume.ts +62 -10
- package/browser/three/presenter.ts +10 -26
- package/browser/three/release.ts +5 -21
- package/browser/three/sky-precompute-worker.ts +1 -18
- package/browser/three/sky-worker.ts +5 -23
- package/browser/three/world-field-sampler.ts +12 -26
- package/browser/volter_three.py +9 -105
- package/browser/worker.ts +156 -151
- package/package.json +5 -2
- package/wasm/BUNDLE.json +17 -17
- package/wasm/DEPENDENCY-LICENSES.txt +14 -0
- package/wasm/blender_browser.data.br +0 -0
- package/wasm/blender_browser.js +1 -1
- package/wasm/blender_browser.wasm.br +0 -0
- package/browser/frame-transfer.mts +0 -19
- package/browser/three/agx-base-srgb.lut +0 -0
- package/browser/three/agx-look-medium-high-contrast.lut +0 -0
- package/browser/three/agx-look-punchy.lut +0 -0
- package/browser/three/blender-agx.ts +0 -235
- package/browser/three/blender-display-lut.ts +0 -145
- package/browser/three/blender-filmic.ts +0 -49
- package/browser/three/blender-standard.ts +0 -68
- package/browser/three/blender-world-visibility.ts +0 -278
- package/browser/three/filmic-srgb.lut +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: VRM Add-on for Blender
|
|
3
|
+
description: VRM Add-on for Blender adds VRM import, export, and editing capabilities to Blender.
|
|
4
|
+
aside: false
|
|
5
|
+
outline: false
|
|
6
|
+
prev: false
|
|
7
|
+
next: false
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
{.logo}
|
|
11
|
+
|
|
12
|
+
VRM Add-on for Blender adds VRM import, export, and editing capabilities to
|
|
13
|
+
Blender. It supports Blender versions 2.93 to 5.2. It also provides
|
|
14
|
+
[an API for automation via Python scripts](scripting-api/).
|
|
15
|
+
|
|
16
|
+
## Download {#download}
|
|
17
|
+
|
|
18
|
+
- For Blender 4.2 or later, please download and install it by following
|
|
19
|
+
[the instructions here](installation/#installation-methods).
|
|
20
|
+
- For Blender 2.93 to 4.1: <DownloadLink />\
|
|
21
|
+
<small>[Past Releases](https://github.com/saturday06/VRM-Addon-for-Blender/releases)</small>
|
|
22
|
+
- [Python package on PyPI (bpy-vrm-format)](https://pypi.org/project/bpy-vrm-format/)
|
|
23
|
+
|
|
24
|
+
## Tutorials
|
|
25
|
+
|
|
26
|
+
| [Installation](installation/) | [Create Simple VRM](create-simple-vrm-from-scratch/) | [Create Humanoid VRM](create-humanoid-vrm-from-scratch/) |
|
|
27
|
+
| ------------------------------------------------------------------ | ---------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
28
|
+
| [{.tutorial}](installation/) | [{.tutorial}](create-simple-vrm-from-scratch/) | [{.tutorial}](create-humanoid-vrm-from-scratch/) |
|
|
29
|
+
| [Create Physics Based Material](material-pbr/) | [Create Anime Style Material](material-mtoon/) | [VRM Animation](animation/) |
|
|
30
|
+
| [{.tutorial}](material-pbr/) | [{.tutorial}](material-mtoon/) | [{.tutorial}](animation/) |
|
|
31
|
+
| [Automation with Python scripts](scripting-api/) | [Development How-To](development/) | |
|
|
32
|
+
| [{.tutorial}](scripting-api/) | [{.tutorial}](development/) | |
|
|
33
|
+
|
|
34
|
+
## Overview
|
|
35
|
+
|
|
36
|
+
This add-on adds VRM-related functions to Blender, such as importing and
|
|
37
|
+
exporting VRM, adding VRM Humanoid and setting MToon shaders. Bug reports,
|
|
38
|
+
feature requests, pull requests, etc. are welcome. I have taken over the
|
|
39
|
+
development after
|
|
40
|
+
[Version 0.79](https://github.com/iCyP/VRM_IMPORTER_for_Blender2_8/releases/tag/0.79)
|
|
41
|
+
from the author, [@iCyP](https://github.com/iCyP).
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Add-on Installation"
|
|
3
|
+
description: "Step-by-step installation guide for VRM Add-on for Blender."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
This tutorial explains how to install VRM Add-on for Blender.
|
|
7
|
+
|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
The steps vary depending on your Blender version and where you download from.
|
|
11
|
+
Choose one of the following methods. {#installation-methods}
|
|
12
|
+
|
|
13
|
+
- [Blender 4.2 or later, download from Blender Preferences](#installation-4.2-or-later-online)
|
|
14
|
+
- [Blender 4.2 or later, download from a web browser](#installation-4.2-or-later-offline)
|
|
15
|
+
- [Blender 2.93 to 4.1](#installation-2.93-to-4.1)
|
|
16
|
+
- [Python package on PyPI (bpy-vrm-format)](https://pypi.org/project/bpy-vrm-format/)
|
|
17
|
+
|
|
18
|
+
## Blender 4.2 or later, download from Blender Preferences <a id="installation-4.2-or-later-online"/> {#installation-4.2-or-later-online}
|
|
19
|
+
|
|
20
|
+
In Blender 4.2 and later, you can download and install from the Preferences
|
|
21
|
+
window. When updates are available, you can also update by clicking a button in
|
|
22
|
+
the Preferences window.
|
|
23
|
+
|
|
24
|
+
Start Blender, then select `Edit` → `Preferences` from the menu.
|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
In the Preferences window, select `Get Extensions` from the left menu.
|
|
29
|
+
|
|
30
|
+
If you see a message saying that installing or updating online extensions
|
|
31
|
+
requires internet access, click `Allow Online Access`.
|
|
32
|
+
|
|
33
|
+

|
|
34
|
+
|
|
35
|
+
> [!TIP]
|
|
36
|
+
> Clicking `Allow Online Access` lets Blender communicate with the internet. If
|
|
37
|
+
> you do not want to allow this, install via
|
|
38
|
+
> [Blender 4.2 or later, download from a web browser](#installation-4.2-or-later-offline).
|
|
39
|
+
|
|
40
|
+
After a moment, the "Available" list appears. Find the `VRM format` entry. If
|
|
41
|
+
the list is long, you can filter it by typing `VRM` into the search box at the
|
|
42
|
+
top.
|
|
43
|
+
|
|
44
|
+

|
|
45
|
+
|
|
46
|
+
Click `Install` to complete the installation.
|
|
47
|
+
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+
If nothing appears in the list, online access may be disabled. In the
|
|
51
|
+
Preferences window, select `System`, turn on `Allow Online Access`, then select
|
|
52
|
+
`Get Extensions` again.
|
|
53
|
+
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
If it still does not appear, check your internet access. Blender’s online
|
|
57
|
+
services might also be down. You can check the status at
|
|
58
|
+
https://status.blender.org/status/public.
|
|
59
|
+
|
|
60
|
+
## Blender 4.2 or later, download from a web browser <a id="installation-4.2-or-later-offline"/> {#installation-4.2-or-later-offline}
|
|
61
|
+
|
|
62
|
+
If you want to keep Blender’s online access disabled, download the add-on file
|
|
63
|
+
in a web browser and add it from the Preferences window. First, open the
|
|
64
|
+
[Blender Extensions Platform](https://extensions.blender.org/add-ons/vrm/).
|
|
65
|
+
|
|
66
|
+

|
|
67
|
+
|
|
68
|
+
Click the `Get Add-on` button.
|
|
69
|
+
|
|
70
|
+

|
|
71
|
+
|
|
72
|
+
A `download` link appears. Click it to download the add-on file.
|
|
73
|
+
|
|
74
|
+
> [!TIP]
|
|
75
|
+
> The downloaded add-on file is a ZIP file, but <u>please do not unzip it</u>,
|
|
76
|
+
> as the unzipped data will not function as an add-on.
|
|
77
|
+
|
|
78
|
+
> [!INFO]
|
|
79
|
+
> You can also install by following the `Drag and Drop into Blender` instruction
|
|
80
|
+
> on the website, but that requires allowing Blender online access.
|
|
81
|
+
|
|
82
|
+
Next, start Blender and select `Edit` → `Preferences` from the menu.
|
|
83
|
+
|
|
84
|
+

|
|
85
|
+
|
|
86
|
+
In the Preferences window, select `Add-ons` from the left menu, then click the
|
|
87
|
+
`˅` button in the top right and choose `Install from Disk` from the menu.
|
|
88
|
+
|
|
89
|
+

|
|
90
|
+
|
|
91
|
+
A file picker opens. Select the add-on file you downloaded earlier, confirm the
|
|
92
|
+
filename ends with `.zip`, then click `Install from Disk`.
|
|
93
|
+
|
|
94
|
+

|
|
95
|
+
|
|
96
|
+
If `VRM format` is added to the list and its checkbox is `on`, installation is
|
|
97
|
+
complete.
|
|
98
|
+
|
|
99
|
+

|
|
100
|
+
|
|
101
|
+
If the checkbox is `off`, turn it `on` manually.
|
|
102
|
+
|
|
103
|
+
If `VRM format` is not added to the list, confirm the following:
|
|
104
|
+
|
|
105
|
+
- The add-on file you downloaded is a ZIP file, but <u>you did not unzip it</u>.
|
|
106
|
+
- The selected add-on filename ends with `.zip`.
|
|
107
|
+
|
|
108
|
+
## Blender 2.93 to 4.1 <a id="installation-2.93-to-4.1"/> {#installation-2.93-to-4.1}
|
|
109
|
+
|
|
110
|
+
Download latest add-on file from <DownloadLink />
|
|
111
|
+
|
|
112
|
+
> [!TIP]
|
|
113
|
+
> The downloaded add-on file is a ZIP file, but <u>please do not unzip it</u>,
|
|
114
|
+
> as the unzipped data will not function as an add-on.
|
|
115
|
+
|
|
116
|
+
Start Blender and select menu `Edit` → `Preferences`.
|
|
117
|
+
|
|
118
|
+

|
|
119
|
+
|
|
120
|
+
Select `Add-ons` from the left menu when the preferences screen, and then press
|
|
121
|
+
the `Install` button in the upper right corner.
|
|
122
|
+
|
|
123
|
+

|
|
124
|
+
|
|
125
|
+
When the File View window appears, select the add-on file you just downloaded,
|
|
126
|
+
make sure the filename ends with `.zip`, and press the `Install Add-on` button.
|
|
127
|
+
|
|
128
|
+

|
|
129
|
+
|
|
130
|
+
Make sure `Community` is enabled.
|
|
131
|
+
|
|
132
|
+

|
|
133
|
+
|
|
134
|
+
Find `Import-Export: VRM format` in the add-on list view.
|
|
135
|
+
|
|
136
|
+

|
|
137
|
+
|
|
138
|
+
There is a search box in the upper right corner if there are too many items to
|
|
139
|
+
find.
|
|
140
|
+
|
|
141
|
+

|
|
142
|
+
|
|
143
|
+
If you cannot find it, please make sure that all of the following conditions are
|
|
144
|
+
met
|
|
145
|
+
|
|
146
|
+
- The add-on file you downloaded is a ZIP file, but <u>you did not unzip it</u>.
|
|
147
|
+
- The selected add-on filename ends with `.zip`.
|
|
148
|
+
- `Community` at the top of the window is enabled.
|
|
149
|
+
|
|
150
|
+
Press the checkbox to complete the installation of the add-on.
|
|
151
|
+
|
|
152
|
+

|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Create Anime Style Material"
|
|
3
|
+
description: "Set up an anime-style material with MToon shaders."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Set an anime-style material to VRM.
|
|
7
|
+
|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
Please refer to the VRM documentation for detailed configuration items
|
|
11
|
+
|
|
12
|
+
https://vrm.dev/en/univrm/shaders/shader_mtoon
|
|
13
|
+
|
|
14
|
+
After starting Blender, delete the cube that is displayed from the beginning.
|
|
15
|
+
First, select the cube by left-clicking on it.
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
When selected, the cube will turn orange around it. In this state, press the `x`
|
|
20
|
+
key on your keyboard.
|
|
21
|
+
|
|
22
|
+

|
|
23
|
+
|
|
24
|
+
Press the `Enter` key on the keyboard to confirm the deletion.
|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
If successful, the cube will be deleted. Next, add a sphere. With the cursor in
|
|
29
|
+
the 3D viewport, hold down the `Shift` key on your keyboard and press the `a`
|
|
30
|
+
key. The Add Object menu will appear, select `Mesh` → `UV Sphere`.
|
|
31
|
+
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+
Success is indicated when a sphere consisting of a square surface is displayed.
|
|
35
|
+
|
|
36
|
+

|
|
37
|
+
|
|
38
|
+
Next, smooth the surface of this sphere to make it more spherical. Click on the
|
|
39
|
+
`Object` menu at the top of the screen and select `Shade Smooth` from there.
|
|
40
|
+
|
|
41
|
+

|
|
42
|
+
|
|
43
|
+
It is successful when the corners are removed and the sphere looks like a smooth
|
|
44
|
+
sphere.
|
|
45
|
+
|
|
46
|
+

|
|
47
|
+
|
|
48
|
+
Next, we can check the color of the material.
|
|
49
|
+
|
|
50
|
+
With the cursor in the 3D viewport, press the `z` key on the keyboard to bring
|
|
51
|
+
up the preview display selection menu. Then move the mouse down and select
|
|
52
|
+
`Rendered`.
|
|
53
|
+
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
If successful, the direction of the unlit areas will change. However, there is
|
|
57
|
+
little change in the display, but note that the coloring is not reflected in the
|
|
58
|
+
display if the default setting is used.
|
|
59
|
+
|
|
60
|
+
Next, set the view transformation settings. Select the tab with the
|
|
61
|
+
"" icon in the lower right
|
|
62
|
+
corner, then go to `Color Management` and set `View Transform` to `Standard`.
|
|
63
|
+
|
|
64
|
+

|
|
65
|
+
|
|
66
|
+
The sphere will be slightly brighter. If the default is left unchanged, the
|
|
67
|
+
color displayed will be darker than the specified color.
|
|
68
|
+
|
|
69
|
+
Next, configure the material settings. Select the tab with the
|
|
70
|
+
"" icon in the lower right
|
|
71
|
+
corner and press the `New` button.
|
|
72
|
+
|
|
73
|
+

|
|
74
|
+
|
|
75
|
+
A material named `Material.001` will be added. Then scroll down the view and
|
|
76
|
+
under `VRM Material` check the `Enable VRM MToon Material` checkbox.
|
|
77
|
+
|
|
78
|
+

|
|
79
|
+
|
|
80
|
+
The display color of the sphere turns white and the VRM anime-style material
|
|
81
|
+
setting item appears.
|
|
82
|
+
|
|
83
|
+

|
|
84
|
+
|
|
85
|
+
As a sample setup, set the following
|
|
86
|
+
|
|
87
|
+
- Set the `Lit Color, Alpha` to light blue
|
|
88
|
+
- Set the `Shade Color` to blue
|
|
89
|
+
- Set the `Shading Toony` to 1
|
|
90
|
+
- Set the `Shading Shift` to 0
|
|
91
|
+
|
|
92
|
+

|
|
93
|
+
|
|
94
|
+
Scroll the display and set the `Outline` item to `World Coordinates`.
|
|
95
|
+
|
|
96
|
+

|
|
97
|
+
|
|
98
|
+
When the outline settings appear, set the following as a sample setting. (This
|
|
99
|
+
outline display is only compatible with Blender 3.5 or later and 3.3)
|
|
100
|
+
|
|
101
|
+
- Set the `Outline Width` to 0.03
|
|
102
|
+
- Set the `Outline Color` to white
|
|
103
|
+
- Set the `Outline LightingMix` to 0
|
|
104
|
+
|
|
105
|
+

|
|
106
|
+
|
|
107
|
+
Save this model as a VRM. Select `File` → `Export` → `VRM (.vrm)` from the menu.
|
|
108
|
+
|
|
109
|
+

|
|
110
|
+
|
|
111
|
+
Enter the filename and destination when the File View window appears and press
|
|
112
|
+
`Export VRM`.
|
|
113
|
+
|
|
114
|
+

|
|
115
|
+
|
|
116
|
+
If successful, the VRM file will be saved to the specified location.
|
|
117
|
+
|
|
118
|
+

|
|
119
|
+
|
|
120
|
+
You can check the operation on this page.
|
|
121
|
+
|
|
122
|
+
- https://hub.vroid.com/en/characters/2368193253669776229/models/7692418309335351071
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Create Physics Based Material"
|
|
3
|
+
description: "Set up physics-based materials using Principled BSDF shaders."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Set up realistic physics-based materials for VRM.
|
|
7
|
+
|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
In VRM Add-on for Blender, realistic physics-based material settings are handled
|
|
11
|
+
exactly the same way as in Blender's glTF 2.0 add-on. Please refer to the
|
|
12
|
+
appropriate documentation for more information.
|
|
13
|
+
|
|
14
|
+
https://docs.blender.org/manual/en/2.93/addons/import_export/scene_gltf2.html#exported-materials
|
|
15
|
+
|
|
16
|
+
After starting Blender, delete the cube that is displayed from the beginning.
|
|
17
|
+
First, select the cube by left-clicking on it.
|
|
18
|
+
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
When selected, the cube will turn orange around it. In this state, press the `x`
|
|
22
|
+
key on your keyboard.
|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
Press the `Enter` key on the keyboard to confirm the deletion.
|
|
27
|
+
|
|
28
|
+

|
|
29
|
+
|
|
30
|
+
If successful, the cube will be deleted. Next, add a sphere consisting of
|
|
31
|
+
triangles. With the cursor in the 3D viewport, hold down the `Shift` key on your
|
|
32
|
+
keyboard and press the `a` key. The Add Object menu will appear, select `Mesh` →
|
|
33
|
+
`Ico Sphere`.
|
|
34
|
+
|
|
35
|
+

|
|
36
|
+
|
|
37
|
+
If successful, a sphere consisting of triangles is added.
|
|
38
|
+
|
|
39
|
+

|
|
40
|
+
|
|
41
|
+
Next, we can check the color of the material.
|
|
42
|
+
|
|
43
|
+
With the cursor in the 3D viewport, press the `z` key on the keyboard to bring
|
|
44
|
+
up the preview display selection menu. Then move the mouse down and select
|
|
45
|
+
`Material Preview`.
|
|
46
|
+
|
|
47
|
+

|
|
48
|
+
|
|
49
|
+
If successful, the grayish color of the display will increase. However, there is
|
|
50
|
+
little change, but note that the coloring is not reflected in the display if the
|
|
51
|
+
default is used.
|
|
52
|
+
|
|
53
|
+

|
|
54
|
+
|
|
55
|
+
In this state, set the material settings. Select the tab with the
|
|
56
|
+
"" icon in the lower right
|
|
57
|
+
corner and press the `New` button.
|
|
58
|
+
|
|
59
|
+

|
|
60
|
+
|
|
61
|
+
A material named `Material.001` will be added. Also make sure that the `Surface`
|
|
62
|
+
setting is set to `Principled BSDF`.
|
|
63
|
+
|
|
64
|
+

|
|
65
|
+
|
|
66
|
+
By setting the `Principled BSDF`, you can configure realistic physics-based
|
|
67
|
+
texture settings, which can then be exported directly to VRM.
|
|
68
|
+
|
|
69
|
+

|
|
70
|
+
|
|
71
|
+
Then select `Base Color` and enter blue when the color selection pop-up appears.
|
|
72
|
+
|
|
73
|
+

|
|
74
|
+
|
|
75
|
+
Then set the value of `Metallic` to `0.5`.
|
|
76
|
+
|
|
77
|
+

|
|
78
|
+
|
|
79
|
+
Save this model as a VRM. Select `File` → `Export` → `VRM (.vrm)` from the menu.
|
|
80
|
+
|
|
81
|
+

|
|
82
|
+
|
|
83
|
+
Enter the filename and destination when the File View window appears and press
|
|
84
|
+
`Export VRM`.
|
|
85
|
+
|
|
86
|
+

|
|
87
|
+
|
|
88
|
+
If successful, the VRM file will be saved to the specified location.
|
|
89
|
+
|
|
90
|
+

|
|
91
|
+
|
|
92
|
+
You can check the operation on this page.
|
|
93
|
+
|
|
94
|
+
- https://hub.vroid.com/en/characters/3819557420301868457/models/3988362170085862123
|