can s.o. post a comparison of the network libs?or good libs?

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
DEvil HUnter
Halfling
Posts: 81
Joined: Fri Aug 25, 2006 10:54 am

can s.o. post a comparison of the network libs?or good libs?

Post by DEvil HUnter » Mon Apr 23, 2007 12:22 am

hi guys,

i have sean opentnl and raknet in the wicki...
and read the posts in the opentnl topic...

would like to programm a round based strategy game (with multiplayer)...
need a simple to use network lib...
(with already implemented ogre communication would be nice)

questions:
can s.o. compare opentnl and raknet (pros - cons)?
who knows other network libs (pros - cons - where to dl - tut)?
s.o. has me an idea?

edit:
found some other networking libs somewhere else in the wicki ->
http://www.ogre3d.org/wiki/index.php/Libraries
would be nice to get a comparison and a pros and cons list ;-)
Last edited by DEvil HUnter on Mon Apr 23, 2007 12:44 am, edited 1 time in total.
0 x

P
OGRE Expert User
OGRE Expert User
Posts: 421
Joined: Fri Jan 07, 2005 9:49 pm
Location: UK
Contact:

Post by P » Mon Apr 23, 2007 12:32 am

(with already implemented ogre communication would be nice)
I think you misunderstand what Ogre is, it doesn't make sense to me to speak about "Ogre communication" since Ogre isn't a game engine but a rendering engine, gfx component of your game engine which should have nothing to do with the data sent over a network.

Raknet is great, I don't know the other.
0 x

DEvil HUnter
Halfling
Posts: 81
Joined: Fri Aug 25, 2006 10:54 am

Post by DEvil HUnter » Mon Apr 23, 2007 12:42 am

know that ogre is a rendering engine - but i would like to use it for a game like many others too.


if i'm right ogre stores the data of my objects (models and other geometry).
i think you normaly send the vector3 posiotion of the object.

now you have to get the positions of all my models and other moveable objects to the other pc.
for this you need a communication between ogre and the network lib.
am i wrong?


would be nice if someone has implemented this "communication" already.
0 x

Ajare
Goblin
Posts: 282
Joined: Sat May 14, 2005 9:20 pm

Post by Ajare » Mon Apr 23, 2007 12:51 am

DEvil HUnter wrote: would be nice if someone has implemented this "communication" already.
The reason why no-one's done 'wrapped' it for Ogre is that everyone's going to have different needs - you'll need to decide what to send, whether/how to compress it, etc. Once you've figured that out, actually sending the data is easy.
0 x

P
OGRE Expert User
OGRE Expert User
Posts: 421
Joined: Fri Jan 07, 2005 9:49 pm
Location: UK
Contact:

Post by P » Mon Apr 23, 2007 12:55 am

And you usually not send the position of a SceneNode, but per instance the position of a GameObject in the world, component of your game engine, even maybe not using Ogre::Vector3 but your own vector type, depending on how you have integrated Ogre in your engine.
0 x

User avatar
johnhpus
Platinum Sponsor
Platinum Sponsor
Posts: 1186
Joined: Sat Apr 17, 2004 2:49 am

Post by johnhpus » Mon Apr 23, 2007 12:58 am

As far as pros and cons with OpenTNL vs. RakNet...

Back when I checked out OpenTNL, it was confusing, laden with macros(not that that's so bad, but it didn't help the confusion part) and the documentation was often wrong and lacking. I'm an anti-fan of Torque, the library where TNL originated, so take my review with a grain of salt.

RakNet has been easy to use. It's well documented and the project's lead, Rak'kar, seems to be using it in a commercial project of his own, which means it should be receiving his attention for a good while yet.
0 x

User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7137
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 6

Post by Kojack » Mon Apr 23, 2007 1:59 am

Also, Rak'kar is a member of this forum and is using ogre for his own stuff. :)

I've never used opentnl, but I've used raknet in the past and it worked well.

There's others like Replicanet and HawkNL. I haven't tried them either.
0 x

TMichael
Kobold
Posts: 25
Joined: Fri Jan 05, 2007 2:37 am
Contact:

Post by TMichael » Mon Apr 23, 2007 6:35 am

More about that here:

http://www.rakkarsoft.com/raknet/forum/ ... opic=765.0

Rak'kar has actually gone to the trouble of setting up a basic game framework which includes Ogre. It looks like it's no longer available until his game ships, but it's something to keep an eye out for.

Cheers,
Tim
0 x

Post Reply