Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
If you want to see English page, please click "English" Button at Left.
[
タイトル一覧
|
ページ一覧
|
新規
|
単語検索
|
最終更新
|
ヘルプ
]
Second Life/binBVH
をテンプレートにして作成
[
トップ
]
[ ]
開始行:
** binBVH
*** 概要
- SecondLife/OpenSim の内部用の最適化(バイナリ化)された...
- see llkeyframemotion.cpp LLKeyframeMotion::deserialize(...
#br
- http://wiki.secondlife.com/wiki/Internal_Animation_Format
#br
*** Data Format
01 00 "version" (U16)
00 00 "sub_version" (U16)
04 00 00 00 "base_priority", Priority (S...
b4 54 75 40 "duration", Length (F32, flo...
00 "emote_name", Expression Nam...
00 00 00 00 "loop_in_point", In Point ...
b4 54 75 40 "loop_out_point", Out Point ...
01 00 00 00 "loop", Loop (S32) [mJointM...
00 00 00 3f "ease_in_duration", Ease in...
33 33 33 3f "ease_out_duration", Ease ou...
03 00 00 00 "hand_pose", Hand Pose (U32,...
12 00 00 00 "num_joints", Joint Count (U...
// Joint Data
6d 50 65 6c 76 69 73 00 "joint_name", Joint Name (mP...
04 00 00 00 "joint_priority", Priority R...
24 00 00 00 "num_rot_keys", Number of Ro...
[joint_motion->mRotationCur...
// Rotation Keyframe data blocks
73 04 "time", Time Code (U16->F32に変換, old_versi...
35 7b "rot_angle_x", X (U16) [rCurve->mKeys[time]]
be 6a "rot_angle_y", Y (U16)
1f 52 "rot_angle_z", Z (U16)
e7 08 "time", Time Code (U16->F32に変換, old_versi...
38 6f "rot_angle_x", X (U16)
e8 b9 "rot_angle_y", Y (U16)
5d 77 "rot_angle_z", Z (U16)
.........................
56 00 00 00 "num_pos_keys", Number of Posi...
[joint_motion->mPositionCurve....
// Position Keyframe data blocks
73 04 "time", Time Code (U16->F32に変換, old_versi...
ff 7f "pos_x", X (U16) [pCurve->mKeys[pos_key.mTi...
ff 7f "pos_y", Y (U16)
ca 7d "pos_z", Z (U16)
e7 08 "time", Time Code (U16->F32に変換, old_versi...
ff 7f "pos_x", X (U16)
ff 7f "pos_y", Y (U16)
bb 7d "pos_z", Z (U16)
.........................
"num_constraints" (S32)
"chain_length" (U8) [constraintp->mChainLength]
"constraint_type" (U8) [constraintp->mConstraintType]
"source_volume" (Binary 16bit, char*に変換) [constr...
"source_offset" (Vector3) [constraintp->mSourceCons...
"target_volume" (Binary 16bit, char*に変換) [constr...
"target_offset" (Vector3) [onstraintp->mTargetConst...
"target_dir" (Vector3) [constraintp->mTargetConstra...
"ease_in_start" (F32) [constraintp->mEaseInStartTime]
"ease_in_stop" (F32) [constraintp->mEaseInStopTime]
"ease_out_start" (F32) [constraintp->mEaseOutStartT...
"ease_out_stop" (F32) [constraintp->mEaseOutStopTime]
// Next Joint Data
.........................
*** Code
- mJointMotionList, joint_motion, joint_state
- JointMotion* joint_motion = mJointMotionList->getJointM...
- mJointMotionList->mConstraints.push_front(JointConstrai...
//------------------------------------------------------...
// JointMotionList
//------------------------------------------------------...
class JointMotionList
{
public:
std::vector<JointMotion*> mJointMotionArray;
F32 mDuration;
BOOL mLoop;
F32 mLoopInPoint;
F32 mLoopOutPoint;
F32 mEaseInDuration;
F32 mEaseOutDuration;
LLJoint::JointPriority mBasePriority;
LLHandMotion::eHandPose mHandPose;
LLJoint::JointPriority mMaxPriority;
typedef std::list<JointConstraintSharedData*> constrain...
constraint_list_t mConstraints;
LLBBoxLocal mPelvisBBox;
// mEmoteName is a facial motion, but it's necessary to...
// TODO: LLKeyframeDataCache::getKeyframeData should pr...
// JointMotionList and mEmoteName, see LLKeyframeMotion...
std::string mEmoteName;
public:
JointMotionList();
~JointMotionList();
U32 dumpDiagInfo();
JointMotion* getJointMotion(U32 index) const { llassert...
U32 getNumJointMotions() const { return mJointMotionArr...
};
終了行:
** binBVH
*** 概要
- SecondLife/OpenSim の内部用の最適化(バイナリ化)された...
- see llkeyframemotion.cpp LLKeyframeMotion::deserialize(...
#br
- http://wiki.secondlife.com/wiki/Internal_Animation_Format
#br
*** Data Format
01 00 "version" (U16)
00 00 "sub_version" (U16)
04 00 00 00 "base_priority", Priority (S...
b4 54 75 40 "duration", Length (F32, flo...
00 "emote_name", Expression Nam...
00 00 00 00 "loop_in_point", In Point ...
b4 54 75 40 "loop_out_point", Out Point ...
01 00 00 00 "loop", Loop (S32) [mJointM...
00 00 00 3f "ease_in_duration", Ease in...
33 33 33 3f "ease_out_duration", Ease ou...
03 00 00 00 "hand_pose", Hand Pose (U32,...
12 00 00 00 "num_joints", Joint Count (U...
// Joint Data
6d 50 65 6c 76 69 73 00 "joint_name", Joint Name (mP...
04 00 00 00 "joint_priority", Priority R...
24 00 00 00 "num_rot_keys", Number of Ro...
[joint_motion->mRotationCur...
// Rotation Keyframe data blocks
73 04 "time", Time Code (U16->F32に変換, old_versi...
35 7b "rot_angle_x", X (U16) [rCurve->mKeys[time]]
be 6a "rot_angle_y", Y (U16)
1f 52 "rot_angle_z", Z (U16)
e7 08 "time", Time Code (U16->F32に変換, old_versi...
38 6f "rot_angle_x", X (U16)
e8 b9 "rot_angle_y", Y (U16)
5d 77 "rot_angle_z", Z (U16)
.........................
56 00 00 00 "num_pos_keys", Number of Posi...
[joint_motion->mPositionCurve....
// Position Keyframe data blocks
73 04 "time", Time Code (U16->F32に変換, old_versi...
ff 7f "pos_x", X (U16) [pCurve->mKeys[pos_key.mTi...
ff 7f "pos_y", Y (U16)
ca 7d "pos_z", Z (U16)
e7 08 "time", Time Code (U16->F32に変換, old_versi...
ff 7f "pos_x", X (U16)
ff 7f "pos_y", Y (U16)
bb 7d "pos_z", Z (U16)
.........................
"num_constraints" (S32)
"chain_length" (U8) [constraintp->mChainLength]
"constraint_type" (U8) [constraintp->mConstraintType]
"source_volume" (Binary 16bit, char*に変換) [constr...
"source_offset" (Vector3) [constraintp->mSourceCons...
"target_volume" (Binary 16bit, char*に変換) [constr...
"target_offset" (Vector3) [onstraintp->mTargetConst...
"target_dir" (Vector3) [constraintp->mTargetConstra...
"ease_in_start" (F32) [constraintp->mEaseInStartTime]
"ease_in_stop" (F32) [constraintp->mEaseInStopTime]
"ease_out_start" (F32) [constraintp->mEaseOutStartT...
"ease_out_stop" (F32) [constraintp->mEaseOutStopTime]
// Next Joint Data
.........................
*** Code
- mJointMotionList, joint_motion, joint_state
- JointMotion* joint_motion = mJointMotionList->getJointM...
- mJointMotionList->mConstraints.push_front(JointConstrai...
//------------------------------------------------------...
// JointMotionList
//------------------------------------------------------...
class JointMotionList
{
public:
std::vector<JointMotion*> mJointMotionArray;
F32 mDuration;
BOOL mLoop;
F32 mLoopInPoint;
F32 mLoopOutPoint;
F32 mEaseInDuration;
F32 mEaseOutDuration;
LLJoint::JointPriority mBasePriority;
LLHandMotion::eHandPose mHandPose;
LLJoint::JointPriority mMaxPriority;
typedef std::list<JointConstraintSharedData*> constrain...
constraint_list_t mConstraints;
LLBBoxLocal mPelvisBBox;
// mEmoteName is a facial motion, but it's necessary to...
// TODO: LLKeyframeDataCache::getKeyframeData should pr...
// JointMotionList and mEmoteName, see LLKeyframeMotion...
std::string mEmoteName;
public:
JointMotionList();
~JointMotionList();
U32 dumpDiagInfo();
JointMotion* getJointMotion(U32 index) const { llassert...
U32 getNumJointMotions() const { return mJointMotionArr...
};
ページ名:
サイト内 検索
高度な検索
ログイン
ユーザー名:
パスワード:
パスワード紛失
新規登録
サブ メニュー
新着情報
Books
リンク
サイトマップ
e-Learning
TUIS 認証局証明書
ミニカレンダー
2024年 9月
日
月
火
水
木
金
土
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<今日>
オンライン状況
20 人のユーザが現在オンラインです。 (5 人のユーザが xpwiki を参照しています。)
登録ユーザ: 0
ゲスト: 20
もっと...
アクセスカウンタ
今日 :
昨日 :
総計 :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com