In this paper, we present the results and methods used to simulate the x-ray deposition and the light optical transport in x-ray detectors composed of scintillating and photodiodes arrays. Through this work, we have identified the main contributors of crosstalk and validated the model results through experimental measurements. We have assessed and quantified the effects of the reflectors, the pixel geometry and dimensions, the optical coupler between the scintillating material and the silicon photodiodes and optimized the design in order to meet the requirements of detector image quality in computer tomography. We describe some of the methods and techniques used to determine the optical properties of the material components in the simulation.