Game Development Community

TSE & DirectX9 / OpenGL layer

by Chris "Tricky" Cowherd · in Torque Game Engine Advanced · 10/06/2005 (6:15 pm) · 3 replies

I'm new to Torque so hopefully I don't sound to stupid :)

In TGE it looks like it uses OpenGL calls with a DirectX translation layer to translate OpenGL calls to DirectX.

The site says something about TSE is DirectX9 only at the moment with OpenGL later.

I'm just curious if the TSE rendering code has been rewritten to go directly through DirectX and an OpenGL layer will be added on later. Kinda the reverse of the TGE.

#1
10/06/2005 (10:40 pm)
No, the architecture supports most graphics APIs directly; no silly translation layers.
#2
10/06/2005 (10:52 pm)
You might of read something old from an earlier experimentation with shaders in TGE...
#3
10/07/2005 (1:07 am)
Its not quite the reverse, as Ben says. What Ben, maybe should have said is they have a graphics API abstraction layer. This is what makes directi API calls (be it D3D, OGL etc.). The thing is it should still make direct calls to OpenGL when its added.