alecjacobson / computer-graphics-meshes

Computer Graphics Assignment about Meshes
26 stars 30 forks source link

Inverse Normal #11

Open vinaykomaravolu opened 6 years ago

vinaykomaravolu commented 6 years ago

duck

How do I fix this issue of inverse normal? When I do the cross product of two vectors of a triangle, it gives me the inverse (only for the edges, as seen in the image). My algorithm works great for per-corner normal smoothing since it doesn't smooth out the hard edges.