Transverse-Pattern Formation in Photorefractive Optics