hi guy,
i am having problem openning a 1920x1080 resolution window. when i openned a window with 600x600, the height of the window cover almost alll the height of my screen. further testing revealed that my screen is only 1080x720 resolution. but my monitor is samsung ex2220, which is 1920x1080 resolution. i think the opengl did not use the hd resolution. any idea?
thanks.
opengl:how to open a HD window
When you're running at 1080x720, a 600x600 window should take up almost the entire height. Your monitor has a max resolution of 1920x1080, but that doesn't mean you are using that resolution all the time. I bet that if you tried opening a 1920x1080 window in fullscreen or increasing your used resolution to 1920x1080 you wouldn't have any problems.
testing revealed that my screen is only 1080x720 resolution. but my monitor is samsung ex2220, which is 1920x1080 resolution.This isn't OpenGL's fault -- your monitor isn't configured properly in your display control panel.
hi,
hodgman: when i clicked start->contrl panel->display, i saw that my screen resolution is 1920x1080. is that mean this info is misleading? i mean it is not what it claim to be?
captacha: how do you open a window in full screen mode? i know i can run a program in smaller window and then drag the edge of the window to maximize it. it is dirty way to do it ,for sure.
thanks.
hodgman: when i clicked start->contrl panel->display, i saw that my screen resolution is 1920x1080. is that mean this info is misleading? i mean it is not what it claim to be?
captacha: how do you open a window in full screen mode? i know i can run a program in smaller window and then drag the edge of the window to maximize it. it is dirty way to do it ,for sure.
thanks.
When you create the window in your C++ code their is one flag that tells the application it is opened in windowed or fullscreen mode, I forgot/am to lazy to look this up on MSDN right now but it should be a trivial google search.
Less lazy: http://msdn.microsoft.com/en-us/library/ms632679(VS.85).aspx it's the WS_OVERLAPED flag you wanna change if i remeber correctly, the page will tell you anyway.
Less lazy: http://msdn.microsoft.com/en-us/library/ms632679(VS.85).aspx it's the WS_OVERLAPED flag you wanna change if i remeber correctly, the page will tell you anyway.
i am having problem openning a 1920x1080 resolution window. when i openned a window with 600x600, the height of the window cover almost alll the height of my screen. further testing revealed that my screen is only 1080x720 resolution. but my monitor is samsung ex2220, which is 1920x1080 resolution. i think the opengl did not use the hd resolution. any idea?[/quote]
when i clicked start->contrl panel->display, i saw that my screen resolution is 1920x1080. is that mean this info is misleading? i mean it is not what it claim to be?[/quote]
How are you creating your program?
Is it HTML or Java or C++ etc, and what development environment are you using?
It's possible that your development environment uses coordinates that aren't exactly pixels.
hi Erik Rufelt:
i used win7 VC++ 2010 express.
you said:
It's possible that your development environment uses coordinates that aren't exactly pixels.
i do not understand what you mean when you said the coordinates not exactly pixels.
thanks
i used win7 VC++ 2010 express.
you said:
It's possible that your development environment uses coordinates that aren't exactly pixels.
i do not understand what you mean when you said the coordinates not exactly pixels.
thanks
hi
i opened the window with the following statement:
glutInitWindowSize(600, 600);
and the window occuppied almost the whole height of the window. if it is 600x600, it should cover only one third of the height of the window right?
i opened the window with the following statement:
glutInitWindowSize(600, 600);
and the window occuppied almost the whole height of the window. if it is 600x600, it should cover only one third of the height of the window right?
I see, yes then you can probably ignore what I said. Sometimes HTML and javascript use other coordinate systems.
Take a screenshot of your screen with the window on, and measure the number of pixels in an image editor. And double-check the display resolution.
Take a screenshot of your screen with the window on, and measure the number of pixels in an image editor. And double-check the display resolution.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement