This Python code converts photometric stereo images like these: to normal map textures like this: You can use just hm2nm(img) function to create a normal map from a single RGB image, or just ...
An easy to use Blender Add-on that allows you to bake Bevel Shader to the Normal Map, Ambient Occlusion to the AO Map in fully automatic mode.