From 050c0e9cde3a36d68ee82bdcd339deeb1a39731c Mon Sep 17 00:00:00 2001 From: Jun Loke Date: Fri, 5 Jan 2024 13:08:04 -0500 Subject: [PATCH 1/4] Create hair.md --- com.unity.formats.alembic/Documentation~/hair.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 com.unity.formats.alembic/Documentation~/hair.md diff --git a/com.unity.formats.alembic/Documentation~/hair.md b/com.unity.formats.alembic/Documentation~/hair.md new file mode 100644 index 000000000..fe909e543 --- /dev/null +++ b/com.unity.formats.alembic/Documentation~/hair.md @@ -0,0 +1,10 @@ +# Working with Hair + +Something about using Grooms. Good resource for more words https://github.com/Unity-Technologies/com.unity.demoteam.hair +Generated from Alembic files with curves + +when importing an alembic file, Unity can be used with the [Hair package](link) to generate a [groom](link) based on an Alembic files containing curves. + +To enable this workflow, you must have the Hair package installed and your alembic must contain curves or curve data. +Make sure that the Import Curves setting is enabled. + \ No newline at end of file From 1e04692d3fe76c85572087f3079be60888e34ee7 Mon Sep 17 00:00:00 2001 From: Jun Loke Date: Fri, 5 Jan 2024 14:42:35 -0500 Subject: [PATCH 2/4] Add instructions and meta file --- .../Documentation~/hair.md | 20 +++++++++++++++++-- .../Documentation~/hair.md.meta | 3 +++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 com.unity.formats.alembic/Documentation~/hair.md.meta diff --git a/com.unity.formats.alembic/Documentation~/hair.md b/com.unity.formats.alembic/Documentation~/hair.md index fe909e543..961edd20c 100644 --- a/com.unity.formats.alembic/Documentation~/hair.md +++ b/com.unity.formats.alembic/Documentation~/hair.md @@ -1,10 +1,26 @@ # Working with Hair - +---- working notes Something about using Grooms. Good resource for more words https://github.com/Unity-Technologies/com.unity.demoteam.hair Generated from Alembic files with curves +---/notes when importing an alembic file, Unity can be used with the [Hair package](link) to generate a [groom](link) based on an Alembic files containing curves. To enable this workflow, you must have the Hair package installed and your alembic must contain curves or curve data. Make sure that the Import Curves setting is enabled. - \ No newline at end of file + +## Generating a Hair Asset + +1. In the Project view, select the Alembic file. + +2. In the Inspector, Select the Model tab. + +3. Verify that the Import Curves setting is enabled. + +4. In the Inspector, select the Hair tab. + +5. Click the Generate Hair Asset button to generate a new Hair Asset based on the Alembic file. + +The Hair Asset file will be generated in the same project folder as the Alembic that it is based on. + +Now you can harness the all the capabilities of the Hair package! \ No newline at end of file diff --git a/com.unity.formats.alembic/Documentation~/hair.md.meta b/com.unity.formats.alembic/Documentation~/hair.md.meta new file mode 100644 index 000000000..14260cc64 --- /dev/null +++ b/com.unity.formats.alembic/Documentation~/hair.md.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: ef05ab1e0fc44577a01f1ea19d9eff6d +timeCreated: 1702675158 \ No newline at end of file From ab67c3c1e7f828147658ead60f9becac71fe98c0 Mon Sep 17 00:00:00 2001 From: Jun Loke Date: Fri, 5 Jan 2024 14:44:29 -0500 Subject: [PATCH 3/4] Mention Hair package in the Curves file NB! hair.md file is in a different PR --- com.unity.formats.alembic/Documentation~/curves.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/com.unity.formats.alembic/Documentation~/curves.md b/com.unity.formats.alembic/Documentation~/curves.md index 618fb5114..ac7b33177 100644 --- a/com.unity.formats.alembic/Documentation~/curves.md +++ b/com.unity.formats.alembic/Documentation~/curves.md @@ -35,3 +35,7 @@ In the hierarchy of the imported Prefab instance, the Alembic importer adds thre ![](images/abc_import_curves.png)
_Example of imported curves with the basic rendering option enabled for preview purposes._ + +## Special Case: Hair + +Curves are often used to represent hair. You can further manage hair via [Hair Asset creation when using the Hair package](hair.md). From f0372e6f237e76a326ec589c1b105cb6de314992 Mon Sep 17 00:00:00 2001 From: Jun Loke Date: Fri, 5 Jan 2024 14:58:53 -0500 Subject: [PATCH 4/4] Change wording ??? --- com.unity.formats.alembic/Documentation~/curves.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.formats.alembic/Documentation~/curves.md b/com.unity.formats.alembic/Documentation~/curves.md index ac7b33177..fbd0d5499 100644 --- a/com.unity.formats.alembic/Documentation~/curves.md +++ b/com.unity.formats.alembic/Documentation~/curves.md @@ -38,4 +38,4 @@ In the hierarchy of the imported Prefab instance, the Alembic importer adds thre ## Special Case: Hair -Curves are often used to represent hair. You can further manage hair via [Hair Asset creation when using the Hair package](hair.md). +Curves are often used to represent hair. You can further manage hair using the Hair Package's Hair Asset objects. For more information on how to manage that, go to the [Working with hair page](hair.md).