|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.geometry.config.DeformerConfig
@EditorTypes(value=DeformerConfig.Skin.class) public abstract class DeformerConfig
Deformer configuration.
| Nested Class Summary | |
|---|---|
static class |
DeformerConfig.Skin
Performs software skinning. |
| Constructor Summary | |
|---|---|
DeformerConfig()
|
|
| Method Summary | |
|---|---|
abstract Geometry |
createGeometry(GlContext ctx,
Scope scope,
GeometryConfig.Stored config,
PassDescriptor[] passes)
Creates a deformed geometry object. |
protected static void |
skinVertices(float[] source,
float[] dest,
Matrix4f[] boneMatrices,
int[] boneIndices,
float[] boneWeights,
int vidx,
int dinc)
Skins a set of vertices. |
protected static void |
skinVertices(float[] source,
float[] dest,
Matrix4f[] boneMatrices,
int[] boneIndices,
float[] boneWeights,
int nidx,
int vidx,
int dinc)
Skins a set of vertices and normals. |
protected static void |
skinVertices(float[] source,
float[] dest,
Matrix4f[] boneMatrices,
int[] boneIndices,
float[] boneWeights,
int tidx,
int nidx,
int vidx,
int dinc)
Skins a set of vertices, normals, and tangents. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeformerConfig()
| Method Detail |
|---|
public abstract Geometry createGeometry(GlContext ctx,
Scope scope,
GeometryConfig.Stored config,
PassDescriptor[] passes)
protected static void skinVertices(float[] source,
float[] dest,
Matrix4f[] boneMatrices,
int[] boneIndices,
float[] boneWeights,
int tidx,
int nidx,
int vidx,
int dinc)
tidx - the index of the first tangent in the destination array.nidx - the index of the first normal in the destination array.vidx - the index of the first vertex in the destination array.dinc - the stride between adjacent vertices in the destination array.
protected static void skinVertices(float[] source,
float[] dest,
Matrix4f[] boneMatrices,
int[] boneIndices,
float[] boneWeights,
int nidx,
int vidx,
int dinc)
nidx - the index of the first normal in the destination array.vidx - the index of the first vertex in the destination array.dinc - the stride between adjacent vertices in the destination array.
protected static void skinVertices(float[] source,
float[] dest,
Matrix4f[] boneMatrices,
int[] boneIndices,
float[] boneWeights,
int vidx,
int dinc)
vidx - the index of the first vertex in the destination array.dinc - the stride between adjacent vertices in the destination array.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||