A setup for the generation of arbitrary vector beams is proposed. The setup mainly consists of a spatial light modulator (SLM), an angle-adjustable polarization beam splitter modulator, and a spatial filtering imaging system. Compared with the system using a birefringent beam splitter with a non-adj