Skip to main content
1 of 2
Jummit
  • 101
  • 3

What algorithm is used for baking grayscale curvature maps

I'm looking for a way to generate curvature maps like this:

curvature map

The map stores the Convexity and Concavity of each pixel as a value from 0 to 1, where .5 is no curvature and 1 and 0 are the extremes.

I searched for algorithms to calculate the curvature of meshes and found some questions:

What is the simplest way to compute principal curvature for a mesh triangle?

https://gamedev.stackexchange.com/questions/92621/cavity-map-generation

https://blender.stackexchange.com/questions/146819/is-there-a-way-to-calculate-mean-curvature-of-a-triangular-mesh

But I'm not sure if these are actually what is used in the example.

What algorithm is used to bake these maps, and where can I find more information about it?

Jummit
  • 101
  • 3