• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

Revision310795caf516205820d1443134847d0eb41ee3cc (tree)
Time2013-07-06 15:12:12
Authorkobayasi <kobayasi@pscn...>
Commiterkobayasi

Log Message

add BindPoseTangent, HWBoneWeight to VertexBuffer.Type (but not implemented yet).

Change Summary

Incremental Difference

--- a/engine/src/core/com/jme3/scene/VertexBuffer.java
+++ b/engine/src/core/com/jme3/scene/VertexBuffer.java
@@ -190,6 +190,28 @@ public class VertexBuffer extends NativeObject implements Savable, Cloneable {
190190 * Texture coordinate #8
191191 */
192192 TexCoord8,
193+
194+ /**
195+ * Initial vertex tangents, used with animation.
196+ * Should have the same format and size as {@link Type#Tangent}.
197+ * If used with software skinning, the usage should be
198+ * {@link Usage#CpuOnly}, and the buffer should be allocated
199+ * on the heap.
200+ */
201+ BindPoseTangent,
202+
203+ /**
204+ * Bone weights, used with animation (4 floats).
205+ * for Hardware Skinning only
206+ */
207+ HWBoneWeight,
208+
209+ /**
210+ * Bone indices, used with animation (4 ubytes).
211+ * for Hardware Skinning only
212+ * either an int or float buffer due to shader attribute types restrictions.
213+ */
214+ HWBoneIndex,
193215 }
194216
195217 /**