ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/ambcomp.c
Revision 2.85 - (view) (download) (annotate) - [select for diffs]
Tue May 14 17:39:10 2019 UTC (5 years, 5 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 2.84: +1 -427 lines
Diff to previous 2.84 , to selected 2.12
Stripped out code related to old (pre-Hessian) ambient calculation

Revision 2.84 - (view) (download) (annotate) - [select for diffs]
Tue Feb 26 00:37:54 2019 UTC (5 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.83: +3 -1 lines
Diff to previous 2.83 , to selected 2.12
Inserted safety valve to shut off super-sampling when ad drops below 64 samples

Revision 2.83 - (view) (download) (annotate) - [select for diffs]
Tue Nov 13 19:58:33 2018 UTC (5 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.82: +12 -11 lines
Diff to previous 2.82 , to selected 2.12
Added -orRxX options to rtrace for VR rendering

Revision 2.82 - (view) (download) (annotate) - [select for diffs]
Thu Apr 12 20:07:09 2018 UTC (6 years, 7 months ago) by greg
Branch: MAIN
CVS Tags: rad5R2
Changes since 2.81: +8 -8 lines
Diff to previous 2.81 , to selected 2.12
Further refinement on variance estimate

Revision 2.81 - (view) (download) (annotate) - [select for diffs]
Thu Apr 12 18:02:45 2018 UTC (6 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.80: +15 -13 lines
Diff to previous 2.80 , to selected 2.12
Reduced bias introduced by ambient super-sampling

Revision 2.80 - (view) (download) (annotate) - [select for diffs]
Wed Apr 11 17:05:59 2018 UTC (6 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.79: +1 -2 lines
Diff to previous 2.79 , to selected 2.12
Removed unused variable

Revision 2.79 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 00:52:35 2018 UTC (6 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.78: +1 -20 lines
Diff to previous 2.78 , to selected 2.12
Removed infrequently useful and problematic code

Revision 2.78 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 00:51:51 2018 UTC (6 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.77: +8 -2 lines
Diff to previous 2.77 , to selected 2.12
Attempt to fix issue with low-angle ambient through trans and the like

Revision 2.77 - (view) (download) (annotate) - [select for diffs]
Fri Apr 21 16:07:29 2017 UTC (7 years, 6 months ago) by greg
Branch: MAIN
CVS Tags: rad5R1
Changes since 2.76: +9 -5 lines
Diff to previous 2.76 , to selected 2.12
Fixed issue where ambient super-samples were being left off deep ray trees

Revision 2.76 - (view) (download) (annotate) - [select for diffs]
Thu Jan 26 16:46:58 2017 UTC (7 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.75: +3 -3 lines
Diff to previous 2.75 , to selected 2.12
Fixed bug in scenes with zero octree size

Revision 2.75 - (view) (download) (annotate) - [select for diffs]
Sat Oct 15 14:54:39 2016 UTC (8 years ago) by greg
Branch: MAIN
Changes since 2.74: +4 -4 lines
Diff to previous 2.74 , to selected 2.12
Increased minimum sampling spacing slightly -- rejection still less than 1%

Revision 2.74 - (view) (download) (annotate) - [select for diffs]
Fri Oct 14 19:15:34 2016 UTC (8 years ago) by greg
Branch: MAIN
Changes since 2.73: +10 -6 lines
Diff to previous 2.73 , to selected 2.12
Tweaked sample collision test to use 1/10th of ambient division size

Revision 2.73 - (view) (download) (annotate) - [select for diffs]
Fri Oct 14 00:54:21 2016 UTC (8 years ago) by greg
Branch: MAIN
Changes since 2.72: +40 -9 lines
Diff to previous 2.72 , to selected 2.12
Fixed regression in genBSDF affecting Klems normalization

Revision 2.72 - (view) (download) (annotate) - [select for diffs]
Wed Mar 16 15:43:04 2016 UTC (8 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.71: +2 -2 lines
Diff to previous 2.71 , to selected 2.12
Lowered threshold for which cache values to include corral

Revision 2.71 - (view) (download) (annotate) - [select for diffs]
Tue Mar 15 20:35:41 2016 UTC (8 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.70: +2 -2 lines
Diff to previous 2.70 , to selected 2.12
Enabled ambient cache corral at all levels

Revision 2.70 - (view) (download) (annotate) - [select for diffs]
Thu May 21 05:54:54 2015 UTC (9 years, 5 months ago) by greg
Branch: MAIN
CVS Tags: rad5R0
Changes since 2.69: +2 -2 lines
Diff to previous 2.69 , to selected 2.12
Made axis randomization optional in getperpendicular()

Revision 2.69 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 05:26:28 2014 UTC (9 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.68: +2 -11 lines
Diff to previous 2.68 , to selected 2.12
Improved behavior of anisotropic reflections

Revision 2.68 - (view) (download) (annotate) - [select for diffs]
Thu Oct 23 18:19:14 2014 UTC (10 years ago) by greg
Branch: MAIN
CVS Tags: rad4R2P2
Changes since 2.67: +3 -3 lines
Diff to previous 2.67 , to selected 2.12
Fixed floating-point error under Windows caused by cos^2 + sin^2 > 1

Revision 2.67 - (view) (download) (annotate) - [select for diffs]
Fri Oct 17 20:47:59 2014 UTC (10 years ago) by greg
Branch: MAIN
Changes since 2.66: +1 -2 lines
Diff to previous 2.66 , to selected 2.12
Removed unused variable

Revision 2.66 - (view) (download) (annotate) - [select for diffs]
Thu Sep 4 09:09:08 2014 UTC (10 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2P1
Changes since 2.65: +4 -4 lines
Diff to previous 2.65 , to selected 2.12
More conservative setting of corral flags

Revision 2.65 - (view) (download) (annotate) - [select for diffs]
Thu Aug 21 10:33:49 2014 UTC (10 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.64: +3 -3 lines
Diff to previous 2.64 , to selected 2.12
Added grazing angle extrapolation to BSDF interpolation

Revision 2.64 - (view) (download) (annotate) - [select for diffs]
Tue Aug 19 15:04:40 2014 UTC (10 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.63: +4 -2 lines
Diff to previous 2.63 , to selected 2.12
Sampling bug fix for -aa 0 (and rcontrib)

Revision 2.63 - (view) (download) (annotate) - [select for diffs]
Thu Jun 19 16:26:55 2014 UTC (10 years, 4 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2
Changes since 2.62: +2 -2 lines
Diff to previous 2.62 , to selected 2.12
Officially replaced ambient calculation with new Hessian-based error control

Revision 2.62 - (view) (download) (annotate) - [select for diffs]
Mon May 19 20:23:48 2014 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.61: +10 -13 lines
Diff to previous 2.61 , to selected 2.12
Minor code improvements/simplifications

Revision 2.61 - (view) (download) (annotate) - [select for diffs]
Sun May 18 18:59:55 2014 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.60: +131 -133 lines
Diff to previous 2.60 , to selected 2.12
Reorganized calculation now storing average division value & min. distance

Revision 2.60 - (view) (download) (annotate) - [select for diffs]
Sat May 17 00:49:17 2014 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.59: +2 -2 lines
Diff to previous 2.59 , to selected 2.12
Switched to old ambient radius modification with weight

Revision 2.59 - (view) (download) (annotate) - [select for diffs]
Fri May 16 23:39:24 2014 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.58: +5 -10 lines
Diff to previous 2.58 , to selected 2.12
Fixed potential issue with small number of samples

Revision 2.58 - (view) (download) (annotate) - [select for diffs]
Sun May 11 19:03:37 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.57: +18 -5 lines
Diff to previous 2.57 , to selected 2.12
Changes to hem-in too-large cache radii with -ar 0

Revision 2.57 - (view) (download) (annotate) - [select for diffs]
Fri May 9 22:53:11 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.56: +2 -2 lines
Diff to previous 2.56 , to selected 2.12
Minor correction to limit on corraling operation (NEWAMB)

Revision 2.56 - (view) (download) (annotate) - [select for diffs]
Fri May 9 20:05:00 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.55: +29 -166 lines
Diff to previous 2.55 , to selected 2.12
Tore out complicated vertex comparisons that were no faster (-DNEWAMB)

Revision 2.55 - (view) (download) (annotate) - [select for diffs]
Fri May 9 16:05:09 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.54: +29 -21 lines
Diff to previous 2.54 , to selected 2.12
Better fix for previous bug and include diagonals in error est. (NEWAMB)

Revision 2.54 - (view) (download) (annotate) - [select for diffs]
Fri May 9 04:55:19 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.53: +9 -8 lines
Diff to previous 2.53 , to selected 2.12
Fixed bug in ambient super-sampling for scenes with uniform areas (NEWAMB)

Revision 2.53 - (view) (download) (annotate) - [select for diffs]
Thu May 8 04:02:40 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.52: +10 -7 lines
Diff to previous 2.52 , to selected 2.12
Fixed problem with too-distant samples and limited corral to 2 bounces (NEWAMB)

Revision 2.52 - (view) (download) (annotate) - [select for diffs]
Wed May 7 21:45:13 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.51: +8 -3 lines
Diff to previous 2.51 , to selected 2.12
Betterment of last tweak (-DNEWAMB)

Revision 2.51 - (view) (download) (annotate) - [select for diffs]
Wed May 7 20:20:24 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.50: +10 -2 lines
Diff to previous 2.50 , to selected 2.12
Another tweak to prevent corraling in tight quarters (-DNEWAMB)

Revision 2.50 - (view) (download) (annotate) - [select for diffs]
Wed May 7 16:02:26 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.49: +16 -17 lines
Diff to previous 2.49 , to selected 2.12
Fixed bug that caused too-long calculations in cache corral (-DNEWAMB)

Revision 2.49 - (view) (download) (annotate) - [select for diffs]
Wed May 7 01:16:02 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.48: +27 -40 lines
Diff to previous 2.48 , to selected 2.12
Added "corral" flags to prevent light leaks in new calculation (-DNEWAMB)

Revision 2.48 - (view) (download) (annotate) - [select for diffs]
Sun May 4 01:02:13 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.47: +38 -25 lines
Diff to previous 2.47 , to selected 2.12
Changed (unused) algorithm to threshold at 5th percentile instead of average

Revision 2.47 - (view) (download) (annotate) - [select for diffs]
Sat May 3 05:46:19 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.46: +62 -36 lines
Diff to previous 2.46 , to selected 2.12
Switched to storing reciprocal distance so we can optionally check periphery

Revision 2.46 - (view) (download) (annotate) - [select for diffs]
Fri May 2 21:58:50 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.45: +197 -61 lines
Diff to previous 2.45 , to selected 2.12
Added baroque book-keeping to avoid calculating pointless Hessians

Revision 2.45 - (view) (download) (annotate) - [select for diffs]
Thu May 1 22:34:25 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.44: +7 -7 lines
Diff to previous 2.44 , to selected 2.12
Fixed bug introduced in change to support -as option (-DNEWAMB)

Revision 2.44 - (view) (download) (annotate) - [select for diffs]
Thu May 1 16:06:11 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.43: +7 -7 lines
Diff to previous 2.43 , to selected 2.12
Got rid of struct s_ambsamp, which was never really needed, anyway

Revision 2.43 - (view) (download) (annotate) - [select for diffs]
Thu May 1 16:01:59 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.42: +26 -30 lines
Diff to previous 2.42 , to selected 2.12
Simplified hemisphere sampling call (-DNEWAMB)

Revision 2.42 - (view) (download) (annotate) - [select for diffs]
Wed Apr 30 23:44:06 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.41: +7 -6 lines
Diff to previous 2.41 , to selected 2.12
Minor optimization

Revision 2.41 - (view) (download) (annotate) - [select for diffs]
Wed Apr 30 23:38:58 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.40: +156 -39 lines
Diff to previous 2.40 , to selected 2.12
Added support for ambient super-samples (-as) in new calculation (-DNEWAMB)

Revision 2.40 - (view) (download) (annotate) - [select for diffs]
Wed Apr 30 18:27:14 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.39: +4 -4 lines
Diff to previous 2.39 , to selected 2.12
Re-corrected sign of direction gradient calculation

Revision 2.39 - (view) (download) (annotate) - [select for diffs]
Tue Apr 29 15:40:00 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.38: +2 -2 lines
Diff to previous 2.38 , to selected 2.12
Fixed bug that was causing segmentation violations for all-black scenes

Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Sat Apr 26 15:54:17 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.37: +20 -11 lines
Diff to previous 2.37 , to selected 2.12
Fixed eigenvalue calculation for double-root and randomization of axes

Revision 2.37 - (view) (download) (annotate) - [select for diffs]
Sat Apr 26 05:09:54 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.36: +7 -6 lines
Diff to previous 2.36 , to selected 2.12
Went back to old axis initialization method

Revision 2.36 - (view) (download) (annotate) - [select for diffs]
Sat Apr 26 04:37:48 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.35: +6 -9 lines
Diff to previous 2.35 , to selected 2.12
Randomize hemisphere orientation for better sampling

Revision 2.35 - (view) (download) (annotate) - [select for diffs]
Fri Apr 25 18:39:22 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.34: +36 -33 lines
Diff to previous 2.34 , to selected 2.12
Eliminated redundant calcs and put limit on radii based on gradient

Revision 2.34 - (view) (download) (annotate) - [select for diffs]
Thu Apr 24 23:15:10 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.33: +6 -4 lines
Diff to previous 2.33 , to selected 2.12
Very minor tweaks

Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Thu Apr 24 19:16:52 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.32: +10 -1 lines
Diff to previous 2.32 , to selected 2.12
Reinstated clamping of translation gradient when increasing radius to minimum

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Thu Apr 24 17:36:43 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.31: +15 -16 lines
Diff to previous 2.31 , to selected 2.12
Corrected some math so the results are starting to look agreeable

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Thu Apr 24 06:03:15 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.30: +14 -12 lines
Diff to previous 2.30 , to selected 2.12
Fixed floating-point errors due to use of float where double needed

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Wed Apr 23 17:30:10 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.29: +17 -18 lines
Diff to previous 2.29 , to selected 2.12
Bug fix and optimization

Revision 2.29 - (view) (download) (annotate) - [select for diffs]
Wed Apr 23 06:04:17 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.28: +43 -33 lines
Diff to previous 2.28 , to selected 2.12
Fixed numerous errors in Hessian (-DNEWAMB) calculation, doubtless more to go

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Sat Apr 19 19:20:47 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.27: +33 -28 lines
Diff to previous 2.27 , to selected 2.12
Tidying up code, bug fixes and minor improvements

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Sat Apr 19 02:39:44 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.26: +365 -23 lines
Diff to previous 2.26 , to selected 2.12
Compilable but untested version of Hessian calculation (-DNEWAMB)

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Wed Apr 16 20:32:00 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.25: +199 -1 lines
Diff to previous 2.25 , to selected 2.12
Partial implementation of Hessian calculation

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Fri Apr 11 20:31:37 2014 UTC (10 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.24: +7 -3 lines
Diff to previous 2.24 , to selected 2.12
Partial implementation of Hessian gradient calculation (-DNEWAMB)

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Wed Aug 7 05:10:09 2013 UTC (11 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.23: +2 -2 lines
Diff to previous 2.23 , to selected 2.12
Eliminated a number of minor warnings (all innocuous)

Revision 2.23 - (view) (download) (annotate) - [select for diffs]
Tue Feb 5 05:40:06 2013 UTC (11 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.22: +22 -19 lines
Diff to previous 2.22 , to selected 2.12
Improved accuracy of ambient calculation for large -ad settings

Revision 2.22 - (view) (download) (annotate) - [select for diffs]
Sun Sep 26 15:51:15 2010 UTC (14 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: rad4R1
Changes since 2.21: +2 -1 lines
Diff to previous 2.21 , to selected 2.12
Added checknorm() macro to avoid normalization errors with gcc --fast-math

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Mon Dec 31 18:19:42 2007 UTC (16 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad3R9, rad4R0
Changes since 2.20: +5 -2 lines
Diff to previous 2.20 , to selected 2.12
Fixed memory leak for certain ambient calculations (thanks to D. Brainard)

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Fri Oct 28 16:16:33 2005 UTC (19 years ago) by greg
Branch: MAIN
CVS Tags: rad3R8
Changes since 2.19: +2 -2 lines
Diff to previous 2.19 , to selected 2.12
Changed bright() to intens() in a couple of places for consistency

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Mon Aug 22 16:07:26 2005 UTC (19 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad3R7P2
Changes since 2.18: +22 -17 lines
Diff to previous 2.18 , to selected 2.12
Fixed bug in ambient calculation causing zero results for some scenes

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Mon Jun 6 19:14:28 2005 UTC (19 years, 5 months ago) by greg
Branch: MAIN
CVS Tags: rad3R7P1
Changes since 2.17: +3 -2 lines
Diff to previous 2.17 , to selected 2.12
(Very) minor optimization

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Sat Jun 4 06:10:12 2005 UTC (19 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.16: +13 -12 lines
Diff to previous 2.16 , to selected 2.12
Bug fix for -aa 0 -as > 0

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Tue May 31 18:01:09 2005 UTC (19 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.15: +32 -31 lines
Diff to previous 2.15 , to selected 2.12
Added Russian roulette ray termination and fixed ambient weights & measures

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Sat May 28 22:27:54 2005 UTC (19 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.14: +22 -24 lines
Diff to previous 2.14 , to selected 2.12
Fixed application of ray weights and coefficients in ambient calculation

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Tue Apr 19 01:15:06 2005 UTC (19 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.13: +105 -74 lines
Diff to previous 2.13 , to selected 2.12
Extensive changes to enable rtrace -oTW option for tracking ray contributions

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Wed Apr 13 23:00:59 2005 UTC (19 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.12: +4 -5 lines
Diff to previous 2.12
Changed minimum number of ambient rays

Revision 2.12 - (view) (download) (annotate) - [selected]
Sun Jul 27 22:12:03 2003 UTC (21 years, 3 months ago) by schorsch
Branch: MAIN
CVS Tags: rad3R6, rad3R6P1
Changes since 2.11: +2 -2 lines
Diff to previous 2.11
Added grouping parens to reduce ambiguity warnings.

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 22:30:19 2003 UTC (21 years, 3 months ago) by schorsch
Branch: MAIN
Changes since 2.10: +4 -4 lines
Diff to previous 2.10 , to selected 2.12
Eliminated copystruct() macro, which is unnecessary in ANSI.
Reduced ambiguity warnings for nested if/if/else clauses.

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Tue Feb 25 02:47:22 2003 UTC (21 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad3R5
Changes since 2.9: +1 -56 lines
Diff to previous 2.9 , to selected 2.12
Replaced inline copyright notice with #include "copyright.h"

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Sat Feb 22 02:07:28 2003 UTC (21 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.8: +70 -22 lines
Diff to previous 2.8 , to selected 2.12
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

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Wed Dec 16 18:14:57 1998 UTC (25 years, 11 months ago) by gwlarson
Branch: MAIN
Changes since 2.7: +7 -7 lines
Diff to previous 2.7 , to selected 2.12
switched to faster table-lookup for sin() and cos() functions

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Wed Jun 24 09:35:00 1998 UTC (26 years, 4 months ago) by gwlarson
Branch: MAIN
Changes since 2.6: +3 -2 lines
Diff to previous 2.6 , to selected 2.12
changed from using effective ray distance to object distance in divsample()

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Tue Apr 23 11:06:54 1996 UTC (28 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.5: +3 -3 lines
Diff to previous 2.5 , to selected 2.12
fixed bug in super-sampling test which resulted in unnec. sampling

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Wed May 3 09:46:31 1995 UTC (29 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.4: +3 -1 lines
Diff to previous 2.4 , to selected 2.12
changed maxarad heuristic limit and overrode super-sampling
for ambient values that have radii less than minarad after division sampling

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Fri Oct 2 16:14:38 1992 UTC (32 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.3: +0 -2 lines
Diff to previous 2.3 , to selected 2.12
Removed problematic math function declarations

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Wed Mar 4 16:28:25 1992 UTC (32 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.2: +4 -5 lines
Diff to previous 2.2 , to selected 2.12
improved assignment and use of minarad and maxarad

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Wed Feb 19 12:00:04 1992 UTC (32 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.1: +16 -12 lines
Diff to previous 2.1 , to selected 2.12
improved gradient estimators

Revision 2.1 - (view) (download) (annotate) - [select for diffs]
Tue Nov 12 17:10:29 1991 UTC (33 years ago) by greg
Branch: MAIN
Changes since 1.16: +0 -0 lines
Diff to previous 1.16 , to selected 2.12
updated revision number for release 2.0

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Nov 4 11:14:46 1991 UTC (33 years ago) by greg
Branch: MAIN
Changes since 1.15: +12 -5 lines
Diff to previous 1.15 , to selected 2.12
reinstated capping of irradiance gradient

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Oct 22 12:15:41 1991 UTC (33 years ago) by greg
Branch: MAIN
Changes since 1.14: +8 -12 lines
Diff to previous 1.14 , to selected 2.12
made it so ambient radius reduce when large gradient detected
fixed incorrect position gradient calculation

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Aug 26 10:11:39 1991 UTC (33 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.13: +5 -1 lines
Diff to previous 1.13 , to selected 2.12
added pretest for sampling limit to inithemi()

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Aug 22 11:56:58 1991 UTC (33 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 , to selected 2.12
changed peano() call to multisamp()

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Tue Aug 20 13:32:51 1991 UTC (33 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.11: +9 -7 lines
Diff to previous 1.11 , to selected 2.12
made ambient value weighting incremental

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Aug 13 12:16:41 1991 UTC (33 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 , to selected 2.12
changed urand sampling to use Peano curve through n dimensions

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Jul 24 10:36:13 1991 UTC (33 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 , to selected 2.12
corrected division separation between theta and phi

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Jul 11 16:39:00 1991 UTC (33 years, 4 months ago) by greg
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 , to selected 2.12
fixed problem with urand on multiple dimensions

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Jun 13 13:58:24 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 , to selected 2.12
changed initialization of effective length

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Jun 13 12:00:29 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.6: +8 -0 lines
Diff to previous 1.6 , to selected 2.12
placed upper limit on position gradient

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Jun 13 10:54:00 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.5: +23 -12 lines
Diff to previous 1.5 , to selected 2.12
made computations of gradients a little more robust

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Jun 13 09:41:17 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.4: +15 -4 lines
Diff to previous 1.4 , to selected 2.12
fixed constants in ambcomp.c and added gradient calc to ambient.c

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Jun 11 16:37:49 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.3: +12 -16 lines
Diff to previous 1.3 , to selected 2.12
bug fixes

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Jun 7 17:08:34 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.2: +19 -26 lines
Diff to previous 1.2 , to selected 2.12
bug fixes

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Jun 7 13:43:05 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.1: +97 -23 lines
Diff to previous 1.1 , to selected 2.12
initial implementation of dirgradient() and posgradient()

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Jun 7 10:03:52 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Diff to selected 2.12
Initial revision

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rad5R3: (view) (download) (annotate)

Compare Revisions

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.

  Diffs between and
  Type of Diff should be a