Integrating libraries

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
Arijit 26
Kobold
Posts: 25
Joined: Fri May 22, 2020 2:36 pm

Integrating libraries

Post by Arijit 26 »

How can I integrate libraries in Ogre 3d. Like bullet physics, Open AI and more.
paroj
OGRE Team Member
OGRE Team Member
Posts: 1993
Joined: Sun Mar 30, 2014 2:51 pm
x 1073
Contact:

Re: Integrating libraries

Post by paroj »

you could draw some inspiration from this: https://github.com/OGRECave/btogre
Arijit 26
Kobold
Posts: 25
Joined: Fri May 22, 2020 2:36 pm

Re: Integrating libraries

Post by Arijit 26 »

No tutorial anywhere?
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 155

Re: Integrating libraries

Post by sercero »

To integrate Bullet Physics, search their Wiki in archive.org, there is an example game loop.

I have an archive of the wiki in pdf if you want it.

There are very good explanations about everything in the library I don't understand why they are not maintaning the wiki anymore.

In regards to Open AL, there is ogre-audiovideo which uses OpenAL and Theora:
https://github.com/OGRECave/ogre-audiovideo

You can also search this forum for AdvancedOgreFramework, it is a base framework for creating your engine.
Arijit 26
Kobold
Posts: 25
Joined: Fri May 22, 2020 2:36 pm

Re: Integrating libraries

Post by Arijit 26 »

Sorry for being late. Now I have used Irrlicht before but found ogre to be better. So just a question
When I integrate a library does it get integrated to that specific project only ?
Arijit 26
Kobold
Posts: 25
Joined: Fri May 22, 2020 2:36 pm

Adavanced ogre frameworks

Post by Arijit 26 »

Hlley there some questions?
How will the advanced ogre framework help me.?
With it can I integrate the editor and renderer of ogre?
What are its features?
How to use it?
Any tutorials?
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 155

Re: Integrating libraries

Post by sercero »

How will the advanced ogre framework help me.?
I found it useful mainly as a basic foundation for creating your own game engine based on OGRE3D.
With it can I integrate the editor and renderer of ogre?
You can integrate the renderer of course, but the editor is another thing.
What are its features?
I think that the most useful feature is the GameStates.

So you can have different game states, like: Intro, MainMenu, Options, GameState, etc.

They stack on top of each other so for example when going from MainMenu to Options you return to MainMenu when leaving Options.
How to use it?
Any tutorials?
I don't know if there are any tutorials, you will have to read the code and understand it.

It is not very difficult.

Here is is the Bullet Wiki archive I talked about last time:
https://drive.google.com/file/d/1Seko_s ... sp=sharing

One last thing: take a look at the URHO3D engine (https://urho3d.github.io/)

That engine already has Rendering, Physics, Audio and lots of other features integrated.
Arijit 26
Kobold
Posts: 25
Joined: Fri May 22, 2020 2:36 pm

Re: Integrating libraries

Post by Arijit 26 »

Hey there,
I need to make my own engine and not use some thing like that.
But can ogre also do stuff like changing scenes and switching between them. And yes how do you switch scenes in ogre?
loath
Platinum Sponsor
Platinum Sponsor
Posts: 290
Joined: Tue Jan 17, 2012 5:18 am
x 67

Re: Integrating libraries

Post by loath »

the samples browser that you build with ogre creates a new scene for each "sample". you could start there.
Post Reply