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 / DarkGDK with a graphics engine?

Author
Message
Wysardry
14
Years of Service
User Offline
Joined: 10th Jun 2010
Location: Yew Kay
Posted: 26th Aug 2010 12:54
Has anyone tried using DarkGDK with a 3D graphics engine such as OGRE?

I was wondering if it were possible for DarkGDK to handle the logic, playing sounds, networking etc. but the graphics to be processed by a specialised engine.
_Pauli_
AGK Developer
14
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 26th Aug 2010 13:10
First of all DarkGDK doesn't handle any logic, you write the logic in C++ after all. And I don't think it's a good idea to use DGDK together with other engines, because you would have to start and update the DGDK renderer anyways (even if your just using sound commands etc.). But there are plenty of other plugins available to handle tasks like audio, networking, ...

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 26th Aug 2010 22:32
DarkGDK IS a 3D graphics engine... It just has a few extras like sound.

[b]
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 27th Aug 2010 07:25
Haven't tried it, and I don't think it would be very feasible as the others have mentioned. It would be possible to use DarkGDK as an alternative render, say give users the option to render using DarkGDK, or the OGRE3D OpenGL render, but that doubles your workload. DarkGDK is probably best used for graphics, and then you can use other tools/plugins for physics, networking, and sound.



A book? I hate book. Book is stupid.
(Formerly Yellow)
TechLord
21
Years of Service
User Offline
Joined: 19th Dec 2002
Location: TheGameDevStore.com
Posted: 27th Aug 2010 08:25
Quote: "I was wondering if it were possible for DarkGDK to handle the logic, playing sounds, networking etc. but the graphics to be processed by a specialised engine. "
My question would be why do you feel this is necessary? DGDK provides several commands to access its DX directly. I have done so to create Render-Targets with the dbMakeRenderTarget. Just take a look at the DSDK headers and you can also get your hands on the DGDK source here.

Wysardry
14
Years of Service
User Offline
Joined: 10th Jun 2010
Location: Yew Kay
Posted: 27th Aug 2010 11:54
I'm currently learning DB Pro and am looking at what options might be available to me when I reach the limits of what it can do. DarkGDK seems an obvious next step, as it includes many of the same functions with a similar syntax.

However, as far as I know there are no plugins to allow it to use OpenGL or run on anything other than Windows machines. Several of the specialised graphics engines available can do both, and also have features such as paging terrain.

I haven't used C/C++ much, but I thought that programs of any complexity were built in a modular fashion using libraries that were only included during the compilation process if needed.

I don't know what the dependencies are for DarkGDK, but I would have thought that quite a few of the commands were independent of the DirectX renderer.

Login to post a reply

Server time is: 2024-07-02 09:06:58
Your offset time is: 2024-07-02 09:06:58