OGRE运行期结构

OGRE运行期结构

江西理工  方声辉 2010年10月7日星期四

运行完DEMO之后,注意查看ogrenew\Samples\Common\bin\Debug文件夹中的内容,从这里可以看到OGRE程序的运行环境。

除了DEMO的可执行文件外,该文件夹中还包括如下动态链接库:

Debug:

OgreMain_d.dll

IOS_d.dll

OgrePlatform_d.dll

RenderSystem_Direct3D7_d.dll

RenderSystem_Direct3D8_d.dll

RenderSystem_SDL_d.dll

Plugin_GuiElements_d.dll

Plugin_BspSceneManager_d.dll

Plugin_OctreeSceneManager_d.dll

Plugin_FileSystem_d.dll

Plugin_ParticleFX_d.dll

Devil_d.dll

SDL_d.dll

 

Release:

OgreMain.dll

IOS.dll

OgrePlatform.dll

RenderSystem_Direct3D7.dll

RenderSystem_Direct3D8.dll

RenderSystem_SDL.dll

Plugin_GuiElements.dll

Plugin_BspSceneManager.dll

Plugin_OctreeSceneManager.dll

Plugin_FileSystem.dll

Plugin_ParticleFX.dll

Devil.dll

SDL.dll

其它:

你的机器上还必须包括DirectX 8.1(DirectX 9.0)和STLport的动态链接库,一般系统会将它们自动安装到Windows系统文件夹下,所以这里看不到,但它们也是必须的。

 

OGRE的运行还需要如下的配置文件:

Ogre.cfg :OGRE的显示模式配置文件

plugins.cfg :插件配置文件,在这里指定插件的路径和插件文件名。上一个表中以Plugin_开头的dll文件都是插件,它们可以放在其它文件夹里,但必须在本文件里指定路径。

Resources.cfg : 资源配置文件,设置资源搜索路径,Zip文件也作为搜索路径对待。

quake3settings.cfg : quake3地图配置文件。

Terrain.cfg : 室外地形场景配置文件。

Ogre要能找到"plugins.cfg", "resources.cfg", 和 "media.cfg",它才能正确运行

OGRE程序的运行当然少不了各种资源,资源路径在resources.cfg里指定。OGRE DEMO的资源都放在Samples\Media及其下的Zip文件里。资源文件包括以下内容:

.skeleton骨骼动画的骨骼定义文件

.particle粒子模板定义文件

.overlay二维及三维界面定义文件

.mesh模型文件

.material材质定义文件

.fontdef字体定义文件

.jpg图片文件

.png图片文件

转载于:https://www.cnblogs.com/fangshenghui/archive/2010/10/09/1846759.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值