Additional speedup's for the Tiny 3D Engine:

Wednesday, 9 April, 2003 16:04

After I implemented half of my list of optimization possibilities, I thought I could soon run out of speedup techniques.

But in the last days new methods came to my mind and they where difficult to implement, but now the bottleneck of the engine has become significantly faster.

Matrix multiplication now doesn't need to transpose a matrix anymore and the resulting matrix is no longer copied to temporary location. Also some multiplication there as well as for transforming points where made redundant.

To measures the performance increase, I made some benchmarks:

(this and last post's speedup's involved)

lowest occurring framerate: + 22,18 %

highest occurring framerate: + 40,03%

There are still things left to optimize, some of them I expect to have a similar impact on framerate.