-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clearify num_face and num_face_num_verts variable #16
Comments
Maybe |
Are you sure about this? For example, a cube regularly will have num_faces=24, <6 faces>*<1 square per face>*<4 vertexes per square>* And the same cube will triangulation will have num_faces=36, <6 faces>*<2 triangles per face>*<3 vertexes per triangle> In this example I have 6 "f lines" but my num_faces comes out to 24 and 36 respectively:
|
Oh, yes, triangulation will change the situation. Also, as you know, for a triangulated mesh all faces have 3 vertices(triangles), so |
We need to choose more better name for these variables.
Currently,
num_face = the number of
f
linesnum_face_num_verts = length of face_num_verts.
Each face_num_verts contains the number of vertices of a primitive(face). (e.g. 3(triangle), 4(quads))
If we dont triangulate face(primitive), num_face == num_face_num_verts.
The text was updated successfully, but these errors were encountered: