|  |  | Mike Raiford schrieb:
> Curious, but why is this? Are there any higher sample numbers that give 
> a hexagonal shape?
No, these are the only ones (at least at present).
What POV-Ray actually does is use the largest of several hard-coded 
patterns (plus jitter) that fits the target count, then add some 
arbitrary points to get the target count.
The hard-coded patterns are a 4-sample pattern as well as a 7-sample, 
19-sample and 37-sample pattern. Except for the 4-sample pattern, all of 
these fit nicely on a triangular grid to form a hexagon, which is what 
gives you a hexagonal bokeh if you exactly match these numbers.
The additional random points are then taken from a square grid, which is 
what leads to the square bokeh typical for other sample counts.
 Post a reply to this message
 |  |