chsh2 / nijiGPen

An add-on of Blender focusing on Grease Pencil
GNU General Public License v3.0
220 stars 9 forks source link

Create normal concaves #11

Closed b4zz4 closed 1 year ago

chsh2 commented 1 year ago

Thanks for your contribution. Yes the concave shape would be a good feature, while I am thinking if the visual effect can be further improved. The real concave shape usually has strong self-shadowing, but the normal map does not have it. Sometimes my eyes just cannot recognize the generated mesh as a concave shape, even though I know the math formula is correct.

I have a solution for a special case. I am working on a scaling option that generates disk-style shapes rather than sphere-style ones. In this case, the concave shape looks more realistic because it does not involve much self-shadowing.

I can merge your commit along with this scaling feature. Please also let me know if you have other ideas of improvements, especially for a more general case.

https://user-images.githubusercontent.com/110356534/211169253-ca118575-751b-4107-aaff-234f01f97fa6.mp4