Probability Masking

   1900   4   0
User Avatar
Member
75 posts
Joined: Dec. 2017
Offline
I want to create a node to use for probability masking like the node in the screenshot. It's a technique used for creating realistic fur textures. Do I use an attribwrangle node? https://www.youtube.com/watch?v=OuHdgK5jOtQ [www.youtube.com]

Edited by Bennell - Aug. 15, 2023 09:30:52

Attachments:
ProbabilityMasking.JPG (115.7 KB)

User Avatar
Member
1224 posts
Joined: April 2017
Offline
Well, I don't have the time to show a multiple colors workflow but, when I use just a mask to go from red to blue, I'd use a wrangle with
(*I'm skiping some steps)
if(mask > rand(@ptnum))
    {
    @Cd = set(0,0,1)  //blue
    }

That way, if the mask is zero, it's red, if mask is one, it's blue but all values between zero and one will give either red or blue (not blending, just solid colors)
Edited by olivierth - Aug. 15, 2023 10:35:41
User Avatar
Member
75 posts
Joined: Dec. 2017
Offline
Do you know what the masks for green, white, and black are?
User Avatar
Member
1224 posts
Joined: April 2017
Offline
From the paint sop nodes she uses, I think it creates float mask named c1, c2, c3, c4 (white, green, blue and red).
User Avatar
Member
75 posts
Joined: Dec. 2017
Offline
I mean values.
  • Quick Links