Direct X

Moderator: GZDoom Developers

Post Reply
User avatar
FLYBAT
Posts: 89
Joined: Thu Jul 19, 2012 3:04 pm

Direct X

Post by FLYBAT »

I wonder what DirectX Doom will look like... Imagine sprites that cast shadows! Imagine that your vision is blurry when you are underwater! Imagine the gradient lighting not only for walls, but for actors!
I'm just curious, will it happen or not?
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Direct X

Post by Nash »

What you probably really mean is support for custom shaders, which I don't really see happening to the software renderer anytime soon... and *could* be possible with GZDoom if there was a way to hook user shaders (via GLSL) into the render pipeline...

(It would be great to see GZDoom use Direct3D instead of OpenGL but also I don't see that happening anytime soon)
NotAGoodName
Posts: 17
Joined: Wed Jun 20, 2012 6:18 pm

Re: Direct X

Post by NotAGoodName »

It might be possible to wrap GZDoom with GLDirect. There's the old GLDirect that wrapped to D3D8 and a newer source upload you can find that wraps to D3D9. Unfortunately, I've never tested it on a capable computer and don't have the opportunity right now, so I can't promise that it would even attempt to render before an error. Also, even if it works, the usefulness of doing so is questionable.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Direct X

Post by Gez »

FLYBAT wrote:I wonder what DirectX Doom will look like...
Imagine no longer!

Nash wrote:(It would be great to see GZDoom use Direct3D instead of OpenGL)
All Linux and Mac users would agree 100% with that sentiment, I am sure.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Direct X

Post by Nash »

Right. Well, I don't know the code that much, but I remember the renderer code being totally separated from the game code. In that case, the game would most probably make use of a plugin system for renderers. Of course this all means nothing when no one is interested in coding it...

How is Source engine running on Mac anyway? Did they use a wrapper? Or did they change the renderer to SDL?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Direct X

Post by Gez »

SDL? Ha. Not unless they are masochists.

Wikipedia sez: "Direct3D rendering on Microsoft Windows PCs, Xbox and Xbox 360, OpenGL rendering on Mac OS X and the PlayStation 3." Mystery solved.
User avatar
Kinsie
Posts: 7402
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Direct X

Post by Kinsie »

Nash wrote:How is Source engine running on Mac anyway? Did they use a wrapper? Or did they change the renderer to SDL?
They use their own Direct3D>OpenGL translator, yeah. That way they don't have to write every shader twice.
Gez wrote:SDL? Ha. Not unless they are masochists.
They just hired the creator of SDL to work on the Linux version of Source, actually.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Direct X

Post by randi »

FLYBAT wrote:I wonder what DirectX Doom will look like...
It would look like ZDoom, since ZDoom is the only maintained port that uses DirectX on Windows instead of SDL.
User avatar
VGA
Posts: 506
Joined: Mon Mar 28, 2011 1:56 am

Re: Direct X

Post by VGA »

FLYBAT wrote:I wonder what DirectX Doom will look like... Imagine sprites that cast shadows! Imagine that your vision is blurry when you are underwater! Imagine the gradient lighting not only for walls, but for actors!
I'm just curious, will it happen or not?
You underestimate OpenGL capabilities :mrgreen:

There are high-budget games like Doom3 and Brink that use it.
User avatar
ibm5155
Posts: 1268
Joined: Wed Jul 20, 2011 4:24 pm
Contact:

Re: Direct X

Post by ibm5155 »

Like rage xD
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”