flagflag  If you want to see English page, please click "English" Button at Left.
  
現: 2011-11-03 (木) 14:27:43 iseki ソース
Line 1: Line 1:
 +** Memo [#y3af2cc6]
 +*** Setting of Animation Data by SL Viewer [#u584cf80]
 +- llcharacter/llkeyframemotion.cpp
 ++ BOOL LLKeyframeMotion::onUpdate(F32 time, U8* joint_mask)
 ++ void LLKeyframeMotion::applyKeyframes(F32 time)
 ++ void LLKeyframeMotion::JointMotion::update(LL​JointState* joint_state, F32 time, F32 duration)
 +#br
 +*** Memo [#q7586e6a]
 +
 +**** Hippo [#te6a3efe]
 +
 +- llcharacter/llmotion.cpp
 +- llcharacter/llchractor.cpp
 +
 +- llcharacter/llmotioncontroller.cpp
 +--  flushAllMotions -> startMotion -> activateMotionInstance
 +
 +
 +- llcharacter/llkeyframemotion.cpp
 +-- LLMotion::LLMotionInitStatus LLKeyframeMotion::onInitialize(LLCharact​er *character)
 +
 + llerrs << "Must call LLKeyframeMotion::setVFS() first before loading a keyframe file!" << llendl;
 +
 +
 +- llcharacter/lleditingmotion.cpp
 +- llcharacter/llkeyframemotionparam.cpp
 +
 +#br
 +**** Imprudence [#f651a3f5]
 +
 +motion は LLKeyframeMotionのsuper class
 +
 +
 + LLKeyframeMotion::onInitialize
 +   if mAssetStatus==ASSET_UNDEFINED
 +       LLKeyframeMotion::JointMotionList* joint_motion_list = LLKeyframeDataCache::getKeyframeData(get​ID());
 +       if joint_motion_list != null
 +           mJointMotionList = joint_motion_list;
 +           mAssetStatus = ASSET_LOADED;
 +           return
 + 
 +       Read Data or recieve UDP
 +       deserialize(dp)
 +           mJointMotionList を生成
 +           mJointMotionList にデータをセット
 +           LLKeyframeDataCache::addKeyframeData(get​ID(),  mJointMotionList); キャッシュ  getID(): mID (アッセットのUUID)
 +       mAssetStatus = ASSET_LOADED;
 +
 +
 +
 + llcharacter.cpp
 +   LLMotionController::createMotion()
 +       motion->onInitialize
 +
 +
 + llcharacter.cpp
 +   LLMotionController::updateLoadingMotions​
 +       motion->onInitialize
 +       LLMotionController::activateMotionInstan​ce
 +           motion->activate
 +               LLkeyFrameMotion::onActive
 +           motion->onUpdate
 +
 + llcharacter.cpp
 +   LLMotionController::startMotion()
 +       if motion==null
 +           LLMotionController::createMotion()
 +               motion->onInitialize
 +       LLMotionController::activateMotionInstan​ce
 +           motion->activate
 +               LLkeyFrameMotion::onActive
 +           motion->onUpdate
 +
 + LLKeyframeDataCache::removeKeyframeData​(getID());
 + mAssetStatus = ASSET_UNDEFINED;
 +
 +以下没~
 +%%キャッシュさせない%%~
 +%%motion->onUpdate でデータをクリアすれば,onInitializeで毎回データを読みに行く <- Kinectのデータをぶち込む%%
 +
 +#br
 +**** UUID of Animation [#vff756ec]
 +- 320209e6-6d42-42ff-a30f-9b7610598f24 : Yatta
 +- 0e58b0de-34cd-4712-9d96-f9fe85b211c1 : sexywalk
 +#br
  

  • kinect2SLViewer/Memo のバックアップ差分(No. All)
    • 現: 2011-11-03 (木) 14:27:43 iseki

トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
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 31
<今日>

オンライン状況

99 人のユーザが現在オンラインです。 (21 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 99

もっと...

アクセスカウンタ

今日 : 1095310953109531095310953
昨日 : 1412914129141291412914129
総計 : 2345656323456563234565632345656323456563234565632345656323456563
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com