Esempio n. 1
0
        public static void PlaceTextureOnFaces(this Mesh mesh, int face, ImageBuffer textureToUse)
        {
            //// planer project along the normal of this face
            var faces = mesh.GetCoplanerFaces(face);

            mesh.PlaceTextureOnFaces(faces, textureToUse, mesh.GetMaxPlaneProjection(faces, textureToUse));
        }
Esempio n. 2
0
 public static void PlaceTextureOnFace(this Mesh mesh, int face, ImageBuffer textureToUse)
 {
     //// planar project along the normal of this face
     mesh.PlaceTextureOnFace(face, textureToUse, mesh.GetMaxPlaneProjection(face, textureToUse));
 }