RenderTarget / Fullscreen

Discussion in 'Game Development (Technical)' started by Pogacha, Jan 28, 2011.

  1. Pogacha

    Original Member

    Joined:
    Jan 21, 2005
    Messages:
    605
    Likes Received:
    0
    2 questions in one thread.

    1 - It is safe to use a RenderTarget?
    I mean, does every card in the casual world(ATI9200 - GeForce2 - Intel 945 and above) supports a power of two render target texture in DX9?

    I couldn't find any list of capabilities by card or something that tells me so, I'm almost sure ATI and GeForce are ok, but not about Intel integrated cards ... what do you know about?

    2 - With multiple monitors there is a problem with fullscreen exclusive mode, if you click on the other monitor the game minimizes and the screen configuration is changed.
    I was thinking that you can create a window without borders nor bars topmost with the size of the screen and then render the game to a texture and then blit the texture to the window scaling to fit it. This way you might be dealing with this problem and LCD bad scaling as well. Do you have any experience with this?
    Do you do the fullscreen this way?

    Thanks!
     
  2. Pogacha

    Original Member

    Joined:
    Jan 21, 2005
    Messages:
    605
    Likes Received:
    0
  3. HL706

    HL706 New Member

    Joined:
    Jan 20, 2011
    Messages:
    50
    Likes Received:
    0
    Most cards support target textures of n^2 quite comfortably, and have since I was in Uni in 2003. (probably before that too but I'm ignorant ;))
     
  4. jcottier

    jcottier New Member

    Joined:
    Jul 12, 2006
    Messages:
    1,385
    Likes Received:
    0
    1) Yes, you should be fine. RenderTarget is a DX7 feature...

    2) Don't spend too much time trying to solve this one. At the end of the day, how many casual gamers play on a dual screen?

    JC
     
  5. alexionne

    alexionne New Member

    Joined:
    Dec 30, 2009
    Messages:
    8
    Likes Received:
    0
    2) You can use Windows ClipCursor function to limit your cursor only to your game.

    Anyway, I would suggest not to use fullscreen exclusive mode at all. Create your game window in desktop resolution, and scale-up (or down) all your graphics while rendering. If you use render target, it is even easier.
     

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer