ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/ambient.c
Revision 2.123 - (view) (download) (annotate) - [select for diffs]
Fri Apr 5 01:10:26 2024 UTC (6 months, 3 weeks ago) by greg
Branch: MAIN
CVS Tags: HEAD
Changes since 2.122: +18 -14 lines
Diff to previous 2.122 , to selected 2.29
fix: Improved tracking of reflected vs. transmitted rays for antimatter

Revision 2.122 - (view) (download) (annotate) - [select for diffs]
Wed Jan 31 04:03:03 2024 UTC (9 months ago) by greg
Branch: MAIN
Changes since 2.121: +4 -3 lines
Diff to previous 2.121 , to selected 2.29
fix: improvement to last fix for ambient file opening race condition

Revision 2.121 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 19:24:00 2024 UTC (9 months ago) by greg
Branch: MAIN
Changes since 2.120: +11 -3 lines
Diff to previous 2.120 , to selected 2.29
fix: Added retry when file locking not available when opening shared ambient file

Revision 2.120 - (view) (download) (annotate) - [select for diffs]
Wed Nov 22 16:21:48 2023 UTC (11 months, 1 week ago) by greg
Branch: MAIN
Changes since 2.119: +4 -2 lines
Diff to previous 2.119 , to selected 2.29
fix: reset sampling to global settings in case ambient file changed

Revision 2.119 - (view) (download) (annotate) - [select for diffs]
Fri Nov 17 20:02:07 2023 UTC (11 months, 2 weeks ago) by greg
Branch: MAIN
Changes since 2.118: +2 -2 lines
Diff to previous 2.118 , to selected 2.29
fix: multiple bug fixes in hyperspectral code, added rvu, mkillum, rsensor, and ranimove to "working except photon map" status

Revision 2.118 - (view) (download) (annotate) - [select for diffs]
Wed Nov 15 18:02:52 2023 UTC (11 months, 2 weeks ago) by greg
Branch: MAIN
Changes since 2.117: +60 -43 lines
Diff to previous 2.117 , to selected 2.29
feat(rpict,rtrace,rcontrib,rtpict): Hyperspectral rendering (except photon map)

Revision 2.117 - (view) (download) (annotate) - [select for diffs]
Sat Jan 28 19:08:56 2023 UTC (21 months ago) by greg
Branch: MAIN
CVS Tags: rad5R4
Changes since 2.116: +3 -3 lines
Diff to previous 2.116 , to selected 2.29
perf: made addition of smaller radius cache values more robust

Revision 2.116 - (view) (download) (annotate) - [select for diffs]
Fri Jan 27 19:57:08 2023 UTC (21 months ago) by greg
Branch: MAIN
Changes since 2.115: +2 -2 lines
Diff to previous 2.115 , to selected 2.29
perf: Modified behind test to avoid issues with small-scale scenes

Revision 2.115 - (view) (download) (annotate) - [select for diffs]
Mon Apr 25 03:38:30 2022 UTC (2 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.114: +5 -4 lines
Diff to previous 2.114 , to selected 2.29
perf: Added a few more relevant options to ambient file header

Revision 2.114 - (view) (download) (annotate) - [select for diffs]
Mon Apr 11 00:45:30 2022 UTC (2 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.113: +4 -1 lines
Diff to previous 2.113 , to selected 2.29
feat: Added other relevant rendering options to ambient file header

Revision 2.113 - (view) (download) (annotate) - [select for diffs]
Mon Mar 7 19:30:53 2022 UTC (2 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.112: +1 -3 lines
Diff to previous 2.112 , to selected 2.29
style: removed unused reference

Revision 2.112 - (view) (download) (annotate) - [select for diffs]
Mon Mar 7 17:52:14 2022 UTC (2 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.111: +9 -206 lines
Diff to previous 2.111 , to selected 2.29
perf(rtrace,rpict,rvu): Removed ambient value sorting, which had issues

Revision 2.111 - (view) (download) (annotate) - [select for diffs]
Thu Nov 18 19:38:21 2021 UTC (2 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.110: +7 -3 lines
Diff to previous 2.110 , to selected 2.29
perf(rpict, rtrace, rvu): improved function of -aw rendering parameter

Revision 2.110 - (view) (download) (annotate) - [select for diffs]
Fri Feb 19 22:05:46 2021 UTC (3 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.109: +5 -2 lines
Diff to previous 2.109 , to selected 2.29
perf: put maximum cap on gradient values to avoid over-extrapolation

Revision 2.109 - (view) (download) (annotate) - [select for diffs]
Tue Mar 10 15:57:52 2020 UTC (4 years, 7 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 2.108: +8 -3 lines
Diff to previous 2.108 , to selected 2.29
Added handling of interrupted fcntl() call during ambient file locking

Revision 2.108 - (view) (download) (annotate) - [select for diffs]
Tue May 14 17:39:10 2019 UTC (5 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.107: +10 -343 lines
Diff to previous 2.107 , to selected 2.29
Stripped out code related to old (pre-Hessian) ambient calculation

Revision 2.107 - (view) (download) (annotate) - [select for diffs]
Sat Feb 16 00:09:53 2019 UTC (5 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.106: +2 -2 lines
Diff to previous 2.106 , to selected 2.29
Fixed infinite loop when setting aa to 0 within rvu

Revision 2.106 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 00:54:07 2018 UTC (5 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.105: +1 -2 lines
Diff to previous 2.105 , to selected 2.29
Moved findmaterial() from source.c to initotypes.c

Revision 2.105 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 05:01:15 2018 UTC (6 years, 9 months ago) by greg
Branch: MAIN
CVS Tags: rad5R2
Changes since 2.104: +5 -2 lines
Diff to previous 2.104 , to selected 2.29
Made proximity test (plugaleak) more robust with transparent surfaces, etc.

Revision 2.104 - (view) (download) (annotate) - [select for diffs]
Fri Jan 27 22:00:49 2017 UTC (7 years, 9 months ago) by greg
Branch: MAIN
CVS Tags: rad5R1
Changes since 2.103: +9 -15 lines
Diff to previous 2.103 , to selected 2.29
Created independent ambient file pointer to resolve some race issues

Revision 2.103 - (view) (download) (annotate) - [select for diffs]
Tue Nov 1 20:39:39 2016 UTC (8 years ago) by greg
Branch: MAIN
Changes since 2.102: +17 -3 lines
Diff to previous 2.102 , to selected 2.29
Added code to handle textures (normal perturbations) with -aa 0

Revision 2.102 - (view) (download) (annotate) - [select for diffs]
Sun Apr 24 16:21:32 2016 UTC (8 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.101: +10 -10 lines
Diff to previous 2.101 , to selected 2.29
Minor changes

Revision 2.101 - (view) (download) (annotate) - [select for diffs]
Sun Mar 6 01:13:17 2016 UTC (8 years, 7 months ago) by schorsch
Branch: MAIN
Changes since 2.100: +1 -3 lines
Diff to previous 2.100 , to selected 2.29
Prepare for SCons build on Win32 and Win64

Revision 2.100 - (view) (download) (annotate) - [select for diffs]
Thu Mar 3 22:47:21 2016 UTC (8 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.99: +2 -10 lines
Diff to previous 2.99 , to selected 2.29
Undid last change after realizing it would cause memory errors!

Revision 2.99 - (view) (download) (annotate) - [select for diffs]
Thu Mar 3 22:44:10 2016 UTC (8 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.98: +13 -5 lines
Diff to previous 2.98 , to selected 2.29
Made freeing of ambient tree more thorough, freeing nodes as well

Revision 2.98 - (view) (download) (annotate) - [select for diffs]
Sun Aug 23 00:17:12 2015 UTC (9 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad5R0
Changes since 2.97: +1 -4 lines
Diff to previous 2.97 , to selected 2.29
Minor tweaks & performance improvements for rcontrib file locking

Revision 2.97 - (view) (download) (annotate) - [select for diffs]
Fri Aug 21 18:21:05 2015 UTC (9 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.96: +2 -2 lines
Diff to previous 2.96 , to selected 2.29
Hopefull fix to deadlock issues under Mac OS X 10.10.x (Yosemite)

Revision 2.96 - (view) (download) (annotate) - [select for diffs]
Wed Jul 29 18:57:03 2015 UTC (9 years, 3 months ago) by rschregle
Branch: MAIN
Changes since 2.95: +2 -2 lines
Diff to previous 2.95 , to selected 2.29
Fixed comment pertaining to ambPmapCaustic()

Revision 2.95 - (view) (download) (annotate) - [select for diffs]
Tue May 19 13:52:37 2015 UTC (9 years, 5 months ago) by rschregle
Branch: MAIN
Changes since 2.94: +3 -3 lines
Diff to previous 2.94 , to selected 2.29
Fixed calls to ambPmap()/ambPmapCaustic() when using -DOLDAMB

Revision 2.94 - (view) (download) (annotate) - [select for diffs]
Tue Feb 24 19:39:26 2015 UTC (9 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.93: +63 -7 lines
Diff to previous 2.93 , to selected 2.29
Initial check-in of photon map addition by Roland Schregle

Revision 2.93 - (view) (download) (annotate) - [select for diffs]
Fri Nov 21 00:53:52 2014 UTC (9 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.92: +5 -6 lines
Diff to previous 2.92 , to selected 2.29
Further limit minimum to 5% of original interreflected value

Revision 2.92 - (view) (download) (annotate) - [select for diffs]
Fri Nov 21 00:30:11 2014 UTC (9 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.91: +7 -5 lines
Diff to previous 2.91 , to selected 2.29
Improved extrapolation to avoid zero values

Revision 2.91 - (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, rad4R2P1, rad4R2P2
Changes since 2.90: +2 -2 lines
Diff to previous 2.90 , to selected 2.29
Officially replaced ambient calculation with new Hessian-based error control

Revision 2.90 - (view) (download) (annotate) - [select for diffs]
Fri Jun 6 00:57:46 2014 UTC (10 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.89: +3 -3 lines
Diff to previous 2.89 , to selected 2.29
Removed redundant address operator

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

Revision 2.88 - (view) (download) (annotate) - [select for diffs]
Fri May 9 23:08:50 2014 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.87: +6 -5 lines
Diff to previous 2.87 , to selected 2.29
Changed avstore() to call avinsert() automatically

Revision 2.87 - (view) (download) (annotate) - [select for diffs]
Fri May 9 16:40:01 2014 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.86: +11 -9 lines
Diff to previous 2.86 , to selected 2.29
Sort ambient cache lists by weight as well as level

Revision 2.86 - (view) (download) (annotate) - [select for diffs]
Wed May 7 01:16:03 2014 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.85: +62 -9 lines
Diff to previous 2.85 , to selected 2.29
Added "corral" flags to prevent light leaks in new calculation (-DNEWAMB)

Revision 2.85 - (view) (download) (annotate) - [select for diffs]
Tue May 6 17:15:11 2014 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.84: +2 -2 lines
Diff to previous 2.84 , to selected 2.29
Bug fix (-DNEWAMB) where ray behind test was failing

Revision 2.84 - (view) (download) (annotate) - [select for diffs]
Sat Apr 26 15:54:43 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.83: +13 -12 lines
Diff to previous 2.83 , to selected 2.29
Went back to direct manipulation of ambacc (-aa) parameter

Revision 2.83 - (view) (download) (annotate) - [select for diffs]
Sat Apr 26 05:15:17 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.82: +28 -25 lines
Diff to previous 2.82 , to selected 2.29
Experimenting with depth-first ambient tree traversal, avoiding long-reach

Revision 2.82 - (view) (download) (annotate) - [select for diffs]
Sat Apr 26 02:59:16 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.81: +7 -9 lines
Diff to previous 2.81 , to selected 2.29
Fixed setambacc() routine so it works with rvu properly

Revision 2.81 - (view) (download) (annotate) - [select for diffs]
Fri Apr 25 23:04:16 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.80: +13 -5 lines
Diff to previous 2.80 , to selected 2.29
Added back version of ray behind test, but still some problem cases

Revision 2.80 - (view) (download) (annotate) - [select for diffs]
Fri Apr 25 18:38:47 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.79: +5 -11 lines
Diff to previous 2.79 , to selected 2.29
Replaced behind test in sumambient with distanc metric used by Schwarzhaupt

Revision 2.79 - (view) (download) (annotate) - [select for diffs]
Fri Apr 25 00:21:52 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.78: +5 -3 lines
Diff to previous 2.78 , to selected 2.29
Made minimum angular displacement more generous with small -aa settings

Revision 2.78 - (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.77: +2 -2 lines
Diff to previous 2.77 , to selected 2.29
Reinstated clamping of translation gradient when increasing radius to minimum

Revision 2.77 - (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.76: +2 -2 lines
Diff to previous 2.76 , to selected 2.29
Bug fix and optimization

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

Revision 2.75 - (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.74: +3 -3 lines
Diff to previous 2.74 , to selected 2.29
Tidying up code, bug fixes and minor improvements

Revision 2.74 - (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.73: +9 -4 lines
Diff to previous 2.73 , to selected 2.29
Compilable but untested version of Hessian calculation (-DNEWAMB)

Revision 2.73 - (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.72: +5 -6 lines
Diff to previous 2.72 , to selected 2.29
Continued work on Hessian calculation

Revision 2.72 - (view) (download) (annotate) - [select for diffs]
Fri Apr 11 22:54:34 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.71: +43 -24 lines
Diff to previous 2.71 , to selected 2.29
Fixed compile errors and tidied up new code

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

Revision 2.70 - (view) (download) (annotate) - [select for diffs]
Thu Sep 22 02:15:56 2011 UTC (13 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: rad4R1
Changes since 2.69: +28 -32 lines
Diff to previous 2.69 , to selected 2.29
Minor optimizations

Revision 2.69 - (view) (download) (annotate) - [select for diffs]
Mon Jun 27 22:10:37 2011 UTC (13 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.68: +2 -2 lines
Diff to previous 2.68 , to selected 2.29
Minor bug fix thanks to R. Fritz

Revision 2.68 - (view) (download) (annotate) - [select for diffs]
Thu Oct 14 05:54:44 2010 UTC (14 years ago) by greg
Branch: MAIN
Changes since 2.67: +11 -17 lines
Diff to previous 2.67 , to selected 2.29
Fixed long-standing bug in ambient file synchronization under FreeBSD

Revision 2.67 - (view) (download) (annotate) - [select for diffs]
Sat Nov 17 06:21:58 2007 UTC (16 years, 11 months ago) by greg
Branch: MAIN
CVS Tags: rad3R9, rad4R0
Changes since 2.66: +2 -2 lines
Diff to previous 2.66 , to selected 2.29
Increased limits to number of modifiers for trace and ambient include/exclude

Revision 2.66 - (view) (download) (annotate) - [select for diffs]
Sat Sep 15 05:16:10 2007 UTC (17 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.65: +16 -16 lines
Diff to previous 2.65 , to selected 2.29
Cleaned up use of lastpos

Revision 2.65 - (view) (download) (annotate) - [select for diffs]
Sat Sep 15 02:47:30 2007 UTC (17 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.64: +6 -2 lines
Diff to previous 2.64 , to selected 2.29
Fixed initialization bug introduced in last change

Revision 2.64 - (view) (download) (annotate) - [select for diffs]
Fri Sep 14 00:50:31 2007 UTC (17 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.63: +8 -4 lines
Diff to previous 2.63 , to selected 2.29
Eliminated unnecessary call to lseek(2)

Revision 2.63 - (view) (download) (annotate) - [select for diffs]
Thu Sep 13 20:13:16 2007 UTC (17 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.62: +4 -9 lines
Diff to previous 2.62 , to selected 2.29
Made it so ambsync() loads values even if there are none to write

Revision 2.62 - (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, rad3R8
Changes since 2.61: +2 -2 lines
Diff to previous 2.61 , to selected 2.29
Fixed bug in ambient calculation causing zero results for some scenes

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

Revision 2.60 - (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.59: +14 -11 lines
Diff to previous 2.59 , to selected 2.29
Fixed application of ray weights and coefficients in ambient calculation

Revision 2.59 - (view) (download) (annotate) - [select for diffs]
Wed May 25 18:06:22 2005 UTC (19 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.58: +6 -4 lines
Diff to previous 2.58 , to selected 2.29
Fixed bug introduced with ray contribution output in ambient calculation

Revision 2.58 - (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.57: +25 -14 lines
Diff to previous 2.57 , to selected 2.29
Extensive changes to enable rtrace -oTW option for tracking ray contributions

Revision 2.57 - (view) (download) (annotate) - [select for diffs]
Fri Nov 5 17:36:55 2004 UTC (20 years ago) by greg
Branch: MAIN
Changes since 2.56: +4 -2 lines
Diff to previous 2.56 , to selected 2.29
Increased defaults and allowed for compiler override related to -a{E,I} options

Revision 2.56 - (view) (download) (annotate) - [select for diffs]
Tue Mar 30 16:13:00 2004 UTC (20 years, 7 months ago) by schorsch
Branch: MAIN
CVS Tags: rad3R6, rad3R6P1
Changes since 2.55: +120 -83 lines
Diff to previous 2.55 , to selected 2.29
Continued ANSIfication. There are only bits and pieces left now.

Revision 2.55 - (view) (download) (annotate) - [select for diffs]
Mon Oct 20 16:01:55 2003 UTC (21 years ago) by greg
Branch: MAIN
Changes since 2.54: +5 -5 lines
Diff to previous 2.54 , to selected 2.29
Included "platform.h" wherever lseek() was called

Revision 2.54 - (view) (download) (annotate) - [select for diffs]
Sun Jul 27 22:12:03 2003 UTC (21 years, 3 months ago) by schorsch
Branch: MAIN
Changes since 2.53: +3 -3 lines
Diff to previous 2.53 , to selected 2.29
Added grouping parens to reduce ambiguity warnings.

Revision 2.53 - (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.52: +6 -6 lines
Diff to previous 2.52 , to selected 2.29
Eliminated copystruct() macro, which is unnecessary in ANSI.
Reduced ambiguity warnings for nested if/if/else clauses.

Revision 2.52 - (view) (download) (annotate) - [select for diffs]
Mon Jun 30 14:59:12 2003 UTC (21 years, 4 months ago) by schorsch
Branch: MAIN
Changes since 2.51: +4 -2 lines
Diff to previous 2.51 , to selected 2.29
Replaced most outdated BSD function calls with their posix equivalents, and cleaned up a few other platform dependencies.

Revision 2.51 - (view) (download) (annotate) - [select for diffs]
Thu Jun 26 00:58:10 2003 UTC (21 years, 4 months ago) by schorsch
Branch: MAIN
Changes since 2.50: +3 -1 lines
Diff to previous 2.50 , to selected 2.29
Abstracted process and path handling for Windows.
Renamed FLOAT to RREAL because of conflict on Windows.
Added conditional compiles for some signal handlers.

Revision 2.50 - (view) (download) (annotate) - [select for diffs]
Thu Jun 5 19:29:34 2003 UTC (21 years, 5 months ago) by schorsch
Branch: MAIN
Changes since 2.49: +3 -7 lines
Diff to previous 2.49 , to selected 2.29
Macros for setting binary file mode. Replacing MSDOS by _WIN32.

Revision 2.49 - (view) (download) (annotate) - [select for diffs]
Thu May 15 05:13:35 2003 UTC (21 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.48: +3 -3 lines
Diff to previous 2.48 , to selected 2.29
Eliminated -DBIGMEM define, since we always used it in makeall

Revision 2.48 - (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.47: +1 -56 lines
Diff to previous 2.47 , to selected 2.29
Replaced inline copyright notice with #include "copyright.h"

Revision 2.47 - (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.46: +183 -61 lines
Diff to previous 2.46 , to selected 2.29
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.46 - (view) (download) (annotate) - [select for diffs]
Sun Jan 10 12:45:19 1999 UTC (25 years, 9 months ago) by gwlarson
Branch: MAIN
Changes since 2.45: +19 -7 lines
Diff to previous 2.45 , to selected 2.29
added ability to open and load read-only file in setambient()

Revision 2.45 - (view) (download) (annotate) - [select for diffs]
Wed Aug 12 18:16:07 1998 UTC (26 years, 2 months ago) by gwlarson
Branch: MAIN
Changes since 2.44: +3 -4 lines
Diff to previous 2.44 , to selected 2.29
changed to using VCROSS() macro in extambient()

Revision 2.44 - (view) (download) (annotate) - [select for diffs]
Wed Jun 17 13:29:55 1998 UTC (26 years, 4 months ago) by gwlarson
Branch: MAIN
Changes since 2.43: +0 -1 lines
Diff to previous 2.43 , to selected 2.29
moved lseek() and ftell() declarations to standard.h

Revision 2.43 - (view) (download) (annotate) - [select for diffs]
Sat Aug 30 10:17:01 1997 UTC (27 years, 2 months ago) by gregl
Branch: MAIN
Changes since 2.42: +23 -8 lines
Diff to previous 2.42 , to selected 2.29
switched to geometric mean for average -av substitute

Revision 2.42 - (view) (download) (annotate) - [select for diffs]
Thu Jan 2 09:37:13 1997 UTC (27 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.41: +2 -1 lines
Diff to previous 2.41 , to selected 2.29
corrected problem in error reporting

Revision 2.41 - (view) (download) (annotate) - [select for diffs]
Wed Jul 10 13:33:56 1996 UTC (28 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.40: +4 -4 lines
Diff to previous 2.40 , to selected 2.29
added -aw to ambient file header
changed sort frequency slightly to adjust for slower ambient clock

Revision 2.40 - (view) (download) (annotate) - [select for diffs]
Tue Jul 9 21:56:44 1996 UTC (28 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.39: +8 -7 lines
Diff to previous 2.39 , to selected 2.29
made ambclock advance more slowly

Revision 2.39 - (view) (download) (annotate) - [select for diffs]
Tue Jul 9 19:37:09 1996 UTC (28 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.38: +25 -19 lines
Diff to previous 2.38 , to selected 2.29
made tick part of array to sort in sortambvals() to reduce paging

Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Tue Jul 9 13:32:35 1996 UTC (28 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.37: +4 -3 lines
Diff to previous 2.37 , to selected 2.29
fixed potential problem with alatcmp() function on 16-bit machines
made error-reporting version of avlmemi() the default

Revision 2.37 - (view) (download) (annotate) - [select for diffs]
Tue May 28 14:24:44 1996 UTC (28 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.36: +18 -4 lines
Diff to previous 2.36 , to selected 2.29
added check for ambient value validity, ambvalOK(), called by readambval()

Revision 2.36 - (view) (download) (annotate) - [select for diffs]
Wed Feb 14 15:43:22 1996 UTC (28 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.35: +3 -8 lines
Diff to previous 2.35 , to selected 2.29
added -aw option for ambient value weight

Revision 2.35 - (view) (download) (annotate) - [select for diffs]
Tue Nov 21 14:28:22 1995 UTC (28 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.34: +6 -3 lines
Diff to previous 2.34 , to selected 2.29
improved logic for when to track time on multiprocessors

Revision 2.34 - (view) (download) (annotate) - [select for diffs]
Mon Nov 6 12:03:13 1995 UTC (29 years ago) by greg
Branch: MAIN
Changes since 2.33: +12 -7 lines
Diff to previous 2.33 , to selected 2.29
added texturing to ambient value computation using extambient()

Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Tue Oct 24 13:33:23 1995 UTC (29 years ago) by greg
Branch: MAIN
Changes since 2.32: +9 -14 lines
Diff to previous 2.32 , to selected 2.29
made setambacc() a little simpler

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Tue Oct 17 18:22:47 1995 UTC (29 years ago) by greg
Branch: MAIN
Changes since 2.31: +23 -7 lines
Diff to previous 2.31 , to selected 2.29
added automatic ambient value computation (AMBVWT != 0)

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Tue Oct 3 11:53:30 1995 UTC (29 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.30: +1 -2 lines
Diff to previous 2.30 , to selected 2.29
undid artifact of ancient change (1.6) that caused unnec. noise

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

Revision 2.29 - (view) (download) (annotate) - [selected]
Tue May 2 15:28:36 1995 UTC (29 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.28: +13 -10 lines
Diff to previous 2.28
adjusted sorting parameters and increased OCTSCALE

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Sun Apr 30 13:24:36 1995 UTC (29 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.27: +14 -5 lines
Diff to previous 2.27 , to selected 2.29
adjustments to sort interval defaults and minor improvements

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Sat Apr 29 10:51:28 1995 UTC (29 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.26: +63 -29 lines
Diff to previous 2.26 , to selected 2.29
minor improvements

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Thu Apr 27 14:12:05 1995 UTC (29 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.25: +183 -12 lines
Diff to previous 2.25 , to selected 2.29
added memory sorting to ambient caching module

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Thu Jun 2 11:45:27 1994 UTC (30 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.24: +6 -4 lines
Diff to previous 2.24 , to selected 2.29
changed setting of minarad for -ar 0

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Thu Mar 24 13:41:04 1994 UTC (30 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.23: +1 -0 lines
Diff to previous 2.23 , to selected 2.29
Added new ID to first line of header and changed use of formatval

Revision 2.23 - (view) (download) (annotate) - [select for diffs]
Sat Dec 18 10:37:01 1993 UTC (30 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.22: +12 -3 lines
Diff to previous 2.22 , to selected 2.29
ordered ambient lists by level to improve virtual memory performance

Revision 2.22 - (view) (download) (annotate) - [select for diffs]
Fri Aug 6 17:24:24 1993 UTC (31 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.21: +2 -1 lines
Diff to previous 2.21 , to selected 2.29
changed code to always seek even when it shouldn't be necessary

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Thu Aug 5 16:25:05 1993 UTC (31 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.20: +43 -25 lines
Diff to previous 2.20 , to selected 2.29
major and minor bug fixes

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Thu Aug 5 10:02:00 1993 UTC (31 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.19: +68 -15 lines
Diff to previous 2.19 , to selected 2.29
corrected flaws in setting and resetting of ambient accuracy

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Wed Aug 4 14:22:11 1993 UTC (31 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.18: +39 -29 lines
Diff to previous 2.18 , to selected 2.29
fixed bug due to NFS sloppiness on writing files w/o lock manager

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Fri Jan 29 12:02:23 1993 UTC (31 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.17: +12 -12 lines
Diff to previous 2.17 , to selected 2.29
made parallel operations conditional on F_SETLKW

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Tue Jan 26 09:08:20 1993 UTC (31 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.16: +7 -11 lines
Diff to previous 2.16 , to selected 2.29
took out ambfname again

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Fri Jan 22 09:51:13 1993 UTC (31 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.15: +22 -13 lines
Diff to previous 2.15 , to selected 2.29
bug fixes and improvements on stdio flushing

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Wed Jan 20 10:48:23 1993 UTC (31 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.14: +22 -24 lines
Diff to previous 2.14 , to selected 2.29
modified ambsync() to work on forked processes sharing file pointers

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Tue Nov 3 21:29:52 1992 UTC (32 years ago) by greg
Branch: MAIN
Changes since 2.13: +6 -4 lines
Diff to previous 2.13 , to selected 2.29
fdopen() error check in ambsync()

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

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Mon Sep 21 12:07:31 1992 UTC (32 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.11: +33 -30 lines
Diff to previous 2.11 , to selected 2.29
Changes for PC port

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Thu Jul 16 19:44:46 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.10: +3 -3 lines
Diff to previous 2.10 , to selected 2.29
added sync() call to avoid NFS buffering

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Thu Jul 16 16:47:28 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.9: +28 -16 lines
Diff to previous 2.9 , to selected 2.29
made ambsync() more efficient with use of duplicate file descriptor

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Thu Jul 16 15:53:42 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.8: +34 -33 lines
Diff to previous 2.8 , to selected 2.29
bug fix in misuse of lseek()

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Thu Jul 16 14:03:27 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.7: +3 -2 lines
Diff to previous 2.7 , to selected 2.29
minor changes

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Thu Jul 16 13:37:12 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.6: +53 -9 lines
Diff to previous 2.6 , to selected 2.29
added calls to lock ambient file and guarantee synchronization
between cooperating processes

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Thu Jul 16 12:09:08 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.5: +34 -7 lines
Diff to previous 2.5 , to selected 2.29
added header and magic number to ambient value file

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Mon Jul 13 16:17:49 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.4: +3 -3 lines
Diff to previous 2.4 , to selected 2.29
made ambient files portable between machines

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Fri Apr 10 16:14:34 1992 UTC (32 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.3: +2 -0 lines
Diff to previous 2.3 , to selected 2.29
avoid zero maxarad for scenes with no local objects

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

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Wed Jan 15 10:36:42 1992 UTC (32 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.1: +1 -1 lines
Diff to previous 2.1 , to selected 2.29
changed jittering test to use urand

Revision 2.1 - (view) (download) (annotate) - [select for diffs]
Tue Nov 12 17:09:42 1991 UTC (32 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.18: +0 -0 lines
Diff to previous 1.18 , to selected 2.29
updated revision number for release 2.0

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Oct 26 15:19:06 1991 UTC (33 years ago) by greg
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 , to selected 2.29
fixed test when ambrad == 0.

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Aug 29 11:13:14 1991 UTC (33 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 , to selected 2.29
changed heuristic value for when to demote ambient comp. weight

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Aug 20 10:05:18 1991 UTC (33 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.15: +31 -24 lines
Diff to previous 1.15 , to selected 2.29
made ambient value weighting and levels more incremental

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

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Fri Jun 7 10:04:29 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.13: +13 -225 lines
Diff to previous 1.13 , to selected 2.29
created ambient.h and ambcomp.c files

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Jun 6 10:48:50 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.12: +16 -8 lines
Diff to previous 1.12 , to selected 2.29
some minor improvements

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed May 22 12:44:39 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.11: +22 -5 lines
Diff to previous 1.11 , to selected 2.29
added stratified sampling with urand()

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Fri Sep 7 08:17:42 1990 UTC (34 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.10: +9 -2 lines
Diff to previous 1.10 , to selected 2.29
Added check for ambset overflow

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Jun 26 09:00:07 1990 UTC (34 years, 4 months ago) by greg
Branch: MAIN
Changes since 1.9: +0 -1 lines
Diff to previous 1.9 , to selected 2.29
Nit-picking for Stardent C-compiler

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 00:00:05 1990 UTC (34 years, 9 months ago) by greg
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 , to selected 2.29
improved portability and speed of bcopy()

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Fri Jan 12 11:30:59 1990 UTC (34 years, 9 months ago) by greg
Branch: MAIN
Changes since 1.7: +20 -14 lines
Diff to previous 1.7 , to selected 2.29
changed recording of ambient include/exclude set so instances work

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Sep 5 09:46:17 1989 UTC (35 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.6: +19 -24 lines
Diff to previous 1.6 , to selected 2.29
undid last change, which didn't do much but make artifacts

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Aug 8 17:31:23 1989 UTC (35 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.5: +25 -19 lines
Diff to previous 1.5 , to selected 2.29
Sum children first and quit if more than WDONE over requirement

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue May 30 20:06:09 1989 UTC (35 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 , to selected 2.29
Undid last delta, calculating error not variance!

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue May 30 11:06:29 1989 UTC (35 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 , to selected 2.29
Fixed wrong calculation of variance

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri May 26 17:58:01 1989 UTC (35 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.2: +17 -16 lines
Diff to previous 1.2 , to selected 2.29
Added variables to avoid confusion in doambient

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Feb 21 14:34:08 1989 UTC (35 years, 8 months ago) by greg
Branch: MAIN
Changes since 1.1: +5 -6 lines
Diff to previous 1.1 , to selected 2.29
Fixed incorrect octree test in sumambient

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu Feb 2 10:41:17 1989 UTC (35 years, 9 months ago) by greg
Branch: MAIN
Diff to selected 2.29
Initial revision

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to MAIN: (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