I'm running Ogre (cvs head version) under Windows XP and i noticed something strange with the ConfigDialog window displayed on startup. Here's the problem :
If the ogre.cfg file already exists in my Ogre directory, everything works fine. I get 3 available options for anti aliasing ("None", "NonMaskable 1", "NonMaskable 2") which is perfectly normal.
Now, i destroy the ogre.cfg and run my app again. The ConfigDialog pops up (at this point it is empty) but, whatever the render i choose the only available option for anti aliasing is "None".
Is it normal behaviour?
I was thinking about using the restoreConfig() function on startup and only call showConfigDialog() if ogre.cfg isn't there. But if do that my player will never be able to activate anti aliasing.
Could you give me an advice to solve this problem?
--
ChrisKang
Strange behaviour of anti aliasing option
-
- Gnoblar
- Posts: 7
- Joined: Tue Feb 22, 2005 11:28 am
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
-
- Gnoblar
- Posts: 7
- Joined: Tue Feb 22, 2005 11:28 am
The problem is when you select a new render system (D3D9 in my case), it shows that a default video mode is selected (800 x 600 @ 32 bits) but this video mode doesn't activate the AA option.
If you change this default value (even by selecting "800x600@32" again) then the AA option is ok indeed.
Is there a way to tell the ConfigDialog to refresh AA options just after setting the default value for the video mode?
Thanks for your help.
--
ChrisKang
If you change this default value (even by selecting "800x600@32" again) then the AA option is ok indeed.
Is there a way to tell the ConfigDialog to refresh AA options just after setting the default value for the video mode?
Thanks for your help.
--
ChrisKang
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact: