- Home /
 
               Question by 
               Feref2 · Feb 26 at 11:22 PM · 
                meshtrianglesmesh verticesordering  
              
 
              How to ensure two triangles (6 mesh.triangles int) are consecutive in their order?
Am importing models from blender, and because everything is supposed to be quads there anyway, I thought of converting triangles to quads through a script, for performance reasons. My code works, but only when there are two consecutive mesh.triangles (that are 6 int). For example, when triangles [0], [1], [2] form half of the face of a quad and then triangles [3], [4], [5] finish that quad. Instead of having two triangles per face, I want quads.
Then, is there a way to ensure that there is a triangle (3 int) and the immediate next triangle (the next 3 int) form the same face?
 
                 
                captura-de-pantalla-450.png 
                (272.0 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
How to recalculate mesh triangles 0 Answers
How to detect a flat area in a mesh? 0 Answers
Generate mesh.triangles Array Programmatically 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                