Is OpenGL better then DirectX?,
Members - Reputation: 2076
Posted 29 September 2001 - 04:39 AM
Don''t do that. Don''t come into an OpenGL forum to incite something. If you have a legit question, ask it, but retain your objectivity.
IMHO, it all boils down to choice. One API is better for you than another, but not necessarily better. And in any case, DirectX and OpenGL are not what you''re really comparing; you want to put DirectGraphics and OpenGL side-by-side.
Members - Reputation: 372
Posted 29 September 2001 - 05:36 AM
Feature OpenGL DirectX 8
Vertex Blending N/A Yes
Multiple operating systems Yes No
Extension Mechanism Yes Yes
Development Multiple-member board Microsoft
Thorough specification Yes No
Two-sided lighting Yes No
Volume Textures Yes No
Hardware independent Z-buffers Yes No
Accumulation buffers Yes No
Full-Screen Antialiasing Yes Yes
Motion Blur Yes Yes
Depth of Field Yes Yes
Stereo Rendering Yes No
Point-size/line-width attributes Yes No
Picking Yes No, but has utility functions
Paramteric curves and surfaces Yes No
Cache geometry Display lists Vertex buffers
Software emulation Hardware not present Lets application determine
Interface Procedure calls COM
Updates Yearly ARB or extensions Yearly update
Source-code availability Sample implementation Starting point in Microsoft DDK
This list probably isn''t complete, and it seems biased towards OpenGL (because it''s from an OpenGL book), but both APIs are equally as useful and powerful. Many great games have been written with each API.
Posted 29 September 2001 - 11:06 AM
There are a few errors in your list:
* Vertex Blending is available in OpenGL through an extension
* The extension mechanism is not available under DX8
* Cache geometry: under OpenGL you can choose between display lists and vertex arrays. The OGL version of D3D''s vertex buffers are vertex arrays.
* Software emulation under OpenGL: The application can determine it, when properly designed.
Members - Reputation: 142
Posted 30 September 2001 - 03:30 AM
So tell me, DXOWNS, is an_apple > an_orange ?
DirectX = input, sound, networking, music synthesis and generation, and graphics (in DX7 both 2D and 3D).
OpenGL = 3D graphics (Please don''t tell me "You can do 2d in OpenGL." Ortho projection is NOT 2d; it''s 3D that isn''t perpective correct, aka Parallel Projection. I know you can make a 2d game, but the graphics are technically still 3d. I know it''s a fine point, but it bothers me.)
Now I guess what you really MEANT was "DirectX Graphics OWNS." For true 2d, DDraw7 is the best option IMHO (unless you want to work in 320 x 240 x 8, in which case...). D3D Retained Mode was just horrible. D3D Immediate Mode was just a little behind OGL. Now, DX8 Graphics really is comparable to OpenGL, so it''s now just a matter of preference.
Members - Reputation: 122
Posted 30 September 2001 - 03:38 AM
Oh and one last thing, it seems that even the most crappy video cards have some support for basic OpenGL functions. I used to work at this department at college, and they got new computers recently, from Dell. The video card is an integrated 4 meg. Yes, you read correctly To my huge surprise, the thing was able to run NeHe's textured cube demo in full screen just fine (didn't work windowed though). So apparently manufacturers add some OpenGL support even to the crappiest cards out there.
Edited by - Supernova on September 30, 2001 10:44:58 AM
Posted 30 September 2001 - 03:46 AM
Perhaps some of the GDNet staff should do an IP match ? Could be interesting to know...
Members - Reputation: 122
Posted 30 September 2001 - 04:07 AM
Perhaps some of the GDNet staff should do an IP match ? Could be interesting to know... "
Taking it to the extreem there eh? Sometimes people on these boards take things too seriously. Lighten up seesh. In most ''flame'' wars, others such as myself learn a lot, may it be learning some lies or the truth. Personally I never knew OpenGL supported as much as it does as stated in the list by Aprosenf.
All in all, calm down. Get some air Mr/Miss AP.
Members - Reputation: 1323
Posted 30 September 2001 - 06:37 AM
Also, I don''t see a need to continue. Aprosenf should have answered *ALL* questions with the stats that he posted... You can''t argue with the figures.