锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品青青草原伊人,久久久久人妻一区精品,久久无码国产http://www.shnenglu.com/Felicia/category/5929.htmlzh-cnSun, 25 Jan 2009 17:03:03 GMTSun, 25 Jan 2009 17:03:03 GMT60 <澶╅緳鍏儴Online>璧勬簮鍖匒xp鏍煎紡鐮旂┒ http://www.shnenglu.com/Felicia/archive/2009/01/25/72566.htmlFeliciaFeliciaSun, 25 Jan 2009 02:53:00 GMThttp://www.shnenglu.com/Felicia/archive/2009/01/25/72566.htmlhttp://www.shnenglu.com/Felicia/comments/72566.htmlhttp://www.shnenglu.com/Felicia/archive/2009/01/25/72566.html#Feedback0http://www.shnenglu.com/Felicia/comments/commentRss/72566.htmlhttp://www.shnenglu.com/Felicia/services/trackbacks/72566.htmlAxp鍖呭叾瀹炴槸寰堢畝鍗曠殑錛岀粨鏋勭畝鍗曪紝鏄庢枃淇濆瓨銆?br>
Axp鏂囦歡鏍煎紡澶ц嚧涓婂涓嬶細
1.鏂囦歡澶達紱
2.绱㈠紩琛紱
3.鏂囦歡鍚嶈〃錛?br>4.鏁版嵁銆?br>鍏朵腑錛屾枃浠跺悕琛ㄤ互鏂囦歡鍚嶄負(list)鐨勬枃浠跺瓨鍦ㄤ簬鏁版嵁褰撲腑銆傛垜鎯籌紝涔嬫墍浠ヨ鏈夎繖涔堜竴涓笢瑗匡紝鑰屼笉鍜岀儲寮曡〃鍚堜簩涓轟竴錛屾亹鎬曟槸鍥犱負鏂囦歡鍚嶆槸鍙橀暱涔嬫晠鍚с?br>
Axp鏂囦歡澶寸殑鏍煎紡澶ц嚧涓猴細
1. 鏂囦歡鏍囩ず錛屼竴鑸負瀛楃涓?#8220;AXPK”錛屽畠鍗犳嵁浜嗗洓涓瓧鑺傦紝鍗犳嵁絀洪棿涓?x00-0x04錛?br>2.绱㈠紩琛ㄥ亸縐婚噺錛屼負unit錛屽畠鍗犳嵁浜嗗洓涓瓧鑺傦紝鍗犳嵁鐨勭┖闂翠負錛?x10-0x13錛?br>3.鏂囦歡鏁幫紝涓簎nit錛屽畠鍗犳嵁浜嗗洓涓瓧鑺傦紝鍗犳嵁鐨勭┖闂翠負錛?x14-0x17銆?br>鏂囦歡澶村崰鎹?0涓瓧鑺傦紝鏃㈡槸鍦?x00-0x27鐨勭┖闂村唴銆?br>
涓鑸潵璇達紝绱㈠紩琛ㄧ殑鍋忕Щ閲忎負錛?x60028錛屾暟鎹尯鐨勫亸縐婚噺涓猴細0x160028.
涓嶈繃榪樻槸渚濈収浠ヤ笅嫻佺▼鑾峰彇鍋忕Щ閲忎負濂斤細
1.鑾峰彇鏂囦歡澶寸殑绱㈠紩琛ㄥ亸縐婚噺錛?br>2.浣跨敤绱㈠紩琛ㄥ亸縐婚噺瀹氫綅鍒版枃浠跺叿浣撲綅緗紱
3.浣跨敤鏂囦歡澶磋幏鍙栧埌鐨勬枃浠舵暟鏉ヨ鍙栨枃浠舵暟鏉$儲寮曪紱
4.鏍規(guī)嵁绱㈠紩鏌ユ壘鏂囦歡銆?br>鍦? 榪欓噷鎴戞槸寰堢撼闂風(fēng)殑錛氭枃浠跺悕琛ㄦ枃浠舵病鏈夌壒孌婁綅緗紝涔熶技涔庢病鏈夌湅鍒版湁鏂囦歡澶翠繚瀛樼殑鍋忕Щ閲忔寚鍚戝畠錛屽浣曞幓鑾峰彇榪欎釜鏂囦歡鏄釜寰堜護鎴戝洶鎵扮殑浜嬫儏銆傚彟澶栵紝琛ㄩ噷闈㈢殑鏂囦歡 鍚嶉『搴忓拰璧勬簮鍖呴噷闈㈢殑鏂囦歡鎺掑垪欏哄簭浼間箮鏄病鏈変竴涓『搴忓搴旂殑鍏崇郴鐨勩傚浣曞皢绱㈠紩琛ㄥ拰鏂囦歡鍚嶈〃榪涜鍏寵仈錛屽張鏄竴涓護浜哄洶鎵扮殑浜嬫儏錛屾垨璁歌兘澶熻В閲婇氱殑澶ф灝辨槸 浠栦滑鏄鍙栧悗闇瑕佹帓搴忕殑錛屾垨鑰呰榪樻湁浠涔堢壒鍒殑鐩稿叧鏁版嵁鎴戞病鏈夎幏鍙栧埌銆?br>

绱㈠紩琛ㄧ殑绱㈠紩錛?br>1.鍋忕Щ閲忥紝unit錛?br>2.鏂囦歡澶у皬錛寀nit錛?br>3.鏍囧織浣嶏紝unit錛岀幇鍦ㄤ技涔庡彧鏈?x00000000鍜?x80000000涓や釜鏍囪瘑錛岀敤浜庢爣紺鴻鏂囦歡鏄惁鍙互琚嬌鐢ㄦ垨鑰呭凡緇忚鍒犻櫎銆?br>

鍒扮幇鍦ㄤ負姝紝鏈浠ゆ垜鍥版儜鐨勫氨鏄偅涓ゅ紶琛ㄨ濡備綍榪涜鍏寵仈鍜岀粦瀹氭暟鎹傝繕鏈夊氨鏄浣曞幓鑾峰彇鏂囦歡鍚嶈〃銆?img src ="http://www.shnenglu.com/Felicia/aggbug/72566.html" width = "1" height = "1" />

Felicia 2009-01-25 10:53 鍙戣〃璇勮
]]>
濡備綍鍔犺澆銆婂ぉ榫欏叓閮ㄣ婼keletonhttp://www.shnenglu.com/Felicia/archive/2009/01/25/72565.htmlFeliciaFeliciaSun, 25 Jan 2009 02:36:00 GMThttp://www.shnenglu.com/Felicia/archive/2009/01/25/72565.htmlhttp://www.shnenglu.com/Felicia/comments/72565.htmlhttp://www.shnenglu.com/Felicia/archive/2009/01/25/72565.html#Feedback0http://www.shnenglu.com/Felicia/comments/commentRss/72565.htmlhttp://www.shnenglu.com/Felicia/services/trackbacks/72565.html璇存槑錛氭湰鏂囩珷綰睘瀛︿範(fàn)涔嬬敤錛屽鏈夊晢涓氫箣鐢紝涓庢湰浜烘棤鍏熾?/span>

緗戠粶娓告垙銆婂ぉ榫欏叓閮ㄣ嬮噰鐢ㄧ殑鏄疧gre3d浣滀負鍏跺鎴風(fēng)娓叉煋寮曟搸錛屼粬浠涔嬪仛浜嗚澶氳嚜瀹氫箟鐨勪慨鏀癸紝鍦ㄨ繖閲屼綔涓哄涔?fàn)鍙敤锛岀壒鍒鏄庝竴涓嬪叾鑷畾涔夌殑Skeleton鐨勬牸寮忥紝浠ュ強濡備綍鍔犺澆鐨勫姙娉曘?br>
澶╅緳鍏儴鍔犲叆浜嗚繖鏍蜂竴涓尯孌碉細
SKELETON_ANIMATION_TRACK_MULTI_KEYFRAME  0x4120 (16672)
鍦ㄥ姞鍏ヤ簡榪欎釜鍖烘鐨勫唴瀹逛箣鍚庯紝鍏舵牸寮忓ぇ姒傚氨鏄繖鏍蜂竴涓牱瀛愶細
 enum SkeletonChunkID {
        SKELETON_HEADER            
= 0x1000,
            
// char* version           : Version number check
        SKELETON_BONE              = 0x2000,
        
// Repeating section defining each bone in the system. 
        
// Bones are assigned indexes automatically based on their order of declaration
        
// starting with 0.

            
// char* name                       : name of the bone
            
// unsigned short handle            : handle of the bone, should be contiguous & start at 0
            
// Vector3 position                 : position of this bone relative to parent 
            
// Quaternion orientation           : orientation of this bone relative to parent 
            
// Vector3 scale                    : scale of this bone relative to parent 

        SKELETON_BONE_PARENT       
= 0x3000,
        
// Record of the parent of a single bone, used to build the node tree
        
// Repeating section, listed in Bone Index order, one per Bone

            
// unsigned short handle             : child bone
            
// unsigned short parentHandle   : parent bone

        SKELETON_ANIMATION         
= 0x4000,
        
// A single animation for this skeleton

            
// char* name                       : Name of the animation
            
// float length                      : Length of the animation in seconds

            SKELETON_ANIMATION_TRACK 
= 0x4100,
            
// A single animation track (relates to a single bone)
            
// Repeating section (within SKELETON_ANIMATION)
                
                
// unsigned short boneIndex     : Index of bone to apply to

                SKELETON_ANIMATION_TRACK_KEYFRAME 
= 0x4110,
                
// A single keyframe within the track
                
// Repeating section

                    
// float time                    : The time position (seconds)
                    
// Quaternion rotate            : Rotation to apply at this keyframe
                    
// Vector3 translate            : Translation to apply at this keyframe
                    
// Vector3 scale                : Scale to apply at this keyframe

                SKELETON_ANIMATION_TRACK_MULTI_KEYFRAME 
= 0x4120,
                
// A multiple keyframe within the track
                
// Repeating section

                    
// float length                 : Length of the animation in seconds
                    
// float flags                  : Length of the animation in seconds
                        
// float time                   : The time position (seconds)
                        
// Quaternion rotate            : Rotation to apply at this keyframe
                        
// Vector3 translate            : Translation to apply at this keyframe
                
        SKELETON_ANIMATION_LINK         
= 0x5000
        
// Link to another skeleton, to re-use its animations

            
// char* skeletonName                    : name of skeleton to get animations from
            
// float scale                            : scale to apply to trans/scale keys

    };


鐒跺悗鎴戜滑鎵撳紑OgreSkeletonSerializer.cpp鎵懼埌SkeletonSerializer::readAnimationTrack鐨勫疄鐜幫紝鐒跺悗鏇挎崲涓轟笅闈㈢殑浠g爜:
void SkeletonSerializer::readAnimationTrack(DataStreamPtr& stream, Animation* anim, 
        Skeleton
* pSkel)
    {
        
// unsigned short boneIndex     : Index of bone to apply to
        unsigned short boneHandle;
        readShorts(stream, 
&boneHandle, 1);

        
// Find bone
        Bone *targetBone = pSkel->getBone(boneHandle);

        
// Create track
        NodeAnimationTrack* pTrack = anim->createNodeTrack(boneHandle, targetBone);

        
// Keep looking for nested keyframes
        if (!stream->eof())
        {
            unsigned 
short streamID = readChunk(stream);
            
while( (streamID == SKELETON_ANIMATION_TRACK_KEYFRAME || streamID == SKELETON_ANIMATION_TRACK_MULTI_KEYFRAME)
                
&& !stream->eof())
            {
                
if (streamID == SKELETON_ANIMATION_TRACK_MULTI_KEYFRAME)
                {
                    
// TLBB 鏂板浜嗘閮ㄥ垎
                    unsigned short len;
                    unsigned 
short flags;
                    readShorts(stream, 
&len, 1);
                    readShorts(stream, 
&flags, 1);

                    
int count = (mCurrentstreamLen - 4 - 4/ 4;
                    
if (len != count / 8)
                    {
                        len 
= len;
                    }
                    
float time;
                    
for (int i = 0; i < len; i += 1)
                    {
                        readFloats(stream, 
&time, 1);
                        TransformKeyFrame 
*kf = pTrack->createNodeKeyFrame(time);

                        Quaternion rot 
= Quaternion::IDENTITY;
                        
if (flags & 1)
                        {
                            readObject(stream, rot);
                        }
                        kf
->setRotation(rot);

                        Vector3 trans 
= Vector3::ZERO;
                        
if (flags & 2)
                        {
                            readObject(stream, trans);
                        }
                        kf
->setTranslate(trans);
                    }
                }
                
else
                {
                    readKeyFrame(stream, pTrack, pSkel);
                }

                
if (!stream->eof())
                {
                    
// Get next stream
                    streamID = readChunk(stream);
                }
            }
           
            
if (!stream->eof())
            {
                
// Backpedal back to start of this stream if we've found a non-keyframe
                stream->skip(-STREAM_OVERHEAD_SIZE);
            }
        }
    }
淇濆瓨鐒跺悗閲嶆柊緙栬瘧Ogre灝監(jiān)K浜嗭紝鐞嗚涓婂氨鏄彲浠ュ姞杞藉叾楠ㄩ鍔ㄧ敾浜嗐?br>鍙﹀錛屽叾楠ㄩ鏂囦歡鍚嶏紝妯″瀷鏂囦歡鍚嶉兘鏄敤鐨勪腑鏂囷紝鑰孷S2005瀵逛腑鏂囪礬寰勫悕鐨勬敮鎸佹槸鏈変竴涓猙ug鐨勶紝瑙e喅姝ら棶棰樺弬瑙佷笅闈㈣繖綃囨枃绔狅細
http://www.shnenglu.com/tx7do/archive/2008/12/09/68897.html


Felicia 2009-01-25 10:36 鍙戣〃璇勮
]]>
[鏉傞]pku3269 鏇煎搱欏胯窛紱葷殑鎬ц川http://www.shnenglu.com/Felicia/archive/2008/01/20/41509.htmlFeliciaFeliciaSun, 20 Jan 2008 03:22:00 GMThttp://www.shnenglu.com/Felicia/archive/2008/01/20/41509.htmlhttp://www.shnenglu.com/Felicia/comments/41509.htmlhttp://www.shnenglu.com/Felicia/archive/2008/01/20/41509.html#Feedback3http://www.shnenglu.com/Felicia/comments/commentRss/41509.htmlhttp://www.shnenglu.com/Felicia/services/trackbacks/41509.html瑙f硶鐢ㄥ埌鏇煎搱欏胯窛紱葷殑鎬ц川

  闃呰鍏ㄦ枃

Felicia 2008-01-20 11:22 鍙戣〃璇勮
]]>
[鏉傞]pku3263 鍖洪棿鎬ц川http://www.shnenglu.com/Felicia/archive/2008/01/12/41055.htmlFeliciaFeliciaSat, 12 Jan 2008 14:02:00 GMThttp://www.shnenglu.com/Felicia/archive/2008/01/12/41055.htmlhttp://www.shnenglu.com/Felicia/comments/41055.htmlhttp://www.shnenglu.com/Felicia/archive/2008/01/12/41055.html#Feedback1http://www.shnenglu.com/Felicia/comments/commentRss/41055.htmlhttp://www.shnenglu.com/Felicia/services/trackbacks/41055.html涓寮濮嬫兂浜嗕釜鍋氭硶鏄嚎孌墊爲(wèi)錛屽悗鏉ユ兂浜嗕釜O(n)鐨勫仛娉曘傚叿浣撹繃紼嬭闃呰鍏ㄦ枃銆?

  闃呰鍏ㄦ枃

Felicia 2008-01-12 22:02 鍙戣〃璇勮
]]>
[鏉傞]SPOJ744http://www.shnenglu.com/Felicia/archive/2008/01/04/40417.htmlFeliciaFeliciaFri, 04 Jan 2008 12:45:00 GMThttp://www.shnenglu.com/Felicia/archive/2008/01/04/40417.htmlhttp://www.shnenglu.com/Felicia/comments/40417.htmlhttp://www.shnenglu.com/Felicia/archive/2008/01/04/40417.html#Feedback9http://www.shnenglu.com/Felicia/comments/commentRss/40417.htmlhttp://www.shnenglu.com/Felicia/services/trackbacks/40417.html鎴戞兂浜嗕竴涓狾(n)鐨勭畻娉?

  闃呰鍏ㄦ枃

Felicia 2008-01-04 20:45 鍙戣〃璇勮
]]>
久久久久久久久久久精品尤物 | 国产精品久久久久影视不卡| 久久人人爽人人爽人人片AV高清| 久久亚洲AV无码精品色午夜| 麻豆成人久久精品二区三区免费| 无遮挡粉嫩小泬久久久久久久 | 欧美一区二区三区久久综| 无码日韩人妻精品久久蜜桃| 免费观看久久精彩视频| 亚洲а∨天堂久久精品9966| 久久精品aⅴ无码中文字字幕不卡| 精品综合久久久久久88小说 | 久久亚洲国产成人影院网站| 蜜臀av性久久久久蜜臀aⅴ麻豆| 久久精品国产99久久丝袜| 婷婷综合久久中文字幕蜜桃三电影| 国产精品综合久久第一页 | 久久91精品国产91久久小草| 一本色道久久综合狠狠躁篇 | 久久er国产精品免费观看8| 少妇久久久久久久久久| 国产香蕉久久精品综合网| 亚洲综合精品香蕉久久网97| 日韩精品久久久肉伦网站 | 久久综合伊人77777麻豆| 国产人久久人人人人爽| 久久99精品国产麻豆宅宅| 亚洲国产精品一区二区三区久久| 欧美综合天天夜夜久久| 国产精品美女久久久| 亚洲国产另类久久久精品黑人| 一级做a爰片久久毛片免费陪| 99久久精品免费看国产| 久久99免费视频| 国产日产久久高清欧美一区| 国产精品天天影视久久综合网| 久久综合狠狠综合久久综合88| 久久香蕉超碰97国产精品| 久久精品国产亚洲AV麻豆网站| 久久人人爽爽爽人久久久| 久久久久亚洲Av无码专|