Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Dynamic Resolution Switching?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 DigitalBlur   Members   -  Reputation: 122

Like
Likes
Like

Posted 19 October 2001 - 05:00 PM

Can some one give me a rundown on how to impliment this? I''ve seen it done a number of ways, mostly the display window is destroyed and then recreated with the new resolution, this requires the textures to be reloaded (Quake3 does this). But how do you just switch resolutions without reloading every thing (like Unreal Tournament)?

Sponsor:

#2 Maximus   Members   -  Reputation: 124

Like
Likes
Like

Posted 19 October 2001 - 05:17 PM

You can just change the resolution without recreating the opengl context and reloading all the textures, but it tends to crash on Voodoo cards. I suspect that UT would reload it all, just not show a loading screen for it.

#3 DigitalBlur   Members   -  Reputation: 122

Like
Likes
Like

Posted 19 October 2001 - 05:34 PM

I'd need to readjust the viewport woulden't I?

Either way I'll play around with it and see what happens. I Have a voodoo1 so if it works on my card it should work on every thing else.

Thanks

Edited by - DigitalBlur on October 19, 2001 12:35:44 AM

#4 Maximus   Members   -  Reputation: 124

Like
Likes
Like

Posted 19 October 2001 - 05:53 PM

I have my doubts as to whether youll get it working on a voodoo1 without recreating the opengl context... I had that method working perfectly on my geforce but when running it on a voodoo5 it crashed horribly.

If you''re running in a window and just changing the size of the window (not going fullscreen) you can just resize the window and the viewport, which is what my engine does. My fullscreen code is rather broken atm, but it reloads all textures to the same texture id number, which makes it a simple affair to reload them all.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS