Max_Intersections

### 6.11.8 Max_Intersections

POV-Ray uses a set of internal stacks to collect ray/object intersection points. The usual maximum number of entries in these I-Stacks is 64. Complex scenes may cause these stacks to overflow. POV-Ray doesn't stop but it may incorrectly render your scene. When POV-Ray finishes rendering, a number of statistics are displayed. If you see `I-Stack Overflows` reported in the statistics you should increase the stack size. Add a global setting to your scene as follows:

     global_settings { max_intersections Integer }

If the `I-Stack Overflows` remain increase this value until they stop.