resolution issue window/fullscreen

Posted By: ello

resolution issue window/fullscreen - 02/14/09 16:58

i just learned that for example video_mode = 7; sets my engine window to 720x480 px but in fullscreen mode it sets 800x600px

i consider this a bug since there is no real logic behind it

or is there something cool about it?
Posted By: Spirit

Re: resolution issue window/fullscreen - 02/14/09 17:27

Are you sure that your 3D card supports 720x480?

If it doesnt you cant run 720x480 in fullscreen at all, only in window mode, thats not a bug because not all 3D cards support all fullscreen resolutions.
Posted By: EvilSOB

Re: resolution issue window/fullscreen - 02/14/09 17:37

It may also be a actual monitor limitation, so the video card shifts to
the closest(higher) resolution.
Posted By: ello

Re: resolution issue window/fullscreen - 02/14/09 18:01

well, my screen supports all resolutions up to 1920x1200. the thing is that if i set video_mode to 7 (800x600) it creates 720x480 in windowed mode and 800x600 in fullscreen. and this wasnt always the case so it is something that changed in the engine.

plus it is annoying to create something in the windows mode and when going to fullscreen nothing fits anymore
Posted By: Joey

Re: resolution issue window/fullscreen - 02/14/09 18:53

i bet it's just some line jcl forgot to adapt.
Posted By: SchokoKeks

Re: resolution issue window/fullscreen - 02/15/09 13:35

Quote:

- Wide screen video formats are now automatically selected when the primary monitor has a wide screen. If this is undesired, set video_aspect to 4/3 before the first frame.


This feature is pretty messed up. Take a look at my Thread, no one could help me yet how to disable it in C-Script.

When i set video_mode to 7 in my project (made in c-script),
I'm getting the 720x480 resolution in window mode and in fullscreen mode. The strange thing is that I'm getting black bars above and below the screen in fullscreen mode, as this resolution has 16:9 aspect ratio but my monitor has 16:10.
In all other 3d games the picture just gets streched.
A friend of mine reported that he would also get widescreen resolutions (tested only in windows mode) with my application despite having a 4:3 monitor.
Posted By: Tobias

Re: resolution issue window/fullscreen - 02/15/09 16:20

Ello, you can see with the DirectX tool "DxCapsViewer" if your card really supports 720x480. If not, I think the engine selects the next best resolution which would be 800x600.
Posted By: ello

Re: resolution issue window/fullscreen - 02/15/09 16:25

aha. ok.. now i understand.. so i was just disturbed by that the 720x480 resolution was automatically detected and i did the panels and afterwards nothing fitted anymore smile
Posted By: jcl

Re: resolution issue window/fullscreen - 02/16/09 08:41

You can select through video_aspect if you want a wide screen resolution or not. But I admit that this won't work in C-Script which has no possibility to set variables before rendering.

I think I'll implement a solution for C-Script also.
Posted By: Loopix

Re: resolution issue window/fullscreen - 02/17/09 12:24

Originally Posted By: jcl


I think I'll implement a solution for C-Script also.


That would be nice!
© 2024 lite-C Forums