Conversation
|
Shouldn't the top bottom planes be separate faces to preserve correct (vertex-)normals? |
Not sure what you mean by planes? |
|
I mean, that the whole mesh should probably be 3 separate faces (a top/bottom face and the round face in between). For this the vertices have to be duplicated for the top and bottom part and separate normals have to be provided that show towards the up/down direction. This is necessary for e.g. correct lighting/ normal interpolation. |
Fixed normals by duplicating top / bottom ring of vertices
|
Thanks @Philipp-M ! |
|
Any reason for closing this other than my slow response time? (Sorry about that by the way) |

Added a cylinder shape to mesh.rs
