Game Development Community

Current DirectX

by Shon Gale · in Torque Game Engine · 01/21/2008 (6:48 am) · 5 replies

I would like to know how to replace the directx8 in the lib directory in TGE to the current DirectX (9.0c) from the November 2007 DirectX SDK.
Any help is greatly appreciated!

#1
01/21/2008 (7:40 am)
You can not replace the lib just like that. You must rewrite everything related to DX8 in the sources to work with DX9
#2
01/21/2008 (11:31 am)
Ouch that could be substantial, but that's what I was afraid of. It seems to me that the newer DirectX has much finer rendering and doesn't look grainy like TGE looks in DirectX 8 mode. Someone must have replaced it by now. TGE works best it seems in OpenGL rather than the default DirectX, but the problem is a lot of ATI cards don't support OpenGL very well if at all, so I still have to offer the both options even if it is not optimal.
#3
01/21/2008 (11:53 am)
I posted a link to this in your other topic. Not sure which 9.0c SDK release it works with, though.
#4
01/21/2008 (12:05 pm)
Something that your not taking into consideration though is that DirectX within TGE is nothing more then a wrapper to the OpenGL side of it. Its not a TRUE directx render. Its just a system that redirects the calls to there correct opengl calls (aka a wrapper).

If you want true DirectX support of any kind its going to take some work and alot of code re-writing.
#5
01/21/2008 (12:26 pm)
@Oliver: That explains a lot. I sure appreciate your response to my question. Makes me kind of stuck, but that's OK, it is just one limitation of TGE and since I own TGEA I can play with the current DirectX all I want.
@David: Thanks for the link that is a different reality than Oliver's reply. Is he correct?
Thanks folks for the lively repartee.