锘??xml version="1.0" encoding="utf-8" standalone="yes"?>免费中文日韩,欧美黄色一区,欧美日韩国产精品一区http://m.shnenglu.com/alligetor/To hell and backzh-cnSun, 24 Aug 2025 12:42:29 GMTSun, 24 Aug 2025 12:42:29 GMT60- 嫻嬭瘯http://m.shnenglu.com/alligetor/archive/2008/06/11/52815.htmlalligetoralligetorTue, 10 Jun 2008 16:13:00 GMThttp://m.shnenglu.com/alligetor/archive/2008/06/11/52815.htmlhttp://m.shnenglu.com/alligetor/comments/52815.htmlhttp://m.shnenglu.com/alligetor/archive/2008/06/11/52815.html#Feedback0http://m.shnenglu.com/alligetor/comments/commentRss/52815.htmlhttp://m.shnenglu.com/alligetor/services/trackbacks/52815.htmlover

]]>- OGRE絎旇 2http://m.shnenglu.com/alligetor/archive/2007/11/28/37420.htmlalligetoralligetorWed, 28 Nov 2007 03:19:00 GMThttp://m.shnenglu.com/alligetor/archive/2007/11/28/37420.htmlhttp://m.shnenglu.com/alligetor/comments/37420.htmlhttp://m.shnenglu.com/alligetor/archive/2007/11/28/37420.html#Feedback0http://m.shnenglu.com/alligetor/comments/commentRss/37420.htmlhttp://m.shnenglu.com/alligetor/services/trackbacks/37420.html鍋氬畬浜?鐨勬楠や箣鍚庯紝鎴戜滑鐨勪唬鐮佸簲璇ユ槸
#include "ExampleApplication.h"

class TutorialApplication : public ExampleApplication


{
protected:
public:
TutorialApplication()

{
}

~TutorialApplication()

{
}
protected:
void createScene(void)

{
mSceneMgr->setAmbientLight( ColourValue( 1, 1, 1 ) );
Entity *ent1 = mSceneMgr->createEntity( "Robot", "robot.mesh" );
SceneNode *node1 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "RobotNode" );
node1->attachObject( ent1 );
}
};
璁蹭簡鍗婂ぉ緇撴灉鍙湁createScene涓殑鍥涜鏄垰鍒氬姞榪涘幓鐨勩傘傘傛睏
榪樻槸榪欎釜渚嬪瓙錛屽垰鍒氭垜浠茍娌℃湁鎸囧畾瑕佹妸Robot鏀懼埌鍝噷錛屼絾鏄疧GRE“鎿呬綔涓誨紶”鐨勬妸瀹冩斁鍦ㄤ簡“涓涓綅緗?#8221;錛岃繖鏄負浠涔堝憿錛?br>鎺ョ潃鐪嬭繖孌典唬鐮?br>
Entity *ent2 = mSceneMgr->createEntity( "Robot2", "robot.mesh" );
SceneNode *node2 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "RobotNode2", Vector3( 50, 0, 0 ) );
node2->attachObject( ent2 );
榪欓噷鐨刢reateChildSceneNode鍑芥暟鏈変袱涓弬鏁幫紝絎簩涓弬鏁版槑紜殑鎸囧畾浜嗚繖涓妭鐐?RobotNode2"瀵逛簬鏍硅妭鐐圭殑鐩稿浣嶇疆錛岄『渚挎彁涓涓嬶紝榪欎釜緇勭粐鍦烘櫙鐨勬柟娉曡矊浼煎彨鍋氳妭鐐規爲錛屼互鍚庝細鎻愬埌銆?br>榪欎釜node鐩稿浜庢牴鑺傜偣鐨勪綅緗槸(50,0,0)錛屼篃灝辨槸璇村畠鐨勪綅緗鐢辨牴鑺傜偣縐誨姩(50,0,0)鐨勮窛紱?br>濡傛灉鎶婄浜岃鏀逛負鐩存帴鐢眓ode1鍒涘緩瀛愯妭鐐?RobotNode2"錛屽嵆
SceneNode *node2 = node1->createChildSceneNode( "RobotNode2", Vector3( 50, 0, 0 ) );
榪欐椂node2鏄浉瀵逛簬node1縐誨姩(50,0,0)鐨勮窛紱昏屼笉鏄牴鑺傜偣錛岃繖鐐硅娉ㄦ剰銆?br>
濡傛灉榪欎釜鑺傜偣鏍戜負rootNode->node1->node2錛岃繖涓椂鍊欑埗鑺傜偣鍙樺寲鍒欏瓙鑺傜偣璺熺潃鍙樺寲錛岃屽瓙鑺傜偣鍙樺寲鐨勬椂鍊欏垯瀵圭埗鑺傜偣鏃犲獎鍝?br>
OK錛屾殏涓旇榪欎簺錛岃繕鏈変簺鍑芥暟錛岀瓑絎笁嬈$瑪璁拌ˉ榻?br>

]]> - OGRE絎旇 1http://m.shnenglu.com/alligetor/archive/2007/11/28/37417.htmlalligetoralligetorWed, 28 Nov 2007 02:53:00 GMThttp://m.shnenglu.com/alligetor/archive/2007/11/28/37417.htmlhttp://m.shnenglu.com/alligetor/comments/37417.htmlhttp://m.shnenglu.com/alligetor/archive/2007/11/28/37417.html#Feedback0http://m.shnenglu.com/alligetor/comments/commentRss/37417.htmlhttp://m.shnenglu.com/alligetor/services/trackbacks/37417.html
wiki涓婄粰鐨勭涓涓猅utorial 鏄疊eginner Tutorial 1: The SceneNode, Entity, and SceneManager constru
寮濮嬬殑妗嗘灦浠涔堜篃娌℃湁錛屼笉榪囩粰浜嗕竴涓猅utorialApplication 綾葷殑“絀哄3”鑰屽凡
#include "ExampleApplication.h"

class TutorialApplication : public ExampleApplication


{
protected:
public:
TutorialApplication()

{
}

~TutorialApplication()

{
}
protected:
void createScene(void)

{
}
};

鐒跺悗澶ф灝辨槸鍏堣緗幆澧冨厜錛岀敤setAmbientLight鍑芥暟錛寃iki涓婄粰鐨勬柟娉曟槸
mSceneMgr->setAmbientLight( ColourValue( 1, 1, 1 ) );
娉ㄦ剰閲岄潰ColorValue閲岄潰鐨勫厓绱犳槸鐢?鍒?鐨勩?br>
鐒跺悗灝卞彲浠ュ垱寤?#8220;瀹炰綋錛圗ntity錛?#8221;浜嗭紝wiki鐨勬柟娉曟槸
Entity *ent1 = mSceneMgr->createEntity( "Robot", "robot.mesh" );
娉ㄦ剰鐨勬槸鎴戜滑鍑犱箮浠庢潵涓嶅湪紼嬪簭涓洿鎺ュ垱寤轟竴涓猠ntiry錛屽満鏅腑鐨別ntity鐨勫垱寤哄拰綆$悊涓鑸槸鐢眘cenemanager瀹屾垚鐨勶紝鎵浠ヨ皟鐢ㄤ笂闈㈣繖涓嚱鏁板垱寤哄疄浣?br>mSceneMgr鏄湪ExampleApplication綾諱腑宸茬粡瀹氫箟濂戒簡鐨勶紙浠ュ悗絎旇涓細涓撻棬浠嬬粛榪欎釜綾伙級銆俢reateEntity榪欎釜鍑芥暟鏈変袱涓弬鏁幫紝絎竴涓槸瀹炰綋鐨?#8220;鍚嶅瓧”姣忎釜瀹炰綋閮借鏈変竴涓?#8220;鐙竴鏃犱簩”鐨勫悕瀛楋紝閲嶅悕鏄笉鍏佽鐨勩傜浜屼釜鍙傛暟鏄繖涓疄浣撲嬌鐢ㄧ殑mesh鏂囦歡錛屽湪ExampleApplication涓凡緇忓姞杞戒簡紼嬪簭鐨勮祫婧愰厤緗俊鎭紝榪欓噷鏄痳esources.cfg錛屽彲浠ヨ嚜宸變慨鏀硅繖涓枃浠躲?br>
瀹炰綋鍒涘緩涔嬪悗灝辮鎶婂畠鍜屼竴涓猄ceneNode錛屾瘡涓猄ceneManager閮芥湁涓涓猂ootSceneNode錛屾垜浠彲浠ユ妸榪欎釜瀹炰綋褰撲綔涓涓猂ootSceneNode鐨凜hildSceneNode鍔犲叆鍏朵腑
棣栧厛鍒涘緩涓涓瓙鑺傜偣(ChildSceneNode)
SceneNode *node1 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "RobotNode" );
榪欐浠g爜鐢╣etRootSceneNode鎵懼埌mSceneMgr鐨凴ootSceneNode錛岀劧鍚庡啀鍒涘緩瀹冪殑瀛愯妭鐐?ChildSceneNode)錛屽弬鏁頒篃鏄?#8220;鍚嶅瓧”鑰屼笖鐙竴鏃犱簩
鎺ヤ笅鏉ュ氨鏄妸鍒氭墠鐨勫疄浣撳拰榪欎釜瀛愯妭鐐圭粨鍚?br>
node1->attachObject( ent1 );
鐒跺悗灝卞彲浠ョ紪璇戝茍涓旇繍琛屼簡

]]>
狠狠色丁香婷婷久久综合不卡
|
久久人妻AV中文字幕|
青青草原综合久久大伊人导航|
蜜桃麻豆WWW久久囤产精品|
综合网日日天干夜夜久久|
精品久久777|
亚洲精品美女久久久久99|
久久久久人妻精品一区二区三区|
国产福利电影一区二区三区久久老子无码午夜伦不|
久久精品国产亚洲沈樵|
久久精品中文字幕一区|
国产精品九九久久精品女同亚洲欧美日韩综合区
|
yy6080久久|
婷婷久久综合九色综合98|
国产精品久久婷婷六月丁香|
中文字幕成人精品久久不卡|
亚洲乱码中文字幕久久孕妇黑人|
久久国产免费|
国产无套内射久久久国产|
久久精品人成免费|
少妇内射兰兰久久|
超级碰碰碰碰97久久久久|
久久国产成人|
久久狠狠一本精品综合网|
国产精品久久毛片完整版|
亚洲中文久久精品无码|
久久无码专区国产精品发布|
青草久久久国产线免观|
久久影视国产亚洲|
欧美与黑人午夜性猛交久久久|
国产精品久久久99|
久久精品成人免费国产片小草|
国产成人精品久久亚洲|
国产精品永久久久久久久久久|
91久久国产视频|
久久久99精品一区二区|
久久亚洲AV无码西西人体|
久久这里有精品视频|
久久精品一本到99热免费|
天天躁日日躁狠狠久久|
999久久久无码国产精品|