A practical optical designing method for and some optical simulation results of a toroidal surface heliostat with the two axis spinning-elevation sun tracking are presented in this paper, which will be used as a concentrator for a hydrogen generation system. As a prototype, this heliostat has a compound toroidal surface, which is composed of the 16 same toroidal mirror facets of 1 meter width and 1 meter height with the focal length 7.4689 meters, and the design concentration power of the heliostat is 6 kilowatts. The sampling ray-tracing method including the solar disk effect is introduced and used to analyze the optical performance of the heliostat. The optical errors of the heliostat and the attenuation of reflected solar irradiance in the air have not been taken into account yet.