KeyShot Forum

Technical discussions => Textures => Topic started by: unbreakable on September 26, 2019, 12:45:58 PM

Title: Occlusion (procedural texture) and Fillets
Post by: unbreakable on September 26, 2019, 12:45:58 PM
Hi! I am a newbie in Keyshot. For my last project, I needed to make an opacity mask on the edges of the plane. Edges are not straight so Color Gradient was not the way. I was messing around with occlusion texture. And I've noticed that occlusion doesn't really work with fillets (though they are made of another material ). Is there a way to make it work with fillets? I've made another simple model to show what I mean:
Title: Re: Occlusion (procedural testure) and Fillets
Post by: INNEO_MWo on September 27, 2019, 11:13:00 PM
It looks like 2 or 3 different parts with different materials.
Title: Re: Occlusion (procedural testure) and Fillets
Post by: unbreakable on September 28, 2019, 01:30:53 AM
Quote from: MWo on September 27, 2019, 11:13:00 PM
It looks like 2 or 3 different parts with different materials.

Yes, it's 3 solid bodies. I split one solid body with surface intentionally for the demonstration. Here is one single part:
(https://i.imgur.com/uSzFuV3.jpg)

As I've read "occlusion can be thought of as shading determined by nearby geometry, so an occluded surface is one that's near to another surface" but it seems that it doesn't consider fillet as a surface.
Title: Re: Occlusion (procedural testure) and Fillets
Post by: TGS808 on September 28, 2019, 09:31:49 AM
I may be misunderstanding what you are trying to do but will Curvature work? (this also uses a Color to Number adjustment)

Title: Re: Occlusion (procedural testure) and Fillets
Post by: unbreakable on September 28, 2019, 10:34:40 AM
Quote from: TGS808 on September 28, 2019, 09:31:49 AM
I may be misunderstanding what you are trying to do but will Curvature work? (this also uses a Color to Number adjustment)

Thanks, but it still doesn't work for me.
I'll explain on my model. I am rendering plates that at first were polished in vibratory tumbler, then front and back sides and partially fillets were made satin finish and after that, they were bent.
Therefore rims are bumpy while front, backsides and partially fillets are satin finish. So I need a mask on approximately 1/3 widths (red pen on my picture) of fillets to make a transition between satin finish and bumpy/scratched surface of the rims. So far with both curvature and occlusion I've managed  to make mask either on whole fillet or none.

Actually, I was hoping to use displacement on rims but it looks like displacement map doesn't work with opacity therefore with masks (right?)

(https://i.imgur.com/Brt8Qgo.jpg)
(https://i.imgur.com/QXgKzrq.jpg)
P.S. Sorry for my English.