Author Topic: DirectX 5 times faster!!  (Read 4589 times)

Farabi

  • Member
  • ****
  • Posts: 970
  • Neuroscience Fans
DirectX 5 times faster!!
« on: June 15, 2012, 02:22:37 PM »
DirectX 8 is 5 times faster on my laptop than OpenGL. I think I need to try using it too. But Im confused to find the interface list for each version. Anyone know how to obtain the interface list?
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165

dedndave

  • Member
  • *****
  • Posts: 8734
  • Still using Abacus 2.0
    • DednDave
Re: DirectX 5 times faster!!
« Reply #1 on: June 15, 2012, 03:04:52 PM »
sdk ?

Farabi

  • Member
  • ****
  • Posts: 970
  • Neuroscience Fans
Re: DirectX 5 times faster!!
« Reply #2 on: June 15, 2012, 03:39:46 PM »
sdk ?

Well, I guess there is no other option except downloading it from MS web. I though sombedy could search it from registry or something like C did without any effort. But I guess I just search and translate the SDK.
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165

dedndave

  • Member
  • *****
  • Posts: 8734
  • Still using Abacus 2.0
    • DednDave
Re: DirectX 5 times faster!!
« Reply #3 on: June 15, 2012, 03:53:32 PM »
i think most of us are on dx9 or better   :P

Farabi

  • Member
  • ****
  • Posts: 970
  • Neuroscience Fans
Re: DirectX 5 times faster!!
« Reply #4 on: June 15, 2012, 04:12:35 PM »
i think most of us are on dx9 or better   :P

My card perpforming better with DX than OpenGL.
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165

Siekmanski

  • Member
  • *****
  • Posts: 1093
Re: DirectX 5 times faster!!
« Reply #5 on: June 15, 2012, 08:42:58 PM »

Here are some Directx9 examples I translated from the SDK in 2004

http://members.home.nl/siekmanski/d3dx9_asm.zip

K_F

  • Member
  • *****
  • Posts: 1287
  • Anybody out there?
Re: DirectX 5 times faster!!
« Reply #6 on: June 15, 2012, 10:34:22 PM »
From wot I remember, DX uses different structures than GL... maybe this will have a big impact.
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4812
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: DirectX 5 times faster!!
« Reply #7 on: June 15, 2012, 10:53:31 PM »
You will probably find that the speed difference varies with the hardware, on many boxes OpenGL is very fast but it will have much to do with how well the DLL code matches the instruction set and configuration of the particular computer. ou could expect similar variation with DirectX on different hardware.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

Zen

  • Member
  • ****
  • Posts: 962
  • slightly red-shifted
Re: DirectX 5 times faster!!
« Reply #8 on: June 16, 2012, 03:22:54 AM »
ONAN-FARABI,
There is a utility that comes with all the DirectX SDKs, that displays the capabilities of your graphics accelerator. It will tell you everything you ever wanted to know about your hardware (graphics card),...and, a lot of stuff that you'll have to look up at the MSDN website.
You can even write the applicatioin yourself,...primarily, using this function: IDirect3D9::GetDeviceCaps
...And,...here is: Graphics APIs in Windows, MSDN
Zen

xanatose

  • Member
  • ***
  • Posts: 370
Re: DirectX 5 times faster!!
« Reply #9 on: June 16, 2012, 04:26:31 PM »
On laptops, Direct3D drivers tend to be faster. Sometimes the OpenGL driver is a wrapper around Direct3D.
That is why you are getting faster times on Direct3D vs OpenGL.

However, by comitting to Direct3D you are limiting yourself to Windows and XBox.
No PS3, no mac, no unix.

Companies resolve this by using a thin layer between the api and the applications. That allows them target many platforms at once by simply changing compiling flags.

Farabi

  • Member
  • ****
  • Posts: 970
  • Neuroscience Fans
Re: DirectX 5 times faster!!
« Reply #10 on: June 16, 2012, 06:32:35 PM »
On laptops, Direct3D drivers tend to be faster. Sometimes the OpenGL driver is a wrapper around Direct3D.
That is why you are getting faster times on Direct3D vs OpenGL.

However, by comitting to Direct3D you are limiting yourself to Windows and XBox.
No PS3, no mac, no unix.

Companies resolve this by using a thin layer between the api and the applications. That allows them target many platforms at once by simply changing compiling flags.

Yeah, I'll notice that. OpenGL is multi platform where DirectX are not. But it seemed that locking the front buffer surface is a great feature nice to play. I tried to use OpenGL glDrawPixel function but it is too slow. If what making it slow is because my card only support acceleration under for example 512x512 resolution I still can accept it, but if it was slow for all resolution it is unacceptable, because BitBlt is far more supperior than OpenGL Draw pixel runction.
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165