The Daily Click ::. Forums ::. Klik Coding Help ::. DirectX or no DirectX?
 

Post Reply  Post Oekaki 
 

Posted By Message

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
26th February, 2006 at 15:02:49 -

Just been playing around with the little DirectX tick box in MMF. I'm noticing no difference in game speed, so what does it actually do? and what about VSync? Again I'm not noticing any speed difference. Would I be foolish to use them or are they just tick box eye candy?

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
26th February, 2006 at 18:04:21 -

DX helps with semi transparency (Well it seems to for me anyway). Probably mostly on older systems now a days.

 
Craps, I'm an old man!

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
26th February, 2006 at 18:08:13 -

Well, DX speeds things up under some circumstances like lots of actives and scrolling. Under other ones it is even a slowdowner. Some types of objects doesnīt like DX.

Build a large level with lots of actives and scrolling involved. Hard at the border what your PC is able to handle. Or use an old system for this test. Insert an FPS counter. Turn on DX and play. Turn off DX and play. I am sure you will notice a difference

VSync slows down the mainloop, but makes the picture less flickery. VSync synchronizes the redraw of the screen to the refresh rate of your monitor. It stops the mainloop for a short amout of time until it meets the refresh rate. So Vsync can slow down your app noticeable. Remember that MMF loops with 50 loops per second? Now use a 75 Hz refresh frequency for your monitor. VSync needs DirectX on ...

Decision to use it depends of your audience and your project.

Image Edited by the Author.

 
Free graphics,Free Games
http://www.reinerstilesets.de

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
27th February, 2006 at 04:46:33 -

I have noticed very little help with DirectX how ever... it will stop low resolution games from exiting incorrectly (not restoring the resolution), but in addition, with DirectX in MMF, it’s not possible to switch resolutions or from full screen to windowed or vice versa. If anything, DirectX lowered my game speed, & I think this is because MMF's directx is based on an older version of DirectX. Hopefully if this is the case, MMF2's directx will be allot more effective. In addition, Phizzy is right, MMF limits the frame per second around 40-50.

 
http://www.facebook.com/truediamondgame

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
27th February, 2006 at 09:04:30 -

Sorry if i was not clear enough. Thatīs what i meant with Vsync slows down the FPS. In the case of refresh rate of 75 you could end in 25-30 FPS. Because the mainloop of MMF, wich cycles with 50 ticks per seconds, will pause until it meets the refresh rate of the monitor ...

MMF uses DirectX 8 afaik. So itīs not this far behind. I wouldnīt count at a dramatical speedup.

 
Free graphics,Free Games
http://www.reinerstilesets.de

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
28th February, 2006 at 16:31:16 -

At my computer, low-res fullscreen games without DirectX will often show in a big blak or white border, but if I turn ON DirectX it fullscreens correctly...

 
Old member (~2004-2007).
   

Post Reply



 



Advertisement

Worth A Click