A magnetic tracking system includes a first set of magnetic field generators configured to produce a first magnetic field having a first shape within a three dimensional region and at least a second set of magnetic field generators configured to produce a second magnetic field having a second shape within the three dimensional region. The system also includes a computing device configured to compute a position of a sensor within the three dimensional region based on the first and second magnetic fields being detected by the sensor.