Th3Ya0vi / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Allow video mode changing without restart #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As of current, game has to be restarted for video mode settings (resolution, 
fullscreen) to take effect.

The following topic on the ogre forums has a sample how to do this on-the-fly, 
by recreating the render system:

http://www.ogre3d.org/forums/viewtopic.php?f=2&t=10811

Original issue reported on code.google.com by scrawl...@gmail.com on 24 Mar 2011 at 7:24

GoogleCodeExporter commented 8 years ago
Good, already half done by you.
I fixed HUD resizing, for aspect change.
And Quit button repositioning.
VSync isn't updated, this one is not easy, have to recreate. Same thing with 
bpp values (16,32 bits).

Original comment by Cry...@gmail.com on 26 Mar 2011 at 9:21

GoogleCodeExporter commented 8 years ago
Everything done now except VSync.

Original comment by scrawl...@gmail.com on 27 Mar 2011 at 10:39

GoogleCodeExporter commented 8 years ago
AA is missing too in GUI!

Original comment by scrawl...@gmail.com on 27 Mar 2011 at 2:47

GoogleCodeExporter commented 8 years ago
It still requires render system recreation and lot of params missing. Best 
would be to enumerate the rest of them and put into GUI in combo boxes.
But this isn't a priority now.

Original comment by Cry...@gmail.com on 2 Apr 2011 at 4:19

GoogleCodeExporter commented 8 years ago
Still it would be good to have it done, since we don't have the Ogre dialog 
with all options now.

Original comment by Cry...@gmail.com on 2 Apr 2011 at 4:24

GoogleCodeExporter commented 8 years ago
marking stuck because it is needed but not going further

Original comment by Cry...@gmail.com on 21 Apr 2011 at 4:48

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 6 May 2011 at 12:54

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 8 May 2011 at 2:49

GoogleCodeExporter commented 8 years ago
Seems like u're working on the fullscreen function. Just wondering if something 
got broken because of that. I just added the repositories for ubuntu and 
installed.
The fullscreen function does not work properly on my system. When initialy 
started, the 800x600 screen is in the top left corner. If I select fullscreen 
in this state, the game goes fullscreen. Close the game and restart for a new 
session. Now the fullscreen is set (television switches), but the fullscreen 
does not start in the top left corner. Where it starts depends on the 
resolution chosen with the fullscreen. There seems to be a linear patern. Doing 
this for DEcreasing resolutions, the top left corner is more and more offset to 
down right. The viewport overshoots the bottom right corner increasingly. For 
800x600 / fullscreen I can not deselect fullscreen anymore because it's outside 
the screen. The only working resolution for my setup is 1920x1080 (my tv is 
1080p), the screen is centered.
I was hoping to run 720p fullscreen, or even 960x600, cause my media-pc can't 
handle this game in 1080p.

Original comment by fintho2...@gmail.com on 17 Jul 2011 at 11:39

GoogleCodeExporter commented 8 years ago
AntiAliasing is now in GUI. What's now missing:

 - put RenderSystem selection in gui (combobox)
 - anti aliasing, vsync (and later: render system) need game restart

The second point could be worked around by creating a primary invisible window 
in ogre without contents, and a secondary application window that is visible on 
screen. The primary window will still hold the RenderSystem device, so we can 
destroy and recreate the secondary window without destroying and reloading all 
resources.

Original comment by scrawl...@gmail.com on 16 Oct 2011 at 8:35

GoogleCodeExporter commented 8 years ago
From my point of view, only the RenderSystem combobox is needed, but only for 
Windows.

Original comment by Cry...@gmail.com on 1 Nov 2011 at 10:50

GoogleCodeExporter commented 8 years ago
There is also a problem (don't know if only on Windows) that if you start 
windowed and set fullscreen it will crash, because the resolution is eg. 
1912x1175 not 1920x1200. Need to have it from combobox selection not from 
actual window size.

Original comment by Cry...@gmail.com on 1 Nov 2011 at 10:54

GoogleCodeExporter commented 8 years ago
> There is also a problem (don't know if only on Windows) that if you start 
windowed and set fullscreen it will crash, because the resolution is eg. 
1912x1175 not 1920x1200. Need to have it from combobox selection not from 
actual window size.

this has been fixed now.

The remaining part of this issue (RenderSystem and AA change without restart) 
is too much work and not that important. I'm setting to WONTFIX (feel free to 
discuss)

Original comment by scrawl...@gmail.com on 13 Nov 2011 at 4:58