Tutorial: Hair Card Generator - Video Tutorial

Convert groom assets to cards

https://dev.epicgames.com/community/learning/tutorials/pwbl/unreal-engine-metahuman-hair-card-generator-video-tutorial

3 Likes

This is really impressive. A few bits of feedback, though I’m sure it is already something the team is considering:

LOD Generation
It would be a nicer UX in my view if the LOD generation happened in one list per asset. If there was one full list where you could add entries (kind of like in the Groom asset’s LOD list).

Here is a really rough mockup in Photoshop to illustrate my point. Some settings might be missing here, but overall it is a lot easier to comprehend what is happening between each LOD and there is less back and forth between windows.

Might also be nice if it was built as an array of structs so that we could copy-paste the same settings between multiple grooms more quickly and reduce data entry when generating groom LODs in bulk.

Hair Texture Generation/Combination
This might be out of scope, but it would be really nice to be able to generate hair strand textures that multiple grooms could use. Perhaps some method of drawing into an existing texture atlas, and then a method of selecting which cards in that atlas can be used within the Groom LOD generation.

Present the texture atlas, and allow us to draw boxes around each card/clump in the texture, each box represents an individual “selectable” element of hair which the groom can either use or ignore. This way we can build a singular or fewer large atlases of hair cards for a project, instead of a single texture set per groom.

So the workflow would be:

  • Generate groom A LOD 0 (straight hair) into ‘Shared Atlas’
  • Generate groom B LOD 0 (textured hair) into ‘Shared Atlas’
  • Generate groom C LOD 0 (curly hair) into ‘Shared Atlas’
  • Generate groom D LOD 0 using existing straight hair cards in ‘Shared Atlas’
  • Generate groom E LOD 0 using mixture of curly and straight hair cards, etc, etc.
  • Generate subsequent LODs using existing hair cards but with either unsubdivided or newly generated geo.
1 Like

I dont know why that is, but its a me issue.

I enabled all the necessary plugins and get this here:

LogHairCardGenerator: Error: Failed to find an active hair card controller.
LogHairCardGenerator: Error: No hair card generator controller found, cannot generate hair cards!

2 Likes