Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Find "flat" areas

New Here ,
Sep 07, 2023 Sep 07, 2023

Hi everyone! Now I am working at the material preset for the project and due to some specific restrictions I cannot use some default functions and have to invent some solutions.
What I need to do for now is to create somehow the generator which will find areas on the object which are "flat" (or almost flat) and exclude them from mask.
I could do thatusing pixel processor and tangent space normals, but there are some areas where the gradient is presented to compensate surface shhading of the mesh. (Imagine the cube where all edges are soft, but it has a baked normals which make it appear flat). So, using only the tangent normals is not a solution and now my main idea is to utilize the object space normals and make the pixel processor count value of each pixel and compare it with its neighbours, but I have no picture of the final math for now and need some suggestions on how could I do that. 
Or if someone could suggest another way to solve that problem, I'll be very glad.
Thanks a lot to you all!

TOPICS
How to , Substance Graph
181
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 19, 2023 Sep 19, 2023

Hello,

 

Thank you for your patience. You may try baking a Curvature map for the mesh and invert the result.
You can input a normal map in the Curvature baker if you require additional normal details to be taken into account when baking.

 

Would that work for you?

 

Best regards,

Luca Giarrizzo | Quality Engineer, 3D & Immersive | Adobe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 19, 2023 Sep 19, 2023
LATEST

Thank you for the reply! No, that will not work unfortunately 😞
Because I work with very low texel density curvature baking doesn't give me desired result for maps generation and so, and I have to hardcode it in some way by using pixel processor (I assume that this is the best way to oslve the problem).
My main intention is to create some map which will replace curvature and cavity in my projects 😄

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines