dilevin / computer-graphics-meshes

Computer Graphics Assignment about Meshes
1 stars 5 forks source link

cube missing parts? #44

Closed Leuxll closed 11 months ago

Leuxll commented 11 months ago

Hello, my cube is missing a triangle. Does anyone happen to know why this might be happening? Also, the lighting seems a bit off, does that matter?

Screenshot 2023-10-18 at 12 56 36 PM
Zhecheng-Wang commented 11 months ago

You can see there are edges crossing another edge (see the "x" shadow lines on the yellow face).

Your F is wrong so you are connecting the wrong vertices, think about how you should connect the vertices for one cube side.

Leuxll commented 11 months ago

ahhh yes, i got it now. Thank you very much!