摘要: 1.利用FrameListener控制每一帧动作的一般步骤 In order to receive notifications of frame events, you should create a subclass of FrameListener and override the methods for which you would like to customise the resulting processing. You should then callRoot::addFrameListener passing an instance of this class. There. 阅读全文
posted @ 2013-02-16 11:53 Wilson Kwok 阅读(292) 评论(0) 推荐(0)
摘要: 1.创建平面 // Plane Ogre::Plane plane(Vector3::NEGATIVE_UNIT_Y, -10); // 平面的法向量为Y的负半轴,-10这个值比较奇葩,到时候自己琢磨就好了 Ogre::MeshManager::getSingleton().createPlane("plane", ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, plane, 1500, 1500, 20, 20, tru... 阅读全文
posted @ 2013-02-16 09:55 Wilson Kwok 阅读(305) 评论(0) 推荐(0)