Results 1 to 4 of 4

Thread: doStretch without blur?

  1. #1

    doStretch without blur?

    My game uses 320x200 pixels, but this is scaled up to any screen size using DXDRAW.Options.doStrecht. Here the pixels are interpollated and it looks very blurry. I'ld like to have clear pixels instead (in OpenGL this would be like using GL_NEAREST instead of GL_LINEAR).

    Is there a way to do that in DelphiX?
    (I'm using an old version of UnDelphiX from 2001).

  2. #2

    doStretch without blur?

    I just found a solution: adding DDBLT_KEYSRC to the flags used with DXDraw.Primary.Blt and setting a transparent color (to a color that isn't used).

    Now I get sharp pixels instead of blurry ones, but it does seem to be slower than without that flag. Also, I'm not sure if this works the same on all cards. Mine is an NVidia.

  3. #3

    doStretch without blur?

    I have not used that option in the past mainly because the resolution used has always been the most common ones.

    If you want to I could check your exe on 3 pc's ranging from radeon 7000, x700 and GForce 6800GT to see what it does.

  4. #4

    doStretch without blur?

    I can offer a test on a X800 Pro Desktop and a Radeon 9000 Mobility Laptop.
    <a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&amp;utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Comodo SSL