Sign in to follow this  
Thanhda

can you make OGL games in XBox?

Recommended Posts

Thanhda    100
I'm more of a DX programmer, but i was told DX is not really too cross platformed. I was told DX can only be compile for Windows and Xbox, and OGL works on both, so this leaves me with one question, can OGL work on Xbox, i'm guessing no, but i dont know.

Share this post


Link to post
Share on other sites
serratemplar    1656
XBox is all DX7, and to develop for it (legally) you have to get the Okay from Microsoft, get their Dev Kit, and then you can go to work.

Check the Articles section (up above)...there's a good amount on XBox dev there.

Share this post


Link to post
Share on other sites
hplus0603    11356
If you get an X-box development kit, you could then mumble to your Microsoft and NVIDIA contacts about really wanting the OpenGL API, and maybe something would be available. However, there is nothing publicly available related to OpenGL on X-box.

Also, it doesn't really matter which API you use; doing proper factoring of your objects and calling DX instead of OGL isn't that much extra work, compared to getting a full game to run (and getting it to run in 64 MB with a shared framebuffer, from a DVD drive!)

Last, the DX that's on the X-box is not exactly like DX8, because it takes advantage of the fact that everything's a shared set of memory. Also, OpenGL is significantly less able to take advantage of the special X-box architecture, so you'd probably be less efficient than if you coded to the custom DirectX API.


@Edward: strange. DX8 was the FIRST version of DX I could stand. Before that, GL was clearly superior. With DX9, they're about on par (some give, some take, each API is different).

Share this post


Link to post
Share on other sites
Ravyne    14300
I don't have any inside information but OGL, practically speaking, almost HAS to be available. MS is of course touting DX game development, but theres no way they're turning down killer apps simply because they use openGL.

I could be wrong, but it would be a horrible business decision for MS to make. They make their money from game sales so impeding developers is not a wise decision for the bottom line.

Share this post


Link to post
Share on other sites
CapnBry    122
I can say with 100% certainty: there is no OpenGL support on the development or retail xbox console, nor are there any hardware OpenGL libraries released with the XDK to date. A software OpenGL implementation could be written, but I've never seen one.

And jakpandora is right, the XBOX DirectX is a superset of DX8.

Share this post


Link to post
Share on other sites
technomancer    199
The question would be how is id doing doom 3 on the xbox ? are they using a new DX renderer, i doubt it i'm sure M$ made a consession on their part and has allowed them to implement some form of OGL mini driver.

Share this post


Link to post
Share on other sites
serratemplar    1656
Eeeep, my bad. DX8 is right. Don't know what I was thinking.

But like I said, you gotta get MS's official okay or you *cannot* legally produce games for the xbox (go see the xbox dev info site), so as you might guess there's *no way* MS would allow OpenGL to touch their hardware. Just the way of it, sadly.

Share this post


Link to post
Share on other sites
CapnBry    122
Quote:
Original post by technomancer
The question would be how is id doing doom 3 on the xbox ? are they using a new DX renderer, i doubt it i'm sure M$ made a consession on their part and has allowed them to implement some form of OGL mini driver.

Doom 3 for the PC already has 3 or more render paths at release, if I remember correctly. Replacing VBOs and/or VAs with standard DX8 DrawElements calls shouldn't be all that tough, working with the different clip space coordinates is trivial, and the NV30 path shaders (the XBOX has an NV25, with some NV30 features) can probably be used with minimal modifications. The XBOX GPU and DX can also do signed stencil buffers in one pass (as opposed to the 2-run emulation NV2x parts use normally) which, if I also remember correctly, is heavily used in D3's shadows.

I wouldn't say the port is trivial, but it would probably be easier than providing validated OpenGL support on the console (in the NV driver, and the MS OGL library) and in the quality labs (titles spend a lot of time undergoing profiling and validation up at MS after we're done writing it).

Share this post


Link to post
Share on other sites
thedigga007    135
You can write OpenGL programs on the xbox, you have to use OpenXDK (google it), its an open source project that allows you to use OpenGL bindings through a modified version of SDL (google that too). Otherwise you have to use the xbox SDK which DOES NOT support OpenGL but instead a DirectX 8 derivation.

Share this post


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

Sign in to follow this