Quantcast
Channel: Questions in topic: "obj"
Viewing all articles
Browse latest Browse all 167

Why is my mesh missing some triangles?

$
0
0
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?

Viewing all articles
Browse latest Browse all 167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>