I still don't get it :) ...
Fragment of a discussion from Talk:Displacement Vector
Jump to navigation
Jump to search
I found I could speed up my PIF enormously through a combination of 2 things:
1) Using a Shadow-style 'projected' PIF that doesn't need trig except at the beginning/end to transform between fields
2) Doing the PIF over the sparse scans that I get from melee radar, and only interpolating at the end after I have determined between which two sparse scans the wave would hit.
The first technique knocks out all of the trig, and the second reduces the time of each PIF by ~4-8x. My gun now hardly even contributes to my runtime, which basically means that I could increase my kNN's 'K' by quite a bit if it improved the scores.