public final class IrUtils
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
static IrMesh | 
applySmoothingGroups(IrMesh mesh)
Applies smoothing groups to vertex normals. 
 | 
static Mesh | 
convertIrMeshToJmeMesh(IrMesh mesh)
Convert IrMesh to jME3 mesh. 
 | 
static IntMap<IrMesh> | 
splitByMaterial(IrMesh mesh)
Separate mesh with multiple materials into multiple meshes each with 
 one material each. 
 | 
static void | 
toTangentsWithParity(IrMesh mesh)  | 
static void | 
triangulate(IrMesh mesh)
Convert mesh from quads / triangles to triangles only. 
 | 
static void | 
trimBoneWeights(IrMesh mesh)
Removes low bone weights from mesh, leaving only 4 bone weights at max. 
 | 
public static IrMesh applySmoothingGroups(IrMesh mesh)
mesh - ignoredpublic static void toTangentsWithParity(IrMesh mesh)
public static void trimBoneWeights(IrMesh mesh)
mesh - the IrMesh to modify (not null)public static void triangulate(IrMesh mesh)
mesh - the input IrMesh (not null)public static IntMap<IrMesh> splitByMaterial(IrMesh mesh)
mesh - the input IrMesh (not null)