1. A method, comprising: assigning a priority to a ray data structure of a plurality of ray data structures based on one or more priorities, the ray data structure comprising properties of a ray to be traced from an illumination source in a three-dimensional image; identifying a portion of the three-dimensional image through which the ray passes; identifying a slave processing element associated with the portion of the three-dimensional image; and sending the ray data structure to the slave processing element.