dilevin / computer-graphics-meshes

Computer Graphics Assignment about Meshes
1 stars 5 forks source link

Weird behavior for normals #60

Open RudainaK opened 10 months ago

RudainaK commented 10 months 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 10 months ago

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