Previous | Next --- Slide 26 of 76
Back to Lecture Thumbnails

It was discussed in class that this method can encounter problems when trying to parallelize the algorithm. If ray n is running on one thread and intersects the primitive, the primitive stores the information for ray n in the mailbox. But if ray m is on another thread and intersects the primitive as well, it can replace the information in the mailbox, which would allow ray n to re-intersect when it shouldn't.