游戏开发论坛

 找回密码
 立即注册
搜索
查看: 4848|回复: 5

Ogre音乐音效插件:OgreALv0.2 发布

[复制链接]

14

主题

96

帖子

124

积分

注册会员

Rank: 2

积分
124
QQ
发表于 2007-2-1 20:54:00 | 显示全部楼层 |阅读模式
Download
Here you have two choices. You can download the stable release in a zip file, or you can use SVN to check out the current development state. Either way the instructions for setting it up and building are the same.

Stable Release
OgreALv0.2
Download From here:https://sourceforge.net/projects/ogreal/

SVN Head
For Ogre 1.2 Dagon
svn co https://svn.sourceforge.net/svnroot/ogreal/trunk/OgreAL OgreAL

For Ogre 1.4 Eihort
svn co https://svn.sourceforge.net/svnroot/ogreal/trunk/OgreAL-Eihort OgreAL

Setup
There are a few steps to this setup, but there's nothing too difficult.

* First of all, I am assuming that you have Ogre installed somewhere. If you don't then you should check out either Installing the SDK or Building from Source. If you are using the current CVS Head of Ogre then you should already have the CVS version of OIS built and laying somewhere on your computer, if not you'll need to download it and build it. Instructions for how to do this can be found on the Wrecked Labs Wiki
* Now you need to go to OpenAL Download Page and download the OpenAL SDK installer and the freealut Binary package.
* Run the SDK installer and unzip the freealut package. You can put them where ever you like on your system since we'll reference them later with system variables.
* The next step is to create three environment variables.

1. OGRE_SRC - This needs to point at your ogrenew directory. If you are using the OgreSDK, you can skip this one as the Ogre installer will set up the system variables for you.
2. OPENAL_SDK - This should point to where ever you chose to install the SDK.
3. ALUT_BIN - This should point to where ever you unzipped the freealut package
4. OIS_SRC - You only need this environment variable if you are using the CVS version of Ogre with OIS. In that case it needs to point to the root OIS directory.
* Next we need to download libogg and libvorbis. You can download them from the xiph.org download page:http://xiph.org/downloads/
* Unzip these right next to OgreAL. I'm not sure why they do it this way, but in order to get these bad boys to build you need to rename the libogg-1.1.3 folder to ogg and the libvorbis-1.1.2 folder to vorbis. When you have all this done it should look like this:

Code:  
Develpment
    |--OgreAL
    |--ogg
    |--vorbis
* Now go into the ogg folder and build both the release and debug builds by double clicking on the ogg/win32ogg.dsw workspace. It'll open up in Visual Studio and you just need to build it.
* Then do the same thing with the vorbis/win32/vorbis.dsw
* After all that you can open the OgreAL solution and build it and it should go off without a hitch!
Documentation
The API Documentation for the current stabel release can be found at This Page,
or This Page for the SVN head version of OgreAL.

14

主题

96

帖子

124

积分

注册会员

Rank: 2

积分
124
QQ
 楼主| 发表于 2007-2-1 21:01:00 | 显示全部楼层

Re:Ogre音乐音效插件:OgreALv0.2 发布

除此之外,还需要到http://xiph.org/downloads/去下载依存库:
libogg,Ogg解码器;
libvorbis,Vorbis解码器;
还有OpenAL的SDK到http://www.openal.org/downloads.html可以下载到,分别需要下载:
OpenAL和ALUT的两个包。

下载以后,解压,需要编译的编译,把头文件和静态库的路径都设置好。

193

主题

870

帖子

903

积分

高级会员

Rank: 4

积分
903
QQ
发表于 2007-2-1 21:15:00 | 显示全部楼层

Re:Ogre音乐音效插件:OgreALv0.2 发布

汗...之前让朋友做了好久OpenAL相关的封装,看来跟不上时代了。
应该是能直接挂栽到Ogre场景节点上的音源吧。

14

主题

96

帖子

124

积分

注册会员

Rank: 2

积分
124
QQ
 楼主| 发表于 2007-2-1 21:19:00 | 显示全部楼层

Re:Ogre音乐音效插件:OgreALv0.2 发布

源码包里面带了demo,一看便知道了。

0

主题

199

帖子

199

积分

注册会员

Rank: 2

积分
199
发表于 2007-2-1 21:39:00 | 显示全部楼层

Re:Ogre音乐音效插件:OgreALv0.2 发布

说不定用不了多久,就会有OgreNet了。

0

主题

26

帖子

26

积分

注册会员

Rank: 2

积分
26
发表于 2007-2-6 10:48:00 | 显示全部楼层

Re:Ogre音乐音效插件:OgreALv0.2 发布

赞赞赞
看来我要抓紧时间学习了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-26 10:39

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表