Extensive changes to enable rtrace -oTW option for tracking ray contributions
Corrected Gaussian reflectance model normalization (cosine factor)
Continued ANSIfication. There are only bits and pieces left now.
Created proper prototypes for function pointers and included missing headers
Returned old behavior with flat surfaces and improved documentation
Numerous bug fixes in new mesh code
Made errno checking explicit after math calls to avoid spurious warnings
Changed call order for proper function of two-sided, textured surfaces
Replaced inline copyright notice with #include "copyright.h"
Changes and check-in for 3.5 release Includes new source files and modifications not recorded for many years See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release
switched to faster table-lookup for sin() and cos() functions
changed code to iterate until specular sample succeeds (MAXITER)
fixed problem with back side normal computation for ambient()
added texturing to ambient value computation using extambient()
added isflat() macro and effective ray distance for mirror reflection
added -bv option for back face visibility (normally on)
made mixtures work with materials
minor compiler warning fixes
removed approximation to Fresnel reflection, since the direct component was not being calculated accordingly (BRDF not bidirectional) changed BRDTfunc arguments and operation, fixed one or two bugs there also
portability fixes (removed gcc warnings)
improved specular component calculation
fixed comments in header
minor optimization
fixed normalization of transmitted direct component
made computation of transmitted specular slightly more efficient
fixed screwed-up normalization in sample generation
changed effect of perturbation and roughness on transmission
bug fixes in specular transmission
reinstated random testing of specular threshold
reinstated Fresnel factors for roughened surfaces
corrected normalization of light source highlights
fixed bug that caused ambient to be overcounted for polished surf's changed use of Fresnel correction so it will only affect polished surf's
precautionary test before accessing r->ro member
bug fixes and removed handling of perfectly smooth surfaces
changed urand() call to frandom() for specular threshold testing
changed default values and handling of specthresh
finally added sampling of transmitted specular
improved safety measures for grazing angles
added jittering to specular threshold test
added specular jitter and threshold controls
fixed semi-infinite loop bug
changed direct calculation only to widen hightlight for flat surfaces
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.