Continuing from the previous article, this article is the second half.
I introduce step 3 and beyond.
- Create a human body model in DAZ Studio (refer to the articles ① and ②)
- Export the human model from step 1 to Blender, and create hair with Hair Tool for Blender (see the previous article).
- Export the model to DAZ Studio, register the hair style, and set the movement.
- Export to Unity
- Upload to STYLY
Exporting hair
Exporting the hair object itself
Select the hair object in object mode and export it in obj format.
Bake the hair texture
After saving the object and Blender data, click Open Baking scene.
The screen will change to something like this.
Select Opacity (+Normal Map if you like) and set it to Transparent Background.
Finally, click Bake Hair to bake the hair.
Importing to DAZ Studio
After launching DAZ Studio and opening the previous human model data, select the icon in the upper left corner to load the hair object.
Delete the default hair and adjust the position of the imported hair object.
Set the texture settings from the panel on the right of the screen.
Assign hair_ht_opacity.png to Cutout Opacity.
Saving the hair animation asset in DAZ Studio
Now that the hair object is still loaded, the animation will not be applied.
Select Transfer Utility from the top Edit.
Assign hair and human models to Source and Target respectively.
The Projection Template can be set after selecting the Content Type at the end.
Then click Accept.
To register hair to DAZ Studio assets, select File→Save As→Support Asset→Figure/Prop Assets.
Reflecting the animation in Unity’s human body model
Once the animation settings are complete, upload the model to Unity.
For detailed instructions, please refer to the first article.
Drag and drop the texture file you saved in Blender to the Unity assets.
Check the Alpha is Transparency checkbox and apply it.
Once applied, assign the texture to the hair model and change the Rendering Mode to Cutout.
Change the shader since it is set to not depict the back of the texture.
Download the ZIP from the button on the right of the GitHub screen, unzip it, and drag and drop the Standard-2Sided.shader onto your Unity assets.
Change the hair shader to Standard 2-Sided.
How to upload assets to STYLY
Click here to learn how to upload your human model from Unity to STYLY.
Learn VR/AR content creation with no experience!
NEWVIEW SCHOOL ONLINE is an online learning site where you can learn the basics of Unity and PlayMaker required for VR/AR content creation, as well as the production process (and production techniques) of the attractive content distributed on STYLY!
- You can create VR/AR contents without writing programming code.
- Officially supervised Unity courses are available.
- Additional elements such as photogrammetric production methods and content weight reduction are available.
- You can learn how to think about creating VR/AR content.