Thanx, i think i know where i need to change it but im just guessing again lol

towards the bottom of the code it is using dimension to size the bitmap and to calculate the edges, i have had a quick try at changing this to the distance of the required points, but it didnt work very well.. i will try again soon and any input will be very welcome ..

On another note, do you know where i can find some maths for calculating the different light types (Point light, spot light, etc)?

hehe i know what you mean it seems spare time is getting more and more rarer lol