flagflag  If you want to see English page, please click "English" Button at Left.
21: 2012-04-10 (火) 18:58:10 iseki ソース 現: 2012-04-11 (水) 09:17:13 iseki ソース
Line 29: Line 29:
#br #br
-*** I want to move finger of Avatar [#ff0aaf0a+*** Technical Memo [#o812571b
-- http://community.secondlife.com/t5/Mesh/How-to-Morphing-avatar-meshes-sort-of/td-p/444963+- [[Motion Memo>./Memo]] 
 +- [[Finger Motion>./Finger Motion]]
#br #br
- 
-*** [[Technical Memo>./Memo]] [#sa4c33b0] 
-#br 
-** Finger Motion [#xe2d83ed] 
- 
-*** Mesh [#e6fb0fc5] 
- 
-- character/avatar_upper_body.llm + [[avatar_lad.xml>./avatar_lad.xml]] => Viewer 
-#br 
-- http://marupeke296.com/index.html 
-- http://wiki.secondlife.com/wiki/Avatar_A​ppearance 
-   struct morph [] 
-   { 
-       char[64] morphName 
-       S32 numVertices 
-       struct vertices[ numVertices ] 
-       { 
-           U32 vertexIndex 
-           LLVector3 coord 
-           LLVector3 normal 
-           LLVector3 binormal 
-           LLVector2 texCoord 
-       } 
-   } 
- 
-   char[64] "End Morphs" 
-#br 
- 
-- LLPolyMorphData -> LLPolyMeshSharedData -> LLPolyMesh -> LLPolyMorphData 
-- LLCharacter::updateVisualParams() -> LLPolyMorphTarget::apply() 
-#br 
- 
-*** llpolymorph.h [#gad26ccb] 
-- LLPolyMorphData 
- //-------------------------------------​----------------------------------------​ 
- // LLPolyMorphData() 
- //-------------------------------------​----------------------------------------​ 
- class LLPolyMorphData 
- { 
- public: 
-  LLPolyMorphData(const std::string& morph_name); 
-  ~LLPolyMorphData(); 
- 
-  BOOL  loadBinary(LLFILE* fp, LLPolyMeshSharedData *mesh); 
-  const std::string& getName() { return mName; } 
- 
- public: 
-  std::string mName; 
-  // morphology 
-  U32        mNumIndices; 
-  U32*        mVertexIndices; 
-  U32        mCurrentIndex; 
-  LLVector3*  mCoords; 
-  LLVector3*  mNormals; 
-  LLVector3*  mBinormals; 
-  LLVector2*  mTexCoords; 
-  F32        mTotalDistortion; // vertex distortion summed over entire morph 
-  F32        mMaxDistortion;  // maximum single vertex distortion in a given morph 
-  LLVector3  mAvgDistortion;  // average vertex distortion, to infer directionality of the morph 
-  LLPolyMeshSharedData* mMesh; 
- }; 
-#br 
- 
-*** llpolyMesh.h [#b2e1b287] 
-**** LLPolyMesh [#o09cbc83] 
--- LLPolyMeshSharedData *mSharedData 
--- getMorphData(const std::string& morph_name) で mMorphData からメッシュデータを得る 
-#br 
-**** LLPolyMeshSharedData [#n149cc3d] 
--- morphdata_list_t mMorphData;  // LLPolyMorphData のリスト 
--- loadMesh() でメッシュデータを読み込んで mMorphData リストに追加 


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

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

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

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 5123512351235123
昨日 : 4222422242224222
総計 : 2317253723172537231725372317253723172537231725372317253723172537
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com