MonsterMaker534

Goal: What is the best way I can hide part of someone’s hair so it fits in a smaller hat?

Hey all,
I am creating a project similar to Spine’s mix-and-match example project.
I want to put a “skin” of a hat in front of a character’s hair.
Hats’ size < Hair size
What is the best way I can hide part of someone’s hair so it fits in a smaller hat?

My Ideas so Far:
—Split the head/hair skin into 2 pieces: “Side Burns and Bottom Part of Hair”/“Overlap with Hat” part of hair, and hide the “Overlap with Hat” when he/she is wearing the hat -> It is really hard to position together 2 halves of what should be the same object so the edges are not misaligned or show a small gap between each other. Even if they look aligned in one program (Ex: Photoshop), they might not be aligned in another program (Ex: Spine or Unity).
—Checked Spine’s blending modes -> Blending modes are about mixing colors and not about applying transparency.
—Use Spine’s Mesh deformations to squeeze the hair to fit in the hat -> So far, this is the best option. I am looking for a better option.

Thanks for your help!
MonsterMaker534
  • Postovi: 44

Misaki

Hi,

If I were you, I would add some bones to adjust the width and bind them to the hair mesh, and then use skin constraints to make the hair narrower only when the hat skin is active. It was difficult to explain in words, so I uploaded a short video demonstrating the way.


A simpler approach would be to add a hair skin for when the hat is worn.

I hope this will help you.
Avatar
Misaki

Misaki
  • Postovi: 768

Erika

Chiming in because hats!
First of all, that was a very smart approach Misaki!

I'd be curious to see the specific art of hat vs hair, but if the hat is smaller, that should be ok! minihats exist and they're super cute. the trick to get hats universally right is to make their curvature like the one in the video so they can stand alone wherever they're put and never following too precisely the border of the head, or the hair peeking out will indeed cause problems. As long as they make a c shape up to a straight border, you should be fine if a minihat look is acceptable.

Otherwise, I'd definitely go with Misaki's smart approach :D
Avatar
Erika

Erikari
  • Postovi: 3085

MonsterMaker534

Thank you both for your helpful solutions!
@Misaki: Interesting. That sounds/looks like a great idea and thank you for the video! I will use that solution.
@Erika: Thank you. That is very helpful! I'll focus on this when I draw my future hats.
MonsterMaker534
  • Postovi: 44

Misaki

I'm glad to hear you found it helpful. Thank you for getting back to us!
Avatar
Misaki

Misaki
  • Postovi: 768


Natrag na Editor