The Generative CAPP for Processing Optic Prisms