Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Is DarkGDK faster than DBPro?

Author
Message
DarkDISCUSSION
13
Years of Service
User Offline
Joined: 6th Jul 2011
Location: Ft Madison, IA
Posted: 6th Jan 2012 21:08
Hi,

I was thinking about giving the gdk a good try and was wondering about how doing so can improve a games rendering speed. It the GDK faster than DBPro? (rendering)


Thanks!

Let's not leak our hard work.
Brendy boy
19
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 6th Jan 2012 22:05 Edited at: 6th Jan 2012 22:05
Quote: "It the GDK faster than DBPro? (rendering)"

no, they are the same. The code for rendering in GDK is the same one used for rendering in DBPro

WLGfx
17
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 6th Jan 2012 23:38
I've found in my usage of both Dark GDK and Pure GDK that neither are faster then DBPro. It seems that DBPro is native to it's engine whereas GDK is just a library of functions that call the functions from DBPro dll's. In quite a few instances the slow down occurs because you're calling a function that calls a function, etc. You're not actually directly accessing the DBPro dll's yourself. This is true for Dark GDK and Pure GDK, but Pure GDK is slightly quicker in that sense because of its setup.

Dark GDK is a great start for C/C++ whereas Pure GDK you have to start from scratch setting up your projects.

Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 15th Jan 2012 11:16
@DarkDISCUSSION, I recommend you to give DGDK a try.
It happens that the Visual Studio compiler outputs a much optimized executable than DBPro compiler does.
So maybe, for some particular functions, a single instruction call doesn't has the expected performance, but at the end, for a real project where many things happen, the final balance is that DGDK is faster and better.
I tell by my own experience with MPL3D Solar System. Since early stages of development, DBPro wasn't able to move it as fast as DGDK.

Login to post a reply

Server time is: 2024-11-19 04:41:26
Your offset time is: 2024-11-19 04:41:26