mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-04 13:45:04 +08:00
Add advanced clothing tutorial (en localization)
This commit is contained in:
parent
19a1c2cedf
commit
7266e69b69
BIN
docs/docs/tutorials/adv_clothing/base_setup.png
Normal file
BIN
docs/docs/tutorials/adv_clothing/base_setup.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
docs/docs/tutorials/adv_clothing/blendshape_sync_skirt.png
Normal file
BIN
docs/docs/tutorials/adv_clothing/blendshape_sync_skirt.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 KiB |
BIN
docs/docs/tutorials/adv_clothing/blendshape_sync_tops.png
Normal file
BIN
docs/docs/tutorials/adv_clothing/blendshape_sync_tops.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 KiB |
BIN
docs/docs/tutorials/adv_clothing/hips_collider.png
Normal file
BIN
docs/docs/tutorials/adv_clothing/hips_collider.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 106 KiB |
43
docs/docs/tutorials/adv_clothing/index.md
Normal file
43
docs/docs/tutorials/adv_clothing/index.md
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
sidebar_label: Configuring a complex (cloth) outfit
|
||||
---
|
||||
|
||||
In some cases the automatic setup is not quite enough to set up a complex outfit.
|
||||
Let's look at Lachexia's [Dress Lumi](https://lachexia.booth.pm/items/3763311) as an example.
|
||||
|
||||
This tutorial assumes you've already gone through the [simple clothing](../clothing) tutorial,
|
||||
and will skip over some of the details covered there.
|
||||
|
||||
We start out having dropped the Dress Lumi prefab onto the avatar, and having hidden the parts of the
|
||||
original avatar's clothing that conflict with the new outfit (namely, Cloth, and setting `bra_off` on `Underwear`).
|
||||
|
||||
![Starting state](initial_state.png)
|
||||
|
||||
As you can see, there's a ton of extra objects in this outfit. The automatic setup described in
|
||||
the [simple clothing tutorial](../clothing) will create the Merge Armature component for us, but
|
||||
the rest of the objects require a bit more setup. That being said, that's still the right place to
|
||||
start:
|
||||
|
||||
![Basic setup menu](base_setup.png)
|
||||
|
||||
Next up, we need to set up bone proxies to get all those collider objects to move along with their
|
||||
base bones. To start, we'll select all the "Hips_Collider" objects and add an `MA Bone Proxy` to all of
|
||||
them at once. Under "Target", drag-and-drop the Hips object from the original avatar.
|
||||
|
||||
![Setting up hips colliders](hips_collider.png)
|
||||
|
||||
Note that "Attachment Mode" will automatically update to "As child; keep position" when you do this.
|
||||
|
||||
Go ahead and do the same for the other bones/colliers as well.
|
||||
|
||||
Finally, set up blendshape sync components for Skirt and Tops:
|
||||
|
||||
![Blendshape sync setup for Skirt object](blendshape_sync_skirt.png)
|
||||
![Blendshape sync setup for Hips object](blendshape_sync_tops.png)
|
||||
|
||||
## Other extensions
|
||||
|
||||
You could fully automate the setup of this outfit, by adding a Merge Animator component which would
|
||||
set up the base Body blendshapes (torso_thin => 100, elbow_off => 0, bra_off => 100), and disable Cloth.
|
||||
However, this could interfere with outfit changer configurations, so it's not necessarily recommended.
|
BIN
docs/docs/tutorials/adv_clothing/initial_state.png
Normal file
BIN
docs/docs/tutorials/adv_clothing/initial_state.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 262 KiB |
@ -7,4 +7,5 @@ sidebar_label: Tutorials
|
||||
|
||||
Here are some step-by-step guides on how to set up things using Modular Avatar.
|
||||
|
||||
* [Configuring a simple outfit](clothing/index.md) - in most cases, you can set up an outfit with just a few clicks. Check out this tutorial for details.
|
||||
* [Configuring a simple outfit](clothing) - in most cases, you can set up an outfit with just a few clicks. Check out this tutorial for details.
|
||||
* [Configuring a complex (cloth) outfit](adv_clothing) - this tutorial shows an example of an outfit that requires just a little bit more setup
|
Loading…
Reference in New Issue
Block a user