In thermal manufacturing processes performed by a localized, sequentially moving heat source, simultaneous regulation of multiple thermal quality characteristics requires real-time control of the temperature field developed through the distributed heat input on the part surface. Such control of the thermal field to a desired distribution employs infrared sensing and feedback of the surface temperature hill, to modulate the torch power and motion in-process. The torch trajectory is guided in real time by an efficient optimization algorithm based on the concept of moving complexes. This distributed-parameter control strategy is developed using a numerical simulation model of thermal processing, and its performance is evaluated experimentally in heat treatment of thin stainless steel plates. The thermal controller is applied to the new scan welding process, in which it drives the torch in a reciprocating motion along the weld, yielding a uniform and smooth temperature field, and thus a favorable material structure and mechanical properties. Application of such thermal control to various other material processing methods is also investigated.