| 1388 |  |  | 
| 1389 |  | Made internal change to tone-mapping library to use structure pointer | 
| 1390 |  | rather than stack, making code re-entrant and more up to modern standards. | 
| 1391 | + |  | 
| 1392 | + | Added -pd option to handle depth-of-field blur in rpict.  This requires | 
| 1393 | + | that the view directon (-vd option) include focal distance information, | 
| 1394 | + | which is now preserved by the various view file routines, and reported | 
| 1395 | + | by the vwright command. | 
| 1396 | + |  | 
| 1397 | + | Added DBLUR variable to ranimate and pmdblur script to handle simultaneous | 
| 1398 | + | motion and depth-of-field blurring.  Thanks to Visarc for funding this work. | 
| 1399 | + |  | 
| 1400 | + | Added setting of focus distance in rvu ("focus" command) and rholo | 
| 1401 | + | ('f'/"frame" command). | 
| 1402 | + |  | 
| 1403 | + | Changed default remote shell in ranimate to "ssh" rather than "rsh", | 
| 1404 | + | which has been abandoned on most Unix systems due to security issues. | 
| 1405 | + |  | 
| 1406 | + | Fixed behavior of source primitive using illum with no alternate | 
| 1407 | + | material.  These now become transparent so one can see the sky or | 
| 1408 | + | light-probe background for use in image-based lighting.  Previously, | 
| 1409 | + | the user needed to specify the background glow as the alternate | 
| 1410 | + | material for a distant illum source to behave properly.  (This still | 
| 1411 | + | works.) | 
| 1412 | + |  | 
| 1413 | + | Fixed some minor problems and inconsistencies with 16-bit/channel | 
| 1414 | + | TIFF i/o in ra_tiff. | 
| 1415 | + |  | 
| 1416 | + | Created mksource program to generate distant sources for improved | 
| 1417 | + | image-based lighting with light probes. | 
| 1418 | + |  | 
| 1419 | + | Changed ambient calculation so that -ad will not limit recursion | 
| 1420 | + | depth, and a minimum of 27 samples will be sent out for each stored | 
| 1421 | + | ambient value, or 3 samples if -aa is 0 (caching off). | 
| 1422 | + |  | 
| 1423 | + | Added -oM option to rtrace to report material (rather than modifier) | 
| 1424 | + | for cases where actual material is aliased or further up modifier chain. | 
| 1425 | + |  | 
| 1426 | + | Rearranged the way ray contributions are computed so that it might be | 
| 1427 | + | possible to use rtrace to derive daylight coefficients and optical | 
| 1428 | + | transfer functions.  The new -oTW option of rtrace produces color | 
| 1429 | + | contribution weights for each ray, which combined with the -ti (or -tI) | 
| 1430 | + | option permits the contribution of selected surfaces or sources to | 
| 1431 | + | be determined.  Using the -oTW option, one should also specify | 
| 1432 | + | options "-dt 0 -aa 0 -as 0" for optimal results.  In particular, | 
| 1433 | + | one cannot expect reasonable tallies with -ab >= 1 and irradiance | 
| 1434 | + | caching on (-aa > 0). | 
| 1435 | + |  | 
| 1436 | + | The same code modifications included a change to the indirect computation | 
| 1437 | + | with caching switched off (-aa 0).  Whereas before, the number of secondary | 
| 1438 | + | rays after the first bounce were half of the previous generation, they are | 
| 1439 | + | now determined by the surface reflectance, making for a better and faster | 
| 1440 | + | calculation.  It should now be possible to compute many bounces with -aa 0, | 
| 1441 | + | which used to be prohibitively expensive. |