Jump to content

 

Laptop: 2024 16" MacBook Pro M4 Pro, 512GB, 48GB Unified Memory | Phone: iPhone 16 Pro Max 512GB | Wearables: Apple Watch SE | Car: 2025 Honda Accord SE & 2007 Ford Taurus SE | CPU: R7 5700X | Mobo: ASRock B450M Pro4 | RAM: 32GB 3200 | GPU: Sapphire Nitro+ 9070XT | Case: Fractal North | OS: Win 11 | Storage: 1TB Crucial P3 NVME SSD, 1TB PNY CS900, & 4TB WD Blue HDD | PSU: Seasonic Focus GX-850 | Display: LG 27GL83A-B 1440p @ 144Hz, Dell S2719DGF 1440p @144Hz | Cooling: Noctua NH-U12S | Keyboard: G610 Orion Cherry MX Brown | Mouse: G305 | Audio: Audio Technica ATH-M50X & Blue Snowball | Server: 2024 M4 Mac mini, 256GB SSD, 16GB Unified Memory | Storage: Terramaster D4-320 DAS (12TB Seagate Ironwolf Pro, 12TB Seagate Ironwolf, 6TB WD Blue HDD, 500GB Crucial SSD)
Link to comment
https://linustechtips.com/topic/972796-opengl-vs-directx/#findComment-11760939
Share on other sites

Link to post
Share on other sites

Open gl is a standard made by a group anyone can use. 

 

Directx is a standard made by Microsoft that’s only officiallly meant to work on Microsoft devices like windows and Xbox. 

 

Open gl is a 3D acceleration api that when used properly, has the GPU compute 3D graphic insteas of having the CPU do so. The GL stands for graphics library. That’s all it’s meant to do. 

 

Directx has that AND it lets you control some other devices like soundcards. 

Link to comment
https://linustechtips.com/topic/972796-opengl-vs-directx/#findComment-11761325
Share on other sites

Link to post
Share on other sites

They are both pieces of software that allow software to inferface with hardware, and both of them utilize different methods of enabling the general purpose.

 

Wikipedia can provide a decent enough basic explanation for both.

 

https://en.wikipedia.org/wiki/DirectX

https://en.wikipedia.org/wiki/OpenGL

Link to comment
https://linustechtips.com/topic/972796-opengl-vs-directx/#findComment-11761385
Share on other sites

Link to post
Share on other sites

If we want to get technical:

 

  • DirectX is a suite of application programming interfaces (API) that help software developers of certain applications do things. The one most people hear about is Direct3D, which helps developers of 3D applications write how to perform the 3D rendering to the graphics card. There's also a few others like Direct2D (for 2D stuff, duh), Direct Compute (for throwing calculations on the GPU instead of the CPU), XInput (basically handling Xbox 360 type controllers), and a few others.
  • OpenGL is strictly just a graphics rendering API.

 

As people have mentioned, DirectX is made by Microsoft and is only supported on Microsoft platforms. OpenGL is maintained by Khronos and is open source, meaning theoretically you can take it and run it on any platform.

 

In terms of which is better from a feature set point of view, I don't think there's an appreciable difference. DOOM was first released on OpenGL and looked like any other DirectX title before the engine had a Vulkan (which is OpenGL's successor) release. I don't believe there's a graphical quality difference, or if there is one, you have to squint really hard to see it.

Link to comment
https://linustechtips.com/topic/972796-opengl-vs-directx/#findComment-11762915
Share on other sites

Link to post
Share on other sites

3 hours ago, M.Yurizaki said:

DirectX is a suite of application programming interfaces (API) that help software developers of certain applications do things. The one most people hear about is Direct3D, which helps developers of 3D applications write how to perform the 3D rendering to the graphics card.

I'm wondering why there are only very few DX12 games? Would it require too much effort? It exists since 2015.

Link to comment
https://linustechtips.com/topic/972796-opengl-vs-directx/#findComment-11763481
Share on other sites

Link to post
Share on other sites

19 minutes ago, Paddi01 said:

I'm wondering why there are only very few DX12 games? Would it require too much effort? It exists since 2015.

2 minutes ago, ShawnTD said:

Probably due to how much market share windows 7 still had/has. To use directx 12 you need windows 10 to run it. Game makers would alienate a lot of players that want to hang on to win7.

Likely this, but it is also worth bearing in mind that Vulkan and DX came out at a very similar time, offered exactly the same (or better) performance and features and was cross-platform as a bonus. This comes at a time when game devs are more likely than ever to consider Macos/Linux as a release candidate. Of course some devs aare likely to use DX for some time (i.e. Ubisoft, EA) as they have their own engines built upon it for their own purposes only, and do not consider cross-platform at this time.

Link to comment
https://linustechtips.com/topic/972796-opengl-vs-directx/#findComment-11763544
Share on other sites

Link to post
Share on other sites

1 hour ago, Paddi01 said:

I'm wondering why there are only very few DX12 games? Would it require too much effort? It exists since 2015.

DirectX 12 in a very simplified way of explaining it is a hardcore version of DirectX 11. DirectX 11 and DirectX 12 both have the same feature set (possibly with the exception of ray tracing, but that's actually it's own API) so in reality they can both produce the same image quality. You use DirectX 12 when your application is CPU bound and DirectX 11 can't provide enough performance.

 

1 hour ago, ShawnTD said:

Probably due to how much market share windows 7 still had/has. To use directx 12 you need windows 10 to run it. Game makers would alienate a lot of players that want to hang on to win7.

That didn't stop DX9 from being dropped by AAA developers around 2011 when Windows XP was still the majority OS.

Link to comment
https://linustechtips.com/topic/972796-opengl-vs-directx/#findComment-11763731
Share on other sites

Link to post
Share on other sites

On 9/16/2018 at 8:02 PM, DrMacintosh said:

 

That really gave me a better idea about them. But also for some games I have a smoother experience with OpenGL. When I use DirectX, sometimes there is a BUNCH of stutter and 40fps looks like 5. I guess what I am saying is it depends on the hardware? Or how the game was made?

Link to comment
https://linustechtips.com/topic/972796-opengl-vs-directx/#findComment-11767098
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×