Why is my mesh missing some triangles?
I have an OBJ file that I've imported into Unity. This file also has some metadata attached to each face, stored in a separate (proprietary) file. The metadata file contains metadata for 696,581 faces. Opening the OBJ file in a text editor reveals 696,581 lines starting with "f".
In Unity I'm using C# to manipulate the mesh. I would expect the triangles array to contain 696,581 * 3
elements, given that all my faces are triangles. However instead I see that mesh.triangles.Length is only 2,033,532, indicating a mere 677,844 triangles.
Where did the rest of my triangles go? Does Unity do some processing on my models when I import them?
Your answer
Follow this Question
Related Questions
Issue with materials on runtime-loaded mesh. 0 Answers
Very thin and long cuboid/cylinder 0 Answers
Automatically assign hundred of textures to .obj file 0 Answers
How to texturize individual elements of a mesh? 0 Answers
How to combine meshes seamlessly? 2 Answers