Ogre : many OpenGL features are lost

What it says on the tin: a place to discuss proposed new features.
Post Reply
User avatar
n9ine
Halfling
Posts: 55
Joined: Mon Aug 25, 2008 4:24 pm

Ogre : many OpenGL features are lost

Post by n9ine » Mon Aug 09, 2010 10:09 am

Hi all;

The features that ogre is able to do are the ones that are common to OpenGL and Directx. But Since the two
APIs do not have the same politics. This leads to loosing many feature (espacially from OpenGL).
What I hope, it that Ogre do the Union of features not the Intersection. And any feature will be acvtivated since one or another render system was choosing.
:?

ps: "This is just a point of view it is not a critic".
Last edited by n9ine on Fri Aug 13, 2010 1:04 pm, edited 2 times in total.
0 x

CABAListic
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2903
Joined: Thu Jan 18, 2007 2:48 pm
Contact:

Re: Ogre Diplomacy: many OpenGL features are lost

Post by CABAListic » Mon Aug 09, 2010 11:48 am

This is way too vague. You really need to propose particular features, not such a general statement, if you want anything done ;)
You will probably have to make a strong case why you really absolutely need that feature, though, because the choice of rendersystems is meant to be transparent, and as such non-matching features are against Ogre's design principles.
0 x

User avatar
n9ine
Halfling
Posts: 55
Joined: Mon Aug 25, 2008 4:24 pm

Re: Ogre Diplomacy: many OpenGL features are lost

Post by n9ine » Mon Aug 09, 2010 3:38 pm

Yah I understand that, I know that such thing is out of Ogre Design.
For mu case, I hope that LINE drawing parameters can be added (line width, striple,...).
0 x

User avatar
spookyboo
Silver Sponsor
Silver Sponsor
Posts: 1140
Joined: Tue Jul 06, 2004 5:57 am
x 15
Contact:

Re: Ogre Diplomacy: many OpenGL features are lost

Post by spookyboo » Mon Aug 09, 2010 4:01 pm

Ogre does not prevent you from doing raw OpenGL. You only have to do it yourself, outide Ogre
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: Ogre Diplomacy: many OpenGL features are lost

Post by jacmoe » Tue Aug 10, 2010 11:42 pm

0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
n9ine
Halfling
Posts: 55
Joined: Mon Aug 25, 2008 4:24 pm

Re: Ogre : many OpenGL features are lost

Post by n9ine » Wed Aug 11, 2010 9:49 am

Nice, But I think It can be made in a better way than with FrameListners.
:idea:
Last edited by n9ine on Fri Aug 13, 2010 1:05 pm, edited 1 time in total.
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: Ogre Diplomacy: many OpenGL features are lost

Post by jacmoe » Wed Aug 11, 2010 2:08 pm

It's not using framelisteners...
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
n9ine
Halfling
Posts: 55
Joined: Mon Aug 25, 2008 4:24 pm

Re: Ogre : many OpenGL features are lost

Post by n9ine » Wed Aug 11, 2010 2:57 pm

Yah Yah,
jacmoe wrote:It's not using framelisteners...
I mean RenderQueueListners...
Last edited by n9ine on Fri Aug 13, 2010 1:06 pm, edited 1 time in total.
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: Ogre Diplomacy: many OpenGL features are lost

Post by jacmoe » Wed Aug 11, 2010 3:01 pm

Instead of whining you should be glad that Ogre is so flexible! :)

I would not like Ogre to have an inconsistent API because the render systems are carrying different and/or conflicting features.

OpenGL Line width is a hack, and can be easily implemented using shaders.
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
n9ine
Halfling
Posts: 55
Joined: Mon Aug 25, 2008 4:24 pm

Re: Ogre : many OpenGL features are lost

Post by n9ine » Thu Aug 12, 2010 8:25 am

thanks, I know that Ogre is so big, I am not criticizing Ogre ( :wink: ).
This is just a point of view, for those how may be interested in.
0 x

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 4132
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 261
Contact:

Re: Ogre : many OpenGL features are lost

Post by dark_sylinc » Sat Sep 25, 2010 7:44 pm

IIRC, line width is deprecated in OpenGL.

This is the problem with OpenGL, too many features being supported with little testing or documentation, and they're so many sometimes the documentation starts getting obscure (i.e. driver bugs, anyone?)

Also another problem is mantaining extensions. Often you have feature XYZ, which is implemented by NVIDIA, it gets called "NV_XYZ", then by ATI, so you get "ATI_XYZ", and then it gets into core: "GL_XYZ"
Not to mention if this extension is too old, it may happen a recent driver removed support for it's particular extension because nobody actually used (i.e.) ATI_XYZ.

So you end up implementing the same thing 3 times, and not even at all at once. You have to wait. Sometimes even years.
If you have the dedication to implement everything around 3 times, remove deprecated OGL functionality while still ensuring Ogre supports it, then you're welcome to try it.
Also don't forget you will need an easy, clear way to tell developers they can't use feature "ABC" if they're using Direct3D plugins, so they take it into account and doesn't unexpectedly crash.
0 x

Post Reply