Search Home Members Contacts
About Us
Bug #443: Missing: Enums for valid fullscreen resolutions
TV3D SDK 6.5
Not Specified
Current State:
Not a Bug
Created On:
June 30th, 2005
Last Modified:
July 7th, 2005
Reported By:
TV3D fails to initialize a fullscreen window if the user puts in non standard resolutions.

A) Should tv3d be allowed to init at near any user defined resolution? Some engines do allow this i think.

B) If not "A", what ARE the valid resolutions and up to what maximum? Perhaps video card max limit?

C) If not "A" then tv3d should provide enumerations to limit the input


Posted by Hypnotron on June 30th, 2005 at 7:26 PM
NOTE: That when running windowed, Im quite easily able to resize my window to any odd size without problem.

for full screen invalid resolution the debug file says:
DEVICE INIT : Initializing the device in fullscreen mode, with a render surface size of 1800x600, format 22, depthbuffer 75
DEVICE INIT : Couldn't create the device with the specified formats. The engine won't be able to render anything.
Posted by on July 2nd, 2005 at 12:26 AM
You can get the valid resolutions by querying the device via TvDeviceinfo - one of the few classes which can be used before the engine init. This returns the enum TV_MODEFORMAT.
Posted by on July 4th, 2005 at 4:29 PM
I'd also like to add that I don't think TV should limit ANYTHING. If you enter an incorrect value for any function its not a bug in tv code, but rather a bug in your code. :P ;)
Posted by SylvainTV on July 7th, 2005 at 3:11 PM
Thats my point of view too.

Moreover for laptops and wide screens, you have some exotic video modes that are available.

So limiting by putting in an enum is not good, since we don't know what formats exist and what they will invent in the next years :)