Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Dx9 Fullscreen Clipping

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
Krisc Posted - Feb 14 2005 : 7:36:36 PM
Is fullscreen clipping possible with DirectX9? If so...how? I can't seem to get it to work!
8   L A T E S T    R E P L I E S    (Newest First)
Lachlan87 Posted - Feb 16 2005 : 7:17:35 PM
I'm actually interested in what 2dcoder was using---I figured you were using MDX since you said DX 9. If 2dcoder was using Managed DirectX, what he said about bltFast would be good to keep in mind. I probably ought to do a test myself instead of bugging him for the details, but I'm lazy.
Krisc Posted - Feb 16 2005 : 6:10:24 PM
I am. And I am actually using C# however I know VB well enough to translate. :P
Lachlan87 Posted - Feb 16 2005 : 06:53:23 AM
. . . Are you using Managed DirectDraw or DirectDraw 7? People sometimes assume they're the same.

Here's a little quote from Tom Miller's Book: (He was on the development team for MDX)
quote:
When the calls to Draw and DrawFast are hardware accelerated (which is most likely the case in any modern graphics card), there is no difference between these two calls. However, if there is a case where the methods are called using software, the DrawFast method will be approximately 10% faster than the Draw method.


Now, even with all that said, I'm willing to allow that you could still be right---but are you using Managed DirectX?
2dcoder Posted - Feb 16 2005 : 05:31:00 AM
Actually drawfast is alot faster. I've tested it on several machines from low end to high end and I always get more sprites on the screen with the same frame rate. It is WELL worth your time to implement your own clipping routine and use the .BltFast function. It will really pay off when you start doing multi layered tile maps, dozens or hundreds of sprites, etc.
Lachlan87 Posted - Feb 15 2005 : 3:36:47 PM
Yup. Don't sweat it too much though. . . Drawfast is only faster on non-hardware accelerated machines.
Krisc Posted - Feb 15 2005 : 2:13:12 PM
I got it to work however. Apparently DrawFast does not work with clipping.
Krisc Posted - Feb 15 2005 : 2:06:32 PM
Sorry. Forgot to mention this is with DirectDraw
Lachlan87 Posted - Feb 15 2005 : 07:18:21 AM
Do you just mean the ability to have sprites move off the screen instead of dissapearing when they touch the edge? Because I use the Sprite object bulit into Direct3D, and that happens automatically.

VBGamer © Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.