Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Changing Resolution (Real Studio games Mailinglist archive)

Back to the thread list
Previous thread: How to find a Group3D in a RB3DSpace
Next thread: How can the Font and Style of a Bevelbutton's menu be changed?


[ANN] Preview of RBD 2.4   -   Marc Zeedar
  Changing Resolution   -   Martin Fitzgibbons
   Re: Changing Resolution   -   Christian Schmitz
    Re: Changing Resolution   -   Frank Condello
    Re: Changing Resolution   -   Martin Fitzgibbons
    Re: Changing Resolution   -   Asher Dunn
    Re: Changing Resolution   -   Frank Condello
    Re: Changing Resolution   -   Asher Dunn
   Re: Changing Resolution   -   Joseph J. Strout

Changing Resolution
Date: 11.02.05 01:35 (Fri, 11 Feb 2005 11:35:05 +1100)
From: Martin Fitzgibbons
What would be the neatest and easiest way to have your app change the
resolution of the client computer automatically to your window size?

=GD?DGD?DGD?DGD?DGD?DGD?DGDMartin Fitzgibbons
Rush Software
http://www.rushsoftware.com.au
http://www.crosswordwizard.com.au

**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Changing Resolution
Date: 11.02.05 03:39 (Fri, 11 Feb 2005 03:39:42 +0100)
From: Christian Schmitz
Martin Fitzgibbons <<email address removed>> wrote:

> What would be the neatest and easiest way to have your app change the
> resolution of the client computer automatically to your window size?

The best thing is not to change the resolution. Really.

Except maybe a game like Unreal, users don't normally want your app to
change the resolution and work Fullscreen.

better run your application in resizeable windows which show just more
content when they are bigger.

PS: Of course the MBS Plugins include resolution change classes.

Mfg
Christian

Re: Changing Resolution
Date: 11.02.05 23:33 (Fri, 11 Feb 2005 17:33:29 -0500)
From: Frank Condello
On 10-Feb-05, at 9:39 PM, Christian Schmitz wrote:

> Martin Fitzgibbons <<email address removed>> wrote:
>
>> What would be the neatest and easiest way to have your app change the
>> resolution of the client computer automatically to your window size?
>
> ...
>
> PS: Of course the MBS Plugins include resolution change classes.

Just be careful with the MBS methods in Mac builds 'cause they'll
re-arrange and/or resize any open windows, and the desktop items. This
is a touchy subject with many gamers, and it's generally considered bad
form to mess with other applications unless your app is specifically
designed to do so.

I wrote the Display Overlord plugin (available here:
<http://developer.chaoticbox.com/>) to avoid this problem, but it uses
a nasty hack in OS X in order to get RB windows to sit on top of the
coregraphics shielding window. Apple specifically warns that this is
unsupported functionality, so there's no guarantee it'll work in future
versions of OS X.

NOTE: MBS has CoreGraphics methods that allow you to capture a screen
on OS X much like Display Overlord does on that platform, but I
wouldn't place that route in the "neatest and easiest" category, and
you're still faced with the problem that no RB windows will actually be
visible after the fact.

To sum up: MBS is probably easiest for Win32, Display Overlord is
probably easiest for Mac OS 8/9, and it also currently works on OS X,
but in the end there's no "safe" way to get an RB window to draw on a
captured OS X display no matter how you go about it.

Frank.
------------
Open Source RB Plugins and Classes
<http://developer.chaoticbox.com>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Changing Resolution
Date: 12.02.05 04:13 (Sat, 12 Feb 2005 14:13:10 +1100)
From: Martin Fitzgibbons
Thanks Frank,

It's mainly for students developing games for their senior high school
projects so it should be fine.

=GD?DGD?DGD?DGD?DGD?DGD?DGDMartin Fitzgibbons
Kiama High
http://www.rushsoftware.com.au
http://www.crosswordwizard.com.au
On 12/02/2005, at 9:33 AM, Frank Condello wrote:

> On 10-Feb-05, at 9:39 PM, Christian Schmitz wrote:
>
>> Martin Fitzgibbons <<email address removed>> wrote:
>>
>>> What would be the neatest and easiest way to have your app change the
>>> resolution of the client computer automatically to your window size?
>>
>> ...
>>
>> PS: Of course the MBS Plugins include resolution change classes.
>
> Just be careful with the MBS methods in Mac builds 'cause they'll
> re-arrange and/or resize any open windows, and the desktop items. This
> is a touchy subject with many gamers, and it's generally considered
> bad form to mess with other applications unless your app is
> specifically designed to do so.
>
> I wrote the Display Overlord plugin (available here:
> <http://developer.chaoticbox.com/>) to avoid this problem, but it uses
> a nasty hack in OS X in order to get RB windows to sit on top of the
> coregraphics shielding window. Apple specifically warns that this is
> unsupported functionality, so there's no guarantee it'll work in
> future versions of OS X.
>
> NOTE: MBS has CoreGraphics methods that allow you to capture a screen
> on OS X much like Display Overlord does on that platform, but I
> wouldn't place that route in the "neatest and easiest" category, and
> you're still faced with the problem that no RB windows will actually
> be visible after the fact.
>
> To sum up: MBS is probably easiest for Win32, Display Overlord is
> probably easiest for Mac OS 8/9, and it also currently works on OS X,
> but in the end there's no "safe" way to get an RB window to draw on a
> captured OS X display no matter how you go about it.
>
> Frank.
> ------------
> Open Source RB Plugins and Classes
> <http://developer.chaoticbox.com>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

=wDsDoDsDsDkDoD?D?DD?DGD?DMartin Fitzgibbons
Rush Software
http://www.rushsoftware.com.au
http://www.crosswordwizard.com.au

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Changing Resolution
Date: 15.02.05 21:34 (Tue, 15 Feb 2005 15:34:22 -0500)
From: Asher Dunn

On Feb 11, 2005, at 5:33 PM, Frank Condello wrote:

> To sum up: MBS is probably easiest for Win32, Display Overlord is
> probably easiest for Mac OS 8/9, and it also currently works on OS X,
> but in the end there's no "safe" way to get an RB window to draw on a
> captured OS X display no matter how you go about it.

Just out of curiosity, could I capture the display with the Display
Overlord plugin and then create a fullscreen OpenGL context that would
show up? I mean a true fullscreen context not attached to any window.

Asher Dunn
--------------------------------------------------------
President and Head Developer of Fireye Software
<http://www.fireyesoftware.com/>
AIM and Yahoo: fireye7517

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Changing Resolution
Date: 15.02.05 22:03 (Tue, 15 Feb 2005 16:03:57 -0500)
From: Frank Condello
On 15-Feb-05, at 3:34 PM, Asher Dunn wrote:

> On Feb 11, 2005, at 5:33 PM, Frank Condello wrote:
>
>> To sum up: MBS is probably easiest for Win32, Display Overlord is
>> probably easiest for Mac OS 8/9, and it also currently works on OS X,
>> but in the end there's no "safe" way to get an RB window to draw on a
>> captured OS X display no matter how you go about it.
>
> Just out of curiosity, could I capture the display with the Display
> Overlord plugin and then create a fullscreen OpenGL context that would
> show up? I mean a true fullscreen context not attached to any window.

That's actually the best (or at least one proper) way to go about it.
Basically, with a captured display on OS X Apple recommends drawing to
a fullscreen OpenGL context or directly to the blanking window. The
window manager hack I use in DisplayOverlord shouldn't cause any
problems (and works fine for now) but it's not officially supported. A
fullscreen OpenGL context will also swap quite a bit faster than a
windowed context at resolutions that aren't fill-limited.

Frank.
------------
Open Source RB Plugins and Classes
<http://developer.chaoticbox.com>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Changing Resolution
Date: 22.02.05 21:45 (Tue, 22 Feb 2005 15:45:11 -0500)
From: Asher Dunn

On Feb 15, 2005, at 4:03 PM, Frank Condello wrote:

> On 15-Feb-05, at 3:34 PM, Asher Dunn wrote:
>
>> On Feb 11, 2005, at 5:33 PM, Frank Condello wrote:
>>
>>> To sum up: MBS is probably easiest for Win32, Display Overlord is
>>> probably easiest for Mac OS 8/9, and it also currently works on OS
>>> X, but in the end there's no "safe" way to get an RB window to draw
>>> on a captured OS X display no matter how you go about it.
>>
>> Just out of curiosity, could I capture the display with the Display
>> Overlord plugin and then create a fullscreen OpenGL context that
>> would show up? I mean a true fullscreen context not attached to any
>> window.
>
> That's actually the best (or at least one proper) way to go about it.
> Basically, with a captured display on OS X Apple recommends drawing to
> a fullscreen OpenGL context or directly to the blanking window. The
> window manager hack I use in DisplayOverlord shouldn't cause any
> problems (and works fine for now) but it's not officially supported. A
> fullscreen OpenGL context will also swap quite a bit faster than a
> windowed
> context at resolutions that aren't fill-limited.

OK cool :-)

Asher Dunn
--------------------------------------------------------
President and Head Developer of Fireye Software
<http://www.fireyesoftware.com/>
AIM and Yahoo: fireye7517

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Changing Resolution
Date: 11.02.05 15:40 (Fri, 11 Feb 2005 08:40:51 -0600)
From: Joseph J. Strout
At 11:35 AM +1100 2/11/05, Martin Fitzgibbons wrote:

>What would be the neatest and easiest way to have your app change
>the resolution of the client computer automatically to your window
>size?

Use Frank's "Display Overlord" plug-in.

Best,
- Joe