A camera for texture mapping by X-ray diffraction