OGRE

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
User avatar
loonycyborg
Compilation Expert
Posts: 219
Joined: Thu Jul 06, 2006 10:30 pm
Location: Russia/Moscow

OGRE

#1 Post by loonycyborg »

In compile forum it was mentioned that OGRE will be used soon. What is the motivation of using it in FreeOrion?
In Soviet Russia, forum posts YOU!!

User avatar
pd
Graphics Lead Emeritus
Posts: 1924
Joined: Mon Mar 08, 2004 6:17 pm
Location: 52°16'N 10°31'E

Re: OGRE

#2 Post by pd »

Are we talking about OGRE 3D, or something else?

User avatar
loonycyborg
Compilation Expert
Posts: 219
Joined: Thu Jul 06, 2006 10:30 pm
Location: Russia/Moscow

Re: OGRE

#3 Post by loonycyborg »

pd wrote:Are we talking about OGRE 3D, or something else?
OGRE, Object-Oriented Graphics Rendering Engine.
In this thread tzlaine said that FreeOrion will require OGRE.
In Soviet Russia, forum posts YOU!!

User avatar
pd
Graphics Lead Emeritus
Posts: 1924
Joined: Mon Mar 08, 2004 6:17 pm
Location: 52°16'N 10°31'E

Re: OGRE

#4 Post by pd »

That's great news. To me it looks like we are going to use it for space combat. Correct me if I'm wrong.

tzlaine
Programming Lead Emeritus
Posts: 1092
Joined: Thu Jun 26, 2003 1:33 pm

Re: OGRE

#5 Post by tzlaine »

Yes, we're using Ogre as our combat 3D engine.

User avatar
loonycyborg
Compilation Expert
Posts: 219
Joined: Thu Jul 06, 2006 10:30 pm
Location: Russia/Moscow

Re: OGRE

#6 Post by loonycyborg »

Have you considered using OpenSceneGraph? It might be easier to integrate with existing code.
In Soviet Russia, forum posts YOU!!

tzlaine
Programming Lead Emeritus
Posts: 1092
Joined: Thu Jun 26, 2003 1:33 pm

Re: OGRE

#7 Post by tzlaine »

I considered it, VRS3D, and a couple of others. Ogre looked like the best one. It has tons of extensions and 3rd party tools that will make development easier, and the community can't be beat. The integration of Ogre into the current codebase is already well under way.

User avatar
pd
Graphics Lead Emeritus
Posts: 1924
Joined: Mon Mar 08, 2004 6:17 pm
Location: 52°16'N 10°31'E

Re: OGRE

#8 Post by pd »

I'm very happy about this decision. Not only provides Ogre some neat features like normal(paralax) mapping and many more, but it's also perfectly integrated into 3DS which is my primary tool. oFusion for example, allows me to create everything(models, scenes, materials, even shaders, rigs and animation) inside of 3DS and export it directly to Ogre. Furthermore, it provides Ogre rendered viewports, which means it is truly WYSIWYG.

Ogre also seems to be greatly documented and has a strong userbase, which will allow us to progress faster.

User avatar
bhelyer
Space Floater
Posts: 41
Joined: Tue Aug 28, 2007 3:51 am

Re: OGRE

#9 Post by bhelyer »

Is it doing anything visible within the game yet? I ask because the version in Ubuntu's repositories is a few releases short of the minimum that's required, and I try and avoid having libraries and pieces of software lying around that are out of scope for the package manager. It's obviously not required yet, as FreeOrion still compiles, but am I missing out on anything (other than being able to help with OGRE integration, of course)?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: OGRE

#10 Post by Geoff the Medio »

bhelyer wrote:Is [OGRE] doing anything visible within the game yet?
No.

MareviQ
Space Kraken
Posts: 100
Joined: Tue Aug 09, 2005 6:47 pm
Location: Somewhere in Poland

Re: OGRE

#11 Post by MareviQ »

Geoff the Medio wrote:
bhelyer wrote:Is [OGRE] doing anything visible within the game yet?
No.
Elaborating on Geoff's response: currently it's not doing anything and you're not missing out on anything.
All work on integrating OGRE is done in a separate code branch called ogre-integration. (if you don't know what that means don't worry - basically at some point FreeOrion code was copied to a different directory and the OGRE stuff is being done to that copy instead of the version that is usually downloaded)
abs(imag(ME) / abs(ME)) = exp(PI) - PI - 19;

Post Reply