XGen Density mask doesn't follow the white mask paint

XGen Density mask doesn't follow the white mask paint

amukherjee728
Contributor Contributor
1,201 Views
9 Replies
Message 1 of 10

XGen Density mask doesn't follow the white mask paint

amukherjee728
Contributor
Contributor

New to xgen.
After completing the head scalp hair, I started with the eyebrows. While making the density mask I am facing this issue where the hair root doesn't follow the density mask painted. I have painted with the hard brush after flooding black but getting this result of a chunk of hair appearing outside the mask.

Density mask issue.png

 
As marked in yellow a small chunk seems to appear outside the mask. Doesn't matter if map resolution is at default 5 or 40, tried increasing paint mask resolution up to 8k. UV is within 0-1 in a single set with lambert material.

I want the hair to be within the red arc.

Can somebody help me out?

Thanks.

0 Likes
1,202 Views
9 Replies
Replies (9)
Message 2 of 10

Christoph_Schaedl
Mentor
Mentor

How big is the mesh? 
Is your Maya set to cm?

----------------------------------------------------------------
https://linktr.ee/cg_oglu
0 Likes
Message 3 of 10

amukherjee728
Contributor
Contributor

Yes, currently the scene is in centimeters, mesh scale in the scene is pretty small (likely 2 cm). Didn't make a 1:1 of the model

0 Likes
Message 4 of 10

Christoph_Schaedl
Mentor
Mentor

Duplicate the mesh and scale it up. And do a quick test.

----------------------------------------------------------------
https://linktr.ee/cg_oglu
0 Likes
Message 5 of 10

amukherjee728
Contributor
Contributor

I scaled up the mesh by 10x within the same scene (cm) but resulted the same after defining the mask in 40 map resolution.

amukherjee728_0-1727805012094.png

 

If a face is >50% masked in white then the complete face generates hair defying the masked region. Do I have to have a high poly base for hair generation with xgen description?
In the scalp mask the density map worked quite fine as intended:

amukherjee728_0-1727805891533.png

 

0 Likes
Message 6 of 10

Christoph_Schaedl
Mentor
Mentor

Give it a try and subdivide it once.

----------------------------------------------------------------
https://linktr.ee/cg_oglu
0 Likes
Message 7 of 10

amukherjee728
Contributor
Contributor

Base mesh for the eyebrows was smoothened by a division which gives better control over the mask.

amukherjee728_0-1727808511316.png

 

But the core issue remains where the only output of paint map is either a face is 0 or 1, i.e., I can't get precise control with mask unless the base mesh is similar to a HP sculpt mesh or the topology defines the boundary of the hairline.
Also tried masking with cut modifier but result remains same where it is either 0 or 1 nothing in between:

amukherjee728_1-1727808796890.png

 


Is there any alternate solution or tool to achieve the intended result?

0 Likes
Message 8 of 10

Christoph_Schaedl
Mentor
Mentor

This should work. 
Could you try it again in a new scene on a sphere please?

----------------------------------------------------------------
https://linktr.ee/cg_oglu
0 Likes
Message 9 of 10

amukherjee728
Contributor
Contributor

A default scene in cm scale, masked on a 12cm sphere and 2cm cube.A default scene in cm scale, masked on a 12cm sphere and 2cm cube.

 @Christoph_Schaedl In a new scene of cm scale gaps are visible with a density of 2400. At certain brush size, the random spread shows gaps between chunks and some appearing outside of mask as well as not appearing at some places of mask.

0 Likes
Message 10 of 10

artur_ledurPGKTD
Observer
Observer

Hello, I’m facing the same issue.
Did you solve it?

I really don’t know what else to try. When viewing the mesh in wireframe mode, I can see that these “gaps” in the hair strands (even with the density mask painted in that region) seem to follow the polygon edges. I really want to find a solution for this.

xgen-issue.png

0 Likes