Package com.jme3.util

Class TangentBinormalGenerator

java.lang.Object
com.jme3.util.TangentBinormalGenerator

public class TangentBinormalGenerator extends Object
  • Field Details

    • debug

      public static boolean debug
  • Method Details

    • generate

      public static void generate(Mesh mesh)
    • generate

      public static void generate(Spatial scene, boolean splitMirrored)
    • generate

      public static void generate(Spatial scene)
    • generateParallel

      public static void generateParallel(Spatial scene, ExecutorService executor)
    • generate

      public static void generate(Mesh mesh, boolean approxTangents, boolean splitMirrored)
    • generate

      public static void generate(Mesh mesh, boolean approxTangents)
    • processTriangle

      public static TangentBinormalGenerator.TriangleData processTriangle(int[] index, Vector3f[] v, Vector2f[] t)
    • setToleranceAngle

      public static void setToleranceAngle(float angle)
    • genTbnLines

      public static Mesh genTbnLines(Mesh mesh, float scale)
    • genNormalLines

      public static Mesh genNormalLines(Mesh mesh, float scale)