The great DX vs GL debate

The place for all kinds of software for all kinds of operating systems.

Moderator: Dposcorp

Re: The great DX vs GL debate

Postposted on Sat Aug 04, 2012 6:46 pm

Jason181 wrote:
Game_boy wrote:Most games are developed for consoles first. Since PS3 can't use Direct3D, why don't they already have a GL port of everything anyway?


I could be mistaken, but I don't think PS3 supports OGL calls? PS3 does support OpenGL ES, evidently. PS3's hardware is a pretty far removed from x86 PCs though. Some of the programming is bare to metal to eek out all the performance possible.

On the CPU side, the GPU is an Nvidia 7800 (I think, I might have the wrong model number).

Most games these days are Unreal 3 engine anyways. So if Epic ports their engine to Linux, then it should be trivial to get the games to work on it.
BobbinThreadbare
Graphmaster Gerbil
Silver subscriber
 
 
Posts: 1041
Joined: Sun Mar 20, 2005 1:47 am
Location: Champaign, IL

Re: The great DX vs GL debate

Postposted on Sat Aug 04, 2012 7:00 pm

I think something this whole debate is missing is that a vast amount of the effort that goes into 3d games is not related to whether you use opengl or dx. Models, textures, level design, sound, AI, story, cut scenes etc. I don't actually work in the gaming industry but I'd have thought with all the other stuff that goes into games the cost savings of only doing one code path Vs doing two is relatively small, even when you allow for having to do extra testing.

There's not really any need for an either / or choice about dx and opengl so the tiny advantages one system might have over another don't really matter that much.
Fernando!
Your mother ate my dog!
cheesyking
Minister of Gerbil Affairs
 
Posts: 2221
Joined: Sun Jan 25, 2004 6:52 am
Location: That London (or so I'm told)

Re: The great DX vs GL debate

Postposted on Sat Aug 04, 2012 7:29 pm

cheesyking wrote:I think something this whole debate is missing is that a vast amount of the effort that goes into 3d games is not related to whether you use opengl or dx. Models, textures, level design, sound, AI, story, cut scenes etc. I don't actually work in the gaming industry but I'd have thought with all the other stuff that goes into games the cost savings of only doing one code path Vs doing two is relatively small, even when you allow for having to do extra testing.

There's not really any need for an either / or choice about dx and opengl so the tiny advantages one system might have over another don't really matter that much.

I agree, maintaining setups for different platforms is probably tougher than supporting DX and OGL.
Core 2 Duo E6300, MSI P45 NEO-F, Club 3D GTX 260, 4Gb DDR2-800Mhz, Audigy X-Fi Fatal1ty Champ1on ed., 0.5Tb+1Tb Seagate Barracuda 7200.12, 630W AXP, Samsung SyncMaster BX2450, ViewSonic VP171b
Madman
Minister of Gerbil Affairs
 
Posts: 2317
Joined: Tue Apr 01, 2003 3:55 am
Location: Latvia

Re: The great DX vs GL debate

Postposted on Sun Aug 05, 2012 8:20 pm

BobbinThreadbare wrote:On the CPU side, the GPU is an Nvidia 7800 (I think, I might have the wrong model number).


The different CPU and the paltry amount of shared memory is what I was referring to, but I'd imagine they'd also need to make changes from OGL ES to OGL. Those are such huge differences, that I doubt they'd take anything from the PS3 and attempt to adapt it to PC.

As the article states, they started out at 6 fps on Linux. I suspect that even if the engine was ported, there would be considerable work to get each game working and performing properly. Most developers probably aren't going to do that.
Jason181
Gerbil First Class
Silver subscriber
 
 
Posts: 179
Joined: Thu May 19, 2005 6:23 pm
Location: Oregon

Re: The great DX vs GL debate

Postposted on Sun Aug 05, 2012 8:34 pm

Jason181 wrote:PS3 does support OpenGL ES, evidently. PS3's hardware is a pretty far removed from x86 PCs though. Some of the programming is bare to metal to eek out all the performance possible.


PS3 does support OpenGL ES, but my understanding is that very few games actually utilize OpenGL on the PS3. It is more there for prototyping. There is a separate low-level graphics library, and that is what most engines build on top of for the PS3.
codedivine
Gerbil Elite
Silver subscriber
 
 
Posts: 700
Joined: Sat Jan 24, 2009 7:13 am

Re: The great DX vs GL debate

Postposted on Mon Aug 06, 2012 5:16 am

Jason181 wrote:As the article states, they started out at 6 fps on Linux. I suspect that even if the engine was ported, there would be considerable work to get each game working and performing properly. Most developers probably aren't going to do that.


Porting to a different OS is very different from porting between OGL and DX.

Without wanting to derail this thread too much what I see most in the Valve linux blog you're quoting is that writing your code to run on multiple platforms helps you write better code. It's has to better segmented into reusable blocks and gives you an opportunity to see whether a bug is in to your code or in the platform you're running on.
Fernando!
Your mother ate my dog!
cheesyking
Minister of Gerbil Affairs
 
Posts: 2221
Joined: Sun Jan 25, 2004 6:52 am
Location: That London (or so I'm told)

Re: The great DX vs GL debate

Postposted on Mon Aug 06, 2012 2:06 pm

cheesyking wrote:Porting to a different OS is very different from porting between OGL and DX.


What made you think I don't know that? In this case though, they did both. In pretty much every game that's going to be the case with porting, since they use DirectX.

The part that's probably confusing is that I only quoted part of his post, but the portion you're reading is referring to this comment:

BobbinThreadbare wrote:Most games these days are Unreal 3 engine anyways. So if Epic ports their engine to Linux, then it should be trivial to get the games to work on it.
Jason181
Gerbil First Class
Silver subscriber
 
 
Posts: 179
Joined: Thu May 19, 2005 6:23 pm
Location: Oregon

Re: The great DX vs GL debate

Postposted on Mon Aug 06, 2012 3:42 pm

Jason181 wrote:
cheesyking wrote:Porting to a different OS is very different from porting between OGL and DX.


What made you think I don't know that? In this case though, they did both. In pretty much every game that's going to be the case with porting, since they use DirectX.


Sorry, it's just that as I read it you were bringing up figures about porting windows to linux in a thread about DX and OGL.

Also technically in this L4D2 linux case the engine already had support for OGL they just hadn't exposed it to windows users before so that 6fps for the initial port probably had far more to do with them needing to rewrite their memory allocation stuff than problems with supporting OGL. Source engine needs OGL support to work on macs anyway.
Fernando!
Your mother ate my dog!
cheesyking
Minister of Gerbil Affairs
 
Posts: 2221
Joined: Sun Jan 25, 2004 6:52 am
Location: That London (or so I'm told)

Previous

Return to General Software

Who is online

Users browsing this forum: No registered users and 6 guests