integrating ogre 3d into a game engie

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
crucio777
Gnoblar
Posts: 7
Joined: Fri Oct 12, 2012 12:43 pm

integrating ogre 3d into a game engie

Post by crucio777 »

Okay i have been trying to put together a small game engine myself (after using game engines for a year and making small demos!)
Nothing huge i will start writing the core and all the application layers and all soon
so my question is how to integrate ogre 3d into my own game engine , all the tutorials available only show how to add libraries to it (i am sorry if i am missing something)
i have good understanding in c++ but no pro , as i am a high school student and have alot of free time i first wanted to make a game engine then make a good game on it
OGRE 3D 1.7 Beginner's Guide - just going to get this book to understand ogre's api and all !
pls don't bash me and Ban me :D
Thank you very much (hoping for a response ) i am sorry if i am posting this in the wrong section !
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: integrating ogre 3d into a game engie

Post by bstone »

There's nearly unlimited supply of game engines today but good games are scarce. Just skip the game engine step and make a good game already! :D

It's really astonishing seeing how people start making their games with an engine. No, you should start with the game and the engine will follow. Otherwise you'll shoot yourself in the foot multiple times before you even get to making the game. I witnessed that too many times already.
User avatar
Zonder
Ogre Magi
Posts: 1174
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 76

Re: integrating ogre 3d into a game engie

Post by Zonder »

following the tutorials on the wiki is a good idea to get used to how the rendering pipeline works did you do them all?

bstone has a point come up with the game first then check to see if ogre can do it (most likly yes).
There are 10 types of people in the world: Those who understand binary, and those who don't...
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179

Re: integrating ogre 3d into a game engie

Post by jacmoe »

Almost all successful game engines started out by being games. ;)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
crucio777
Gnoblar
Posts: 7
Joined: Fri Oct 12, 2012 12:43 pm

Re: integrating ogre 3d into a game engie

Post by crucio777 »

i know there are many game engines out there i like them (especially unity) idk i have this temptation of making a game engines mostly for educational purposes (i think so) , i think i like game engine development more tempting then game development (but i can't say really :D) , thank you but i seriously want to make an game engine using ogre 3d (how hard it be or how bad game engine turns out :D) i might skip the project after having a small game engine in place (or not idk)
i have seen the threads "make games not engines" that was the reason i was keeping myself away from ogre , but i am determined i will make my own sucky game engine :wink: , rendering pipeline wiki gives a way to use ogre 3d into game engine ?
i know it possible to do so i saw an open source game engine doing so i have mailed them but no respose yet , i cannot use it cause i can't compile it yet :( , i cannot understand it either
PhilipLB
Google Summer of Code Student
Google Summer of Code Student
Posts: 550
Joined: Thu Jun 04, 2009 5:07 pm
Location: Berlin
x 108

Re: integrating ogre 3d into a game engie

Post by PhilipLB »

Any specific genre in mind? Because an engine for a flight simulator might be completly different than for a RTS...
Google Summer of Code 2012 Student
Topic: "Volume Rendering with LOD aimed at terrain"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Mattan Furst


Volume GFX, accepting donations.
crucio777
Gnoblar
Posts: 7
Joined: Fri Oct 12, 2012 12:43 pm

Re: integrating ogre 3d into a game engie

Post by crucio777 »

idk i like games like assasins creed (i have even done some demos in engines like unity ) but with my current skills and less resources i doubt i would be able to make parkour possible , i was thinking not gear it towards anything (yet.) , does graphics engine has to do specifically something to genres? i mean my engine will take care of that ogre's job is to render it , thank you for the response other communtiy has just bashed me again and again even though i am not trying to make an mmo :P
PhilipLB
Google Summer of Code Student
Google Summer of Code Student
Posts: 550
Joined: Thu Jun 04, 2009 5:07 pm
Location: Berlin
x 108

Re: integrating ogre 3d into a game engie

Post by PhilipLB »

At least it gives you areas to focus on. :) The flightsimulator would require some more sophisticated terrain solutions wheras an indoor ego shooter would require no terrain at all. A RTS might need no physics (wheras they can be eyecandy), but it's the core of a racing game.
Google Summer of Code 2012 Student
Topic: "Volume Rendering with LOD aimed at terrain"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Mattan Furst


Volume GFX, accepting donations.
crucio777
Gnoblar
Posts: 7
Joined: Fri Oct 12, 2012 12:43 pm

Re: integrating ogre 3d into a game engie

Post by crucio777 »

i would be probably using physx or bullet (probably physx) i will be striking out networking for now if i had to focus on parkour i have to use physics , anyway i just saw all the rendering pipeline stuff it doesn't show how to use ogre 3d with a game engine or i am not seeing something
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: integrating ogre 3d into a game engie

Post by bstone »

Ogre is a rendering engine. The way you use it with a game engine is like this: you have your game engine do some fancy stuff, then tell Ogre what to render and how; it renders a frame and you get back to your fancy game engine stuff. Pretty simple. And yeah, be careful with MMO's. People often disappear into nowhere the moment they declare a will to try their gamedev skills with a little MMO game :lol: I tend to think there's an evil MMO spirit overseeing the industry, most likely weeding the little MMO's out in it's eternal craving for large and epic ones.
crucio777
Gnoblar
Posts: 7
Joined: Fri Oct 12, 2012 12:43 pm

Re: integrating ogre 3d into a game engie

Post by crucio777 »

bstone wrote:Ogre is a rendering engine. The way you use it with a game engine is like this: you have your game engine do some fancy stuff, then tell Ogre what to render and how; it renders a frame and you get back to your fancy game engine stuff. Pretty simple. And yeah, be careful with MMO's. People often disappear into nowhere the moment they declare a will to try their gamedev skills with a little MMO game :lol: I tend to think there's an evil MMO spirit overseeing the industry, most likely weeding the little MMO's out in it's eternal craving for large and epic ones.
i imagined it would be something like this but how am i supposed to get the sdk/source work with the game engine just copy the sdk/source to my game directory and then call ogre in the main loop ? a good tutorial will be appreciated though i can't find topics on this subject :( , i appreciate your response :D, i never wanted to make an mmo from the start and i will be striking out networking till i actually need it
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: integrating ogre 3d into a game engie

Post by bstone »

Start with Minimal Ogre projects. There's a fair bit of info about how to start. The simpler the framework the easier it will be for you to integrate it with your game engine.
crucio777
Gnoblar
Posts: 7
Joined: Fri Oct 12, 2012 12:43 pm

Re: integrating ogre 3d into a game engie

Post by crucio777 »

bstone wrote:Start with Minimal Ogre projects. There's a fair bit of info about how to start. The simpler the framework the easier it will be for you to integrate it with your game engine.
Sorry for the late reply thank you very much it pretty much answers my question when i am integrating ogre 3d and i have any questions ill post here i hope i don't have any :D
User avatar
areay
Bugbear
Posts: 819
Joined: Wed May 05, 2010 4:59 am
Location: Auckland, NZ
x 69

Re: integrating ogre 3d into a game engie

Post by areay »

crucio777 wrote:so my question is how to integrate ogre 3d into my own game engine , all the tutorials available only show how to add libraries to it (i am sorry if i am missing something)
Ogre3D + "add libraries to it" = Game Engine. :D

Like others have said, focus on a game, when that's done you'll have a 'game engine'. I think too many people get stuck on the idea of wanting an 'engine' because that word sounds cool, it's like the mass-proliferation of web libraries and frameworks. There's heaps of examples on this forum of people who have decided right from the start that they're going to make a game that's based around a design-pattern (like "Data-driven", "Component-based" etc) but they often never get to the stage of having something cool in the Ogre 'showcase' forum.

Deciding on a pattern then beating your game into that shape is actually an anti-pattern http://en.wikipedia.org/wiki/Golden_hammer

Caveat: I don't have anything cool in the showcase forum either so I shouldn't really be hating on others for it :(
crucio777
Gnoblar
Posts: 7
Joined: Fri Oct 12, 2012 12:43 pm

Re: integrating ogre 3d into a game engie

Post by crucio777 »

areay wrote:
crucio777 wrote:so my question is how to integrate ogre 3d into my own game engine , all the tutorials available only show how to add libraries to it (i am sorry if i am missing something)
Ogre3D + "add libraries to it" = Game Engine. :D

Like others have said, focus on a game, when that's done you'll have a 'game engine'. I think too many people get stuck on the idea of wanting an 'engine' because that word sounds cool, it's like the mass-proliferation of web libraries and frameworks. There's heaps of examples on this forum of people who have decided right from the start that they're going to make a game that's based around a design-pattern (like "Data-driven", "Component-based" etc) but they often never get to the stage of having something cool in the Ogre 'showcase' forum.

Deciding on a pattern then beating your game into that shape is actually an anti-pattern http://en.wikipedia.org/wiki/Golden_hammer

Caveat: I don't have anything cool in the showcase forum either so I shouldn't really be hating on others for it :(
it does sound cool :wink:
anyway as i have said i don't want to add libraries to ogre rather i would like to integrate it with my game engine (which has already started !)
i have also stated i would like to do this as an educational project for now and i like the process :D