dilevin / computer-graphics-meshes

Computer Graphics Assignment about Meshes
1 stars 6 forks source link

Weird behavior for normals #60

Open RudainaK opened 1 year ago

RudainaK commented 1 year ago

i'm not entirely sure what's going on with the output here, especially with per-corner normals where the only change seems to be the lighting

per-face normals: image

per-vertex normals image

per-corner normals image

Zhecheng-Wang commented 1 year ago

Did you normalize both face normals when comparing their dot product to the threshold?