1222 |
|
Fixed bug in glarendx for dgr calculation with sources behind view. |
1223 |
|
|
1224 |
|
Added -p option to histo to print percentages/percentiles r.t. counts. |
1225 |
+ |
|
1226 |
+ |
Added a source occluder cache to accelerate shadow testing. This |
1227 |
+ |
can save up to 50% of the calculation time in scenes with many |
1228 |
+ |
light sources, especially ones containing large occluders. This |
1229 |
+ |
optimization may be tuned or switched off with the -DSHADCACHE=N |
1230 |
+ |
compile switch, where N is the resolution of the shadow cache, or |
1231 |
+ |
0 to disable it. Since this is purely a time vs. memory trade-off, |
1232 |
+ |
I decided not to make it a new command-line option. (We already |
1233 |
+ |
have plenty.) |