BackBuffer and Window Size
by Rojas Fredini, Pablo Sebastian · in Torque X 2D · 11/06/2009 (1:31 pm) · 2 replies
Hello, i'm currently working on a project where i need to have a backbuffer resolution different from the window resolution. Is it possible? i've been trying a few things, but doesn't matter what do i do, i always get the same resolution of the window in the backbuffer.
Thanks.
Thanks.
#2
Game.Instance.Window.AllowUserResizing = true
to let the user resize the window, and i want the engine to expand the backbuffer via interpolation to the real window size, if different from the backbuffer size.
When the user resizes the window, the device changes the backbuffer size to match the window, and if I change the device settings (backbuffer width and height) and call device.ApplyChanges() to resize the backbuffer, the window gets resized to the backbuffer size. So I can't find a way to get this working.
I've done this in Direct3d before but i don't get what i'm missing here.
Thanks for the response.
11/07/2009 (5:32 pm)
Well, first when the game is initializing I set Game.Instance.Window.AllowUserResizing = true
to let the user resize the window, and i want the engine to expand the backbuffer via interpolation to the real window size, if different from the backbuffer size.
When the user resizes the window, the device changes the backbuffer size to match the window, and if I change the device settings (backbuffer width and height) and call device.ApplyChanges() to resize the backbuffer, the window gets resized to the backbuffer size. So I can't find a way to get this working.
I've done this in Direct3d before but i don't get what i'm missing here.
Thanks for the response.
Torque 3D Owner XanthorXIII
Post an example and let's see what we need to do.
You have my curiousity.