Tailoring Thermal Radiation from near Field to Far Field