| 2453 | 
  | 
 | 
| 2454 | 
  | 
Added automatic flushing to the output of total, except when the -r | 
| 2455 | 
  | 
(running subtotals) option is used. | 
| 2456 | 
+ | 
 | 
| 2457 | 
+ | 
Improved behavior of little-used -aw option, so that it avoids sea-level | 
| 2458 | 
+ | 
rise caused by adding its own estimate back into the ambient level remainder. | 
| 2459 | 
+ | 
It ended up being simple enough to derate the final average by the factor | 
| 2460 | 
+ | 
corresponding to average surface absorpition, thus removing the average | 
| 2461 | 
+ | 
from the final bounce estimate. | 
| 2462 | 
+ | 
 | 
| 2463 | 
+ | 
Introduced ies2rad upgrades by Randolph Fritz.  Randolph says it | 
| 2464 | 
+ | 
fixes the following problems: | 
| 2465 | 
+ | 
 | 
| 2466 | 
+ | 
        1. Generates correct Radiance geometry for spheres in 1995, 2002, | 
| 2467 | 
+ | 
        and 2019 IES files. | 
| 2468 | 
+ | 
 | 
| 2469 | 
+ | 
        2. Generates correct Radiance geometry for vertical cylinders that | 
| 2470 | 
+ | 
        are taller than they are wide. | 
| 2471 | 
+ | 
 | 
| 2472 | 
+ | 
        3. Ignores the file source ("File Generation Type") field in the | 
| 2473 | 
+ | 
        2019 version of the file, which would otherwise be incorrectly used | 
| 2474 | 
+ | 
        as an output multiplier. | 
| 2475 | 
+ | 
 | 
| 2476 | 
+ | 
    It also offers the following enhancements: | 
| 2477 | 
+ | 
 | 
| 2478 | 
+ | 
        1. Shape information is included in the .rad file comments. | 
| 2479 | 
+ | 
 | 
| 2480 | 
+ | 
        2. 1995, 2002, and 2019-version luminous opening geometry is | 
| 2481 | 
+ | 
        accounted for. | 
| 2482 | 
+ | 
 | 
| 2483 | 
+ | 
        3. The 2002 and 2019 IES file versions are recognized and | 
| 2484 | 
+ | 
        processed appropriately. | 
| 2485 | 
+ | 
 | 
| 2486 | 
+ | 
        4. I have made an attempt to do something intelligent with less | 
| 2487 | 
+ | 
        common "luminous opening" shapes in the 1995, 2002, and 2019 versions | 
| 2488 | 
+ | 
        of the standard, though I have not implemented any support for new | 
| 2489 | 
+ | 
        geometry; approximations are substituted and warning messages issued. | 
| 2490 | 
+ | 
        Unfortunately, this code is not tested, since I don't have any IES | 
| 2491 | 
+ | 
        files that use these shapes. | 
| 2492 | 
+ | 
 | 
| 2493 | 
+ | 
Added support for depth-of-field blurring in vwrays using -pd option. | 
| 2494 | 
+ | 
Also, made -c count work with vwrays -i, producing multiple samples | 
| 2495 | 
+ | 
per indicated pixel position.  At the same time, support for the -pd | 
| 2496 | 
+ | 
option was added to rtpict, which calls on vwrays for its samples. | 
| 2497 | 
+ | 
 | 
| 2498 | 
+ | 
Fixed issue with BSDFs that didn't obey reciprocity, where direct | 
| 2499 | 
+ | 
sampling wasn't following exactly with indirect sampling.  This was | 
| 2500 | 
+ | 
discovered and reported by Jon Sargent. | 
| 2501 | 
+ | 
 | 
| 2502 | 
+ | 
Created checkBSDF tool to test XML BSDF reciprocity and perform similar | 
| 2503 | 
+ | 
sanity checks. |