• Advertisement
  • Popular Tags

  • Popular Now

  • Advertisement
  • Similar Content

    • By Ricardo3Ddev
      Hi guys!
      This is a independent game being produced by me and my brother. We’ve been working on it for about 6 months and we’ve already done a good part of the game. We hope to finalize and make it available on Steam by the end of this year.
      We are using Blender 3D and Gimp software for production.
       
      About the Game: Dongo Adventure will be a 3D platform style game, where the main character (Dongo) is a mouse that ventures through various scenarios (sewers, culverts, streets, electric grid, etc.) and faces several enemies along the way (cockroaches, mosquitoes, spiders, toxic gases, electrical wires, etc.). He carries a basket / backpack with cheeses that he uses to throw and defend himself from enemies, as well as being able to push objects that helps him to overcome obstacles. The ultimate goal will be a surprise!
       
      Now we are developing new scenarios and enemies. We hope to publish news soon...
      Game page on Steam: http://store.steampowered.com/app/811450/Dongo_Adventure/ - (Teaser UPDATED)
      Dongo Adventure - Indie Game Project (First Teaser) https://www.youtube.com/watch?v=X2nmxtkE0xk

      Thanks for following the project!
    • By Ty Typhoon
      So me and my co try to do a game.
      It should be in unity couse my co do everything in this engine.
       
      We got the rpg package from evila for inventor, but it only runs on pc right now.
       
      I like to make a online store for guns in the game and a multiplayer open world that runs on pc, android, mobile, ps4, xbox one. 
      Somebody told me that you "only" need to program it like so and that its possible in every engine...
       
      [recruitment wording deleted by moderator]
       
      And yes, this is no recruitment post.
      [recruitment wording deleted by moderator]]
       
      Also discord:
      Joerg Federmann Composing#2898
    • By Epicghost 505
      Hello,
      We are looking for people to be apart of a team, to help create a horror game we are looking for 3d modelers, coders, artist, animators, fx artist, level designers, and audio design, there will be a payment plan once release of game                                                                                                                                                                                                                                                                                              if your interested come join our discord                                                                                                                                                                                                                                                                         We hope to see you there
      https://discord.gg/6rcc6xr
      -Epicghost505
    • By Sandman Academy
      Downloadable at:
      https://virva.itch.io/sandman-academy
      https://gamejolt.com/games/sandmanacademy/329088
      https://www.indiexpo.net/en/games/sandman-academy
      https://www.gamefront.com/@sandmanacademy
      http://www.indiedb.com/games/sandman-academy
    • By Sandman Academy
      Downloadable at:
      https://virva.itch.io/sandman-academy
      https://gamejolt.com/games/sandmanacademy/329088
      https://www.indiexpo.net/en/games/sandman-academy
      https://www.gamefront.com/@sandmanacademy
      http://www.indiedb.com/games/sandman-academy
  • Advertisement
  • Advertisement

glut only runs at hd? can it run at 4k?

Recommended Posts

My win10 is set at 225% scale and my monitor is 4k.  however, when i open a window in glut, the window is covered almost half of the screen.  is glut only capable of display hd only?

thanks

Share this post


Link to post
Share on other sites
Advertisement

The more interesting question is if your Graphics Card supports a native 4K resolution! Setting up Windows on 225% scale dosent seems so and GLUT uses the Windows API to get native capable display resolutions. At the end it sounds that you have a monitor that your GC is only running at HD resolution naturally but you might test it by yourself using WinAPI EnumDisplaySettings to get a list of possible resolution/refreshrate/color mode combinations

Share this post


Link to post
Share on other sites
10 hours ago, Shaarigan said:

The more interesting question is if your Graphics Card supports a native 4K resolution! Setting up Windows on 225% scale dosent seems so and GLUT uses the Windows API to get native capable display resolutions. At the end it sounds that you have a monitor that your GC is only running at HD resolution naturally but you might test it by yourself using WinAPI EnumDisplaySettings to get a list of possible resolution/refreshrate/color mode combinations

thanks for your reply.

My GPU is radeon rx 480, so I am sure that it support 4k.

 

Share this post


Link to post
Share on other sites

DId you try resizing the window ? If so, did it resize to the maximum size of the desktop? Are you assuming that GLUT will open up a fullscreen window by default ?

Share this post


Link to post
Share on other sites
4 hours ago, cgrant said:

DId you try resizing the window ? If so, did it resize to the maximum size of the desktop? Are you assuming that GLUT will open up a fullscreen window by default ?

no, I can not resize the window.  I can't because when I coded it so that it will not run in full screen. When I resized it, it just shrink the graphic but the window would still in its original size and in black background.  When it re-rendered, it's back to the original window size.  The following image in the middle of the screen is 1280x720 resolution but almost covered the whole 4k screen.

Screenshot (16).png

Edited by nickme
to add image

Share this post


Link to post
Share on other sites
On 3.7.2017 at 4:42 AM, nickme said:

My win10 is set at 225% scale and my monitor is 4k

 

I'm sorry but this dosent sound very 4k native resolution kind to me so you should urgently check what EnumDisplaySettings gives you as result

Share this post


Link to post
Share on other sites

When I ran it at 4k, it just fit the whole screen, but when I ran it at 1080p, it still covered the whole screen.  Why is that?  Is vs c++ auto upscale?

thanks for all your help

 

Share this post


Link to post
Share on other sites

The hardware can automatically upscale if you open as full screen. If you set the graphics device into a resolution other than the maximum most devices will automatically upscale. Some devices will not upscale specific resolutions, but that depends on the hardware.

Also, in some situations for compatibility the drivers or OS will automatically upscale your program. 

I don't believe GLUT will automatically pick a different window size for you, but it has been nearly two decades since I've used it, so I've no idea what it does any more.  Perhaps it automatically does it.

C++ by itself would not do it. That's not part of the language, nor something the language can directly control. (You can use the language to send commands to drivers and libraries such as Direct3D or OpenGL, and those libraries might in turn can take action, but the language itself does not.)

Share this post


Link to post
Share on other sites
3 minutes ago, frob said:

The hardware can automatically upscale if you open as full screen. If you set the graphics device into a resolution other than the maximum most devices will automatically upscale. Some devices will not upscale specific resolutions, but that depends on the hardware.

Also, in some situations for compatibility the drivers or OS will automatically upscale your program. 

I don't believe GLUT will automatically pick a different window size for you, but it has been nearly two decades since I've used it, so I've no idea what it does any more.  Perhaps it automatically does it.

C++ by itself would not do it. That's not part of the language, nor something the language can directly control. (You can use the language to send commands to drivers and libraries such as Direct3D or OpenGL, and those libraries might in turn can take action, but the language itself does not.)

thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Advertisement