MMORPGs, Yes or No?
- vatzcar
- Gnoblar
- Posts: 12
- Joined: Wed Apr 13, 2005 5:28 pm
MMORPGs, Yes or No?
I'v seen the feature of Ogre. It's good. The techdemo is really very much convincing. Graphically it's a great engine, but, does Ogre capable enough to be used as a heart of a MMORPG? I'm really interested on it. But nowhere I found any information regarding it's network module. Any information will be appreciated.
- temas
- OGRE Retired Team Member
- Posts: 390
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: The Woodlands, TX
- Contact:
- Lucky_Luciano
- Greenskin
- Posts: 136
- Joined: Mon Feb 14, 2005 9:25 pm
- Location: Belgium
-
- Hobgoblin
- Posts: 512
- Joined: Fri Nov 19, 2004 3:56 am
- Contact:
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
http://www.ogre3d.org/wiki/index.php/AssemblingAToolset
Click on the "networking" link and there's a whole lot of networking libs..
Click on the "networking" link and there's a whole lot of networking libs..
- vatzcar
- Gnoblar
- Posts: 12
- Joined: Wed Apr 13, 2005 5:28 pm
Thank you very much Van for your information. And also thank you all for your great help 'n resources. I think we (me and my team) can give a good try to adapt Ogre for our project. I really loved this one XDVan wrote:We are currently developing an MMORPG.
We use the following systems at this time:
Graphics Engine: Ogre
Sound: OpenAL
Physics: Newton
Networking: RakNet
Graphics GUI: CEGUI
Scripting: (undecided at this time)
-
- Hobgoblin
- Posts: 512
- Joined: Fri Nov 19, 2004 3:56 am
- Contact:
Honestly, I haven't tried or really looked into FMOD. I only recently heard about it and that was after we adapted OpenAL to the project.regress wrote:Van,
How would you guys compare OpenAL to fmod? I'm just curious as to why you chose OpenAL over fmod . ..
regards
OpenAL is OK. Its not a hard library but you have to learn some quirks that they just don't discuss in the docs. The documentation is great as reference material but lacks a good tutorial so you kinda have to fumble around with the library. I am no expert with the library and have had to seek some help for it. Sadly, I have yet to find a forum that really supports OpenAL like this forums supports Ogre. I guess it isn't there and that is something one should consider before selecting OpenAL.
This may sound simple but took me a bit to figure out and that is you treat the "listener" like the "camera". If you think of the 'listener" like the "camera" it all starts to fall into place. You can't have unlimited sound sources (sources are like ScreenNodes) so you have to add and remove them based on some criteria. We attach a source(s) to ScreenNodes so their source gets added and removed based on the visibility of the ScreenNode (and a priority too).
There are some other quirks too. The document says that you can have multiple sources use the same sound buffer (a buffer is a location where a wav file may be loaded). This is true, however, all sound sources can not play the buffer at the same time (or at least I can't get it to work because the library raises and exception when I do try to play one buffer from multiple sources). Why is this important? Well, if you have 20 players with an "engine hum" you can't use the same buffer to play all 20 players' "engine hums" (like one would think). Well, OK, then you setup 20 buffers for 20 engines hums - well that sucks because you can only have 16, 32 or if your lucky, 64 sources. So, as you can see, sound is a bitch. I wish all my players were deaf.
We have finished alpha development and have begun writing our beta and maybe we will look into FMOD when it comes time to integrate sound.
-
- Gremlin
- Posts: 167
- Joined: Sun Sep 26, 2004 11:50 pm
- Location: Arkansas
I'll bet it's the same for fmod. I'm sure it depends on the number of sound channels on your sound card. So your probably stuck with that limitation no matter what.Van wrote:Well, OK, then you setup 20 buffers for 20 engines hums - well that sucks because you can only have 16, 32 or if your lucky, 64 sources.
The alternative would be some sort of software mixing that I doubt anybody does. It would probably take up a lot of CPU time, which you wouldn't want in a game anyway.
- Olex
- Hobgoblin
- Posts: 593
- Joined: Fri Apr 08, 2005 6:08 pm
- Location: WA, USA
- monster
- OGRE Community Helper
- Posts: 1098
- Joined: Mon Sep 22, 2003 2:40 am
- Location: Melbourne, Australia
- Contact:
IIRC with Fmod you can have up to 1024 channels. It'll use the hardware ones first and then software ones. But that doesn't really matter since Fmod's software mixing is ridiculously fast, and very easy on the CPU. It's also ridiculously easy to load a sample once and play it on multiple channels, but then I'm sure that must be possible with OpenAL too.
Fmod's not even that expensive.
Fmod's not even that expensive.
- vatzcar
- Gnoblar
- Posts: 12
- Joined: Wed Apr 13, 2005 5:28 pm
Apart from those, which we are talking 'bout, i think EAX/EAX2 is great for any game. As you know, most of the good or bad commercial games use EAX for their sound environment. I'm not comparing anything, may be something could be better than that, but really, sometimes giving those in your game, brings a special looks.
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
Are you sure you ever need more than those 32 or 64 channels that openal provides anyway? If you have 32 players engines emitting the same noise that sounds like crap, you really want some 'mass hum' sound instead.
The brain isn't really capable of seperating more than a few sounds at a moment anyway. It's all about creating convincing illusions
The brain isn't really capable of seperating more than a few sounds at a moment anyway. It's all about creating convincing illusions
- monster
- OGRE Community Helper
- Posts: 1098
- Joined: Mon Sep 22, 2003 2:40 am
- Location: Melbourne, Australia
- Contact:
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
-
- Hobgoblin
- Posts: 512
- Joined: Fri Nov 19, 2004 3:56 am
- Contact:
This is like saying that an MMORPG only needs to represent two players at a time.:wumpus: wrote:Are you sure you ever need more than those 32 or 64 channels that openal provides anyway? If you have 32 players engines emitting the same noise that sounds like crap, you really want some 'mass hum' sound instead.
Besides, when you really get into the sound you find out that there is alot of sound and you need to prioritize what you want the player to hear. There isn't just the "engine hum". There are the guns, the music, other vehicles, sound effects for user inputs, etc, etc, etc. Believe me, pay attention to the next commercial game you play (like Eve, WOW, doom, unreal, etc) and you will be amazed at all the sounds.
This is so incorrect.:wumpus: wrote: The brain isn't really capable of seperating more than a few sounds at a moment anyway.
We may look into FMOD when the time is right.
- psyclonist
- OGRE Expert User
- Posts: 286
- Joined: Fri Nov 01, 2002 3:54 pm
- Location: Berlin & Nuremberg, Germany
- x 1
- Contact:
I don't get the comparison of number of sounds to number of players in an MMOG.
What kind of noise level do you want to create? And does it add something positive to the game experience?
-psy
There are quite a few sounds running at the same time but actually I can quite easily seperate them if I listen long enough. WoW, for example: a few background sounds, a few GUI related sounds, and a few foreground action related sounds, the occasional cry of a bird... that's it. Nowhere close near 1024 or even a hundred parallel sounds. And if they're using more than 32 channels then something's definitely wrong.Van wrote:Besides, when you really get into the sound you find out that there is alot of sound and you need to prioritize what you want the player to hear. There isn't just the "engine hum". There are the guns, the music, other vehicles, sound effects for user inputs, etc, etc, etc. Believe me, pay attention to the next commercial game you play (like Eve, WOW, doom, unreal, etc) and you will be amazed at all the sounds.
What kind of noise level do you want to create? And does it add something positive to the game experience?
Would you be so kind to say why?Van wrote:This is so incorrect.
-psy
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
I wasn't denying a system is needed to smartly distribute the sounds going on over your 32/64 channels.
Especially to nicely fade out sounds that are 'pushed to the background' instead of chopping them off.
This is very different from actually *mixing* though.
Especially to nicely fade out sounds that are 'pushed to the background' instead of chopping them off.
This is very different from actually *mixing* though.
That is even more incorrect.This is so incorrect.
-
- Kobold
- Posts: 32
- Joined: Fri Feb 04, 2005 12:38 pm
- Location: winchester, uk
You may joke, but I think it's really a shame that sound is so often such a low priority in games. I'd love to see a time when substantial resources (both in terms of development and runtime) were devoted to really dynamic synthesis of sound effects and music.Van wrote:sound is a bitch. I wish all my players were deaf.
We have finished alpha development and have begun writing our beta and maybe we will look into FMOD when it comes time to integrate sound.
Perhaps this article will be of some interest here. They give an example of a train station environment
Each pedestrian acts as two sound sources (voice and footsteps). Each wheel of the train is also modeled as a point sound source to get the proper spatial rendering for this extended source. Overall, 160 sound sources must be rendered
-
- Hobgoblin
- Posts: 512
- Joined: Fri Nov 19, 2004 3:56 am
- Contact:
- monster
- OGRE Community Helper
- Posts: 1098
- Joined: Mon Sep 22, 2003 2:40 am
- Location: Melbourne, Australia
- Contact:
Actually, that's a brilliant counter argument against yourself Van!Thats why orchestra's only have two instruments. Or better yet, they have alot of intruments but only play one or two instruments at a time.
The components of an orchestra are specifically chosen so that you don't perceive it as lots of different instrument sounds, you perceive it as one perfectly blended and balanced "orchestra" sound.
If you were creating a computer simulation of an orchestra you would have to be utterly insane to model each of the 80-odd instruments separately, especially since (as I say) they're chosen in such a way as to blend together. You wouldn't even have to model the first violins, the second violins, violas, cellos, double basses, trumpets, french horns, etc, etc separately, or even the strings, brass, percussion sections separately, you'd just have one "orchestra". Likewise, you can bet that all the subtle background sounds you hear as atmosphere in games are pre-blended, they're not composed together on the fly as you're playing.
- psyclonist
- OGRE Expert User
- Posts: 286
- Joined: Fri Nov 01, 2002 3:54 pm
- Location: Berlin & Nuremberg, Germany
- x 1
- Contact:
They use clusters and perception dependent optimizations to map all these sounds sources to 32 or 64 or <put in your number here> available hardware channels. It's important to note that they use several kinds of LOD schemes including "audio impostors" and "source culling". In essence: They are not throwing a few hundred audio sources at the sound hardware.emperorsnewmusic wrote:Perhaps this article will be of some interest here. They give an example of a train station environmentEach pedestrian acts as two sound sources (voice and footsteps). Each wheel of the train is also modeled as a point sound source to get the proper spatial rendering for this extended source. Overall, 160 sound sources must be rendered
-psy
- vatzcar
- Gnoblar
- Posts: 12
- Joined: Wed Apr 13, 2005 5:28 pm
If it's related with generating sound, and if it's more concerned with representing them in a MMORPG, then i think :wumpus: is in right position. Any experienced MMO gamer will be agreed upon that. In a MMO if you want to produce the sound of atleast 50% of the surround players (within a acceptable radius), within a very short time you'll feel to be middle of the hell and hammered your head by a million of crazy bulls . There will be sound for weapons, spel casting, environmental sound, enemy's voice, footsteps, levelling effect ...... and the list continues...... If such different 32 sounds generate, then I very much doubt that how many people can take that noise. And definitely no one gonna pay you monthly to get that crap everyday for a number of hours, at least not me