Notifications
Article
An alternative way to recalculate mesh normals. Hard Edges
Published 2 years ago
83
0
Hard Edge meshes
When developing my own importer of meshes, I tried to implement an alternative way of recalculating normals that takes into account the areas of adjacent polygons. I called it the Hard Edge normals.
Main differense with default recalculation method is polygons area is that a small polygons will have less influence on shading of its larger neighbor. Likewise, the neighbor will have larger influence on the shading of the smaller neighbor.
There is no aditional shader or plugins needed it is just regular mesh that can be serrialized.
There is complete scene maded using this feature
WebGL demo http://polyflow3d.tr.dn.ua/CompressorWebGL/
Andrey Volkov
independent developer - Programmer
7
Comments