如何在ogre游戏界面添加自己的信息,比如显示某变量的值
// 首先在E:/ogre/media/packs的OgreCore.zip里面打开OgreDebugPanel.overlay,然后修改如下:





































































































































































































// A silly example of how you would do a 3D cockpit
//Examples/KnotCockpit
//{
// zorder 100
// entity knot.mesh(hudKnot)
// {
// position 0 0 -50
// rotation 0 0 0 0
// }
//
//}
//注意 container BorderPanel(Core/yy) 这部分,是新添加的内容
//同时确保在main.cpp里面的bool frameStarted(const FrameEvent &evt)函数包含如下内容:












本文来自优快云博客,转载请标明出处:http://blog.youkuaiyun.com/mokt2001/archive/2008/09/21/2957731.aspx