Easy... just take the x y and z position of one point and add it to the x y and z position of another point, then devide the result by 2...
MidX=(X1+X2)/2
MidY=(Y1+Y2)/2
MidZ=(Z1+Z2)/2
So the midpoint would be MidX,MidY,MidZ... If you needed to find a point 1/3 of the way between them, devide it by 3... 3/4 of the way, you would devide it by 3/4...
If you need to find the distance between the two points, then its...
sqrt((X1-X2)^2+(Y1-Y2)^2+(Z1-Z2)^2)
well... I hope that helps...
Do not thwart the way of the dragon. For thou tasteth like chicken.