Starting with WIndows XP if you have Do3D set in delphiX you will find you get errors with floats. Set maths precision to double and the porblem is solved.

It took me ages to work this out. We started getting this problem with our maths software quite a few years ago.

Put math into your uses section and set precions to double (can't remember exact code)