# Interpolation

**URL:** <https://forum.kirupa.com/t/interpolation/179934>\
**Category:** open source\
**Created:** [February 24, 2006, 1:09am UTC](https://forum.kirupa.com/t/interpolation/179934 "2006-02-24T01:09:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathew\_er](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@mathew\_er](https://forum.kirupa.com/u/mathew_er)\
**Post date:** [February 24, 2006, 1:09am UTC](https://forum.kirupa.com/t/interpolation/179934/1 "2006-02-24T01:09:43Z")

</div>

I was playing with this today and I tought it is worth sharing… Im plannig to extend it with bilinear interpolation if I get some time tommorow so it could fill a four-sided polygon. I ment to do it as shading algorythm for a 3D engine, so if you will have any suggestions for optimization, they are very welcome 🙂

It keeps on about 20 milliseconds per line on this 1GHz machine, thats a lot ☹
