MDK2 T&L explained by Bioware

Hardware

Golden Member
Oct 9, 1999
1,580
0
0
MDK2 has four major sections in the rendering code. The first is object transformation. This is where the object is translated and/or rotated from it's original location (this is just a local to world coordinate system change.) The second is camera transformation where the object is transformed into the camera's coordinate system (changing the coordinate system from a world to eye.) The third is the projection transformation where the object is projected to the screen (changing the coordinate system from eye to screen.) The fourth and final stage is the lighting where all the lights which affect the object are collected and applied to the object.

When T&L is disabled, stages 1,2 and 4 are done in software in the Omen engine. The only place where OpenGL is use (which may or may not be hardware) is in stage 3, the projection transformation. So with T&L disabled, most transforms and all lighting is done in the Omen engine.

When T&L is enabled, all 4 stages are done through OpenGL (hopefully with hardware). There are also several OpenGL specific optimizations such as display lists which help to improve performance with T&L on.

Under T&L, the lighting should be more precise, because we took certain shortcuts in the Omen engine to make it as fast as possible in software mode, but in most cases, you can barely tell the difference. As for number of light sources, the Omen engine can handle more than 8 light sources (which is usually the limit in current hardware designs) so in certain cases, the software version may be using more lights than the T&L version. As for tessellation, the models never change in either version. There is no further tessellation under T&L. So basically, the biggest thing you get with hardware T&L is a significant speed improvement."
 

WorldsEdge

Junior Member
Sep 4, 2000
23
0
0
Where did you get that article from? I would like to read more about it ;) What other games will be using TnL?
 

Hardware

Golden Member
Oct 9, 1999
1,580
0
0
It seems MDK2 is well programmed with T&L in mind not just a T&L hack.
So its the first true T&L enhanced game?
 

Wingznut

Elite Member
Dec 28, 1999
16,968
2
0
If it's "the first true T&L enhanced game", then T&L is truly sad.

The only thing enabling T&L does for MDK is add a few lighting effects. And even those are pretty sparce.

Afaik, there are no added polygons or anything else to bring out more detail. And if there is, you certainly cannot tell by looking at it.
 

Hardware

Golden Member
Oct 9, 1999
1,580
0
0
Hey Wingznut last defender of 3dfx!
When faster AND better gfx is nothing for you I cant help!