   Finding a point in 3d space given an origin a direction and a distance
  Hi there i am trying to figure out how to get a point given an origin a direction and a distance.To be more clear this is the scenarioI am using MOgre and i have a camera and i have a target i want the Camera to rotate around the Target so my rationality was to have the target as the origin and have its current direction the direction to witch the camera is on and have a distance for zoom.I am just really rather unsure of what kind of math is needed and or even how to do it.So i am looking for some direction and abit of help if any of you have the time to spare.Thanks and Regards Jouei.   
  If you have an origin O, a direction D and a distance d, then:P = O + D * dD must be normalized, that is its length must be 1. If you don't already have arithmetic operators, they are not hard to implement. vector + and - and vector/scalar * and / simply are applied for each component.   ;  To add on, if you're not familiar with normalizing vectors, you simply divide each element of the vector by the vector's magnitude.  For example, with a 2D vector (3 4) (as in, +3 in the x direction, +4 in the y)Magnitude = square root of (3^2 + 4^2) (notice that in 2d, this is the hypotenuse of the triangle formed by the elements, so pythagorean theorem works here, but the same can be done for a 3d vector: sqrt of (x^2 + y^2 + z^2).Back to the example, magnitude of (3 4) is 5, so to normalize the vector, the elements become (3/5 4/5).  Test if you want to make sure the new magnitude is 1.The good news is most libraries dealing with vectors already have a .normalize() method or something similar.  The XNA Vector2 and Vector3 classes have it (and a great linear interpolation method as well).   ;  Ahh thank you bolth very much i do really appreciate it.   