Game Development Community

T2D OpenGL only?

by Bucko · in Torque Game Builder · 04/13/2005 (12:44 am) · 3 replies

I see some of the C++ changes/addition done by people is done in OpenGL. Will T2D support DirectX as well in the future to further complicate matter. Personally, I see no reason to add the complexity of DirectX support as well as it isn't available on Mac and Linux and would require an abstraction layer on top of Open GL / Direct X.
I am just curious what the plan is.

#1
04/13/2005 (12:54 am)
Directx support is there.
There was a packaging issue when they released it that did not have the d3d dll's in place.

If you compile the source yourself or take the 2 d3d files from the engine demo and put them in your project folder, d3d will become an option in your preferences.
#2
04/13/2005 (12:57 am)
DirectX is supported through abstracting it into other API's that the engine uses directly. For example, T2D implements D3D support by translating GL commands into their equivalent D3D commands. As long as you use the commands that the API uses, you shouldn't have much trouble.
#3
04/13/2005 (11:28 am)
Ah, this is next to perfect; The programmer can (more or less) treat D3D as if it doesn't exist.