Game Development Community

Is T&L Supported?

by Neil Marshall · in Torque Game Engine · 08/28/2001 (5:43 pm) · 3 replies

I was just wondering... does the V12 engine support T&L, I mean I know it already supports Trees and Landscapes but I was wondering about the other T&L.

Sorry, I had to.

#1
08/29/2001 (8:23 am)
Yes,

--Rick GG
#2
08/30/2001 (2:26 am)
Rick's reply is obviously the authoritative one here, but I thought I'd expand on it.

V12 uses OpenGL (to the best of my knowledge), which has always supported hardware T&L where available, without code changes. It is possible to write code which circumnavigates the T&L in OpenGL. Some use lightmaps or vertex colouring rather than OpenGL vertex lighting, but the transform stage is usually completely left to OpenGL.

Cheers,

Doug. EnkiSoftware Limited
#3
08/30/2001 (5:05 pm)
Basically this is what happens. You (the developer) feeds OpenGL vertex data (and other things) and OpenGL will decide for itself if it can use hardware to do lighting and transforms. So, basically, when you make the call to glRotate...() it already knows what the OpenGL driver that is running supports, and it will either do it in software, or pass that instruction to the 3d board.