Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Choosing a 3D game engine [closed]

Tags:

c++

I want to start this as a hobby in developing a desktop game. I have found several engines, but I am not sure whether it does the initial job I am looking at.

Initially I want to do the following:

  1. Create a figure (avatar), and let the user dress the avatar
  2. Load the avatar in the game

In later stages, I want to develop this as a multi-player game.

What should I do?

like image 638
Sujay Ghosh Avatar asked Jul 19 '09 13:07

Sujay Ghosh


2 Answers

I also recommend Ogre. Ogre can do this, it provides everything needed in regards of mesh and animation support, but not as a drop-in solution. You have to write lots of code for this to be done.

For our project we implemented something like you do. The main character and any other character can be dressed with different weapons and armor and the visuals of the character avatar change accordingly.

As a start hint for how to go about this: In your modeling tool (Blender, Maya, 3ds max, etc.) you model your avatar and all its clothes you need and rig them to the same skeleton. Then export everything individually to Ogre's mesh format.

At runtime you can then attach the clothing meshes the user chooses to the skeleton instance so that they together form the avatar. This is not hard to do via Ogre-API, but for even easier access to this you can use MeshMagick Ogre extension's meshmerge tool. It has been developed for exactly this purpose.

If you want to change other characteristics like facial features, this is possible too, as Ogre supports vertex pose animations out of the box, so you can prepare pathes for certain characteristics of the face and let the user change the face by sliders or somthing like this. (e.g like in Oblivion)

One thing to be aware regarding Ogre: It is a 3d graphics engine, not a game engine. So you can draw stuff to the screen with it and animate and light and in any way change the visuals, but it doesn't do input or physics or sound. For this you have to use other libs and integrate them. Several pre-bundled game engines based on Ogre are available though.

like image 157
haffax Avatar answered Sep 24 '22 02:09

haffax


If you are good with C++ you should use Ogre, it's the best open-source engine, continuously been updated by it's creators, with a lot of tutorials and a very helpful community.

http://www.ogre3d.org/

It's more of a GFX engine, but it has all the prerequisites you desire.

Good luck!

like image 35
Cristina Avatar answered Sep 23 '22 02:09

Cristina