Advertisement

3D rendering libraries for game programming

Started by November 03, 2004 03:16 PM
9 comments, last by CodeTitan 20 years, 3 months ago
I am told that OGRE is a 3D Rendering library. This I understand. However, I do not understand how to use OGRE to create an actual game. I have went through the tutorials and documentation, but I do not understand how to actually use OGRE to create a game. Can someone explain this to me? This also applies to Irrlicht, and the other rendering systems.
Not sure what the problem is here, you use OGRE or Irrlicht as the rendering and object-management back-end, add Sound and Network libraries, and maybe write your own input handler, and go from there. What don't you understand? Remember, the more you use, the more you learn.
Advertisement
The problem here is that I do not understand how to create a game out of a renderer, sound system, input handler, etc. Would I create a class for each section of the game and then interact them in the main function? How would I design this game through the different sections?

Say I used Irrlicht, FMOD, and input handler X. Would I create class Irrlicht, class FMOD, and class X? How else would I do this? I understand how to create games from scratch, but not using different libraries like this...
Perhaps you should start at a beginner level and make a simple 2D game then move up from there so you understand the basics.
Author Freeworld3Dhttp://www.freeworld3d.org
Yeah, start off simple with Allegro or SDL and make Tetris or something. Even with a simple game, you'll learn essential basics like how to organize logic and drawing in your code, how to update the screen, how to deal with player input, etc. I can see how something like Torque could be overwhelming if you haven't gotten your feet wet in the basics first.

Jesus saves ... the rest of you take 2d4 fire damage.

I have created games in SDL. I just do not understand how to create a game out of a 3D Rendering Engine.
Advertisement
Quote:
Original post by CodeTitan
I have created games in SDL. I just do not understand how to create a game out of a 3D Rendering Engine.

Have a look at existing 'frameworks' or 'engines'. Several open source ones exist that use OGRE as a rendering backend. From the top of my head: Yake, Oasis, Mage.

[ Yake is the one I'm working on ;) ]

Hope that helps,
-codeandroid
Yes...a framework is what I am looking for. I just did not understand how to take separate parts and put them together. Should I actually use the framework; or just look at it?
How about you check them out and decide for yourself?
Agreed, JamesKilton.

CodeTitan: You're saving yourself tons of time, sweat, frustration etc by using one of the existing ones (writing the game itself will still be enough work). Then again, writing one is a nice learning experience. Depends on what you want to do? Create an engine (a better one than those that exist?) or create a game. Only few people/teams succeed in doing both.

-codeandroid

This topic is closed to new replies.

Advertisement