Package com.jme3.util.mikktspace
Class MikktspaceTangentGenerator
java.lang.Object
com.jme3.util.mikktspace.MikktspaceTangentGenerator
This tangent generator is highly experimental.
This is the Java translation of the mikktspace generator made by Morten S. Mikkelsen
C Source code can be found here
https://developer.blender.org/diffusion/B/browse/master/intern/mikktspace/mikktspace.c
https://developer.blender.org/diffusion/B/browse/master/intern/mikktspace/mikktspace.h
Mikktspace looks like the new standard of tangent generation in 3-D software.
Xnormal, Blender, Substance painter, and many more use it.
Usage is :
MikktspaceTangentGenerator.generate(spatial);
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static boolean
genTangSpace
(MikkTSpaceContext mikkTSpace, float angularThreshold) static boolean
genTangSpaceDefault
(MikkTSpaceContext mikkTSpace)
-
Method Details
-
generate
-
genTangSpaceDefault
-
genTangSpace
-