ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/ray.h
Revision 2.56 - (view) (download) (annotate) - [select for diffs]
Wed Aug 21 20:42:20 2024 UTC (2 months, 1 week ago) by greg
Branch: MAIN
CVS Tags: HEAD
Changes since 2.55: +4 -1 lines
Diff to previous 2.55 , to selected 2.29
refactor: moved memory sharing routines to preload.c with common call interface

Revision 2.55 - (view) (download) (annotate) - [select for diffs]
Mon Aug 12 18:57:00 2024 UTC (2 months, 2 weeks ago) by greg
Branch: MAIN
Changes since 2.54: +3 -3 lines
Diff to previous 2.54 , to selected 2.29
fix(rpict): Fixed light source drawing in non-RGB color spaces

Revision 2.54 - (view) (download) (annotate) - [select for diffs]
Wed Jul 31 22:21:28 2024 UTC (3 months ago) by greg
Branch: MAIN
Changes since 2.53: +2 -2 lines
Diff to previous 2.53 , to selected 2.29
fix(rpict): Fixed multi-spectral source drawing bug recently introduced

Revision 2.53 - (view) (download) (annotate) - [select for diffs]
Tue Jul 2 23:54:16 2024 UTC (3 months, 4 weeks ago) by greg
Branch: MAIN
Changes since 2.52: +2 -2 lines
Diff to previous 2.52 , to selected 2.29
feat(rpict): Made drawsources() compatible with spectral scanlines

Revision 2.52 - (view) (download) (annotate) - [select for diffs]
Fri Apr 5 01:10:26 2024 UTC (6 months, 3 weeks ago) by greg
Branch: MAIN
Changes since 2.51: +13 -5 lines
Diff to previous 2.51 , to selected 2.29
fix: Improved tracking of reflected vs. transmitted rays for antimatter

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

Revision 2.50 - (view) (download) (annotate) - [select for diffs]
Thu Mar 16 00:25:24 2023 UTC (19 months, 2 weeks ago) by greg
Branch: MAIN
CVS Tags: rad5R4
Changes since 2.49: +2 -2 lines
Diff to previous 2.49 , to selected 2.29
feat: Added test for which side of flat surface is seen in case of coincident surfaces

Revision 2.49 - (view) (download) (annotate) - [select for diffs]
Mon Feb 6 22:40:21 2023 UTC (20 months, 3 weeks ago) by greg
Branch: MAIN
Changes since 2.48: +3 -3 lines
Diff to previous 2.48 , to selected 2.29
refactor: Changed some char* args to const char* to avoid warnings

Revision 2.48 - (view) (download) (annotate) - [select for diffs]
Tue Nov 22 02:28:03 2022 UTC (23 months, 1 week ago) by greg
Branch: MAIN
Changes since 2.47: +2 -2 lines
Diff to previous 2.47 , to selected 2.29
fix: Changed RNUMBER to size_t to be more portable across systems

Revision 2.47 - (view) (download) (annotate) - [select for diffs]
Wed Oct 19 21:25:20 2022 UTC (2 years ago) by greg
Branch: MAIN
Changes since 2.46: +4 -2 lines
Diff to previous 2.46 , to selected 2.29
feat(rpict,rtrace,rcontrib): Added -features option to check for method support

Revision 2.46 - (view) (download) (annotate) - [select for diffs]
Fri Sep 23 21:53:34 2022 UTC (2 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.45: +4 -6 lines
Diff to previous 2.45 , to selected 2.29
refactor: removed unreferenced external symbol

Revision 2.45 - (view) (download) (annotate) - [select for diffs]
Sun Jan 31 18:08:04 2021 UTC (3 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.44: +2 -1 lines
Diff to previous 2.44 , to selected 2.29
feat: added consistent handling of coincident surfaces, thanks to Peter A-B

Revision 2.44 - (view) (download) (annotate) - [select for diffs]
Tue Jun 16 17:58:11 2020 UTC (4 years, 4 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 2.43: +1 -2 lines
Diff to previous 2.43 , to selected 2.29
Backed out last change, which actually made things worse

Revision 2.43 - (view) (download) (annotate) - [select for diffs]
Mon Jun 15 15:44:03 2020 UTC (4 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.42: +2 -1 lines
Diff to previous 2.42 , to selected 2.29
Optimize rtrace for throughput, especially with ambient cache

Revision 2.42 - (view) (download) (annotate) - [select for diffs]
Wed Feb 26 17:58:06 2020 UTC (4 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.41: +5 -5 lines
Diff to previous 2.41 , to selected 2.29
Struct member ordering

Revision 2.41 - (view) (download) (annotate) - [select for diffs]
Thu Jul 25 16:50:54 2019 UTC (5 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.40: +5 -2 lines
Diff to previous 2.40 , to selected 2.29
Keep track of ray flips so rayreorient() can put it back as it was

Revision 2.40 - (view) (download) (annotate) - [select for diffs]
Wed Dec 5 02:12:23 2018 UTC (5 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.39: +2 -1 lines
Diff to previous 2.39 , to selected 2.29
Created raytirrad() call to take care of irradiance hack

Revision 2.39 - (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.38: +7 -2 lines
Diff to previous 2.38 , to selected 2.29
Added -orRxX options to rtrace for VR rendering

Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Tue Feb 24 19:39:27 2015 UTC (9 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad5R0, rad5R1, rad5R2
Changes since 2.37: +5 -1 lines
Diff to previous 2.37 , to selected 2.29
Initial check-in of photon map addition by Roland Schregle

Revision 2.37 - (view) (download) (annotate) - [select for diffs]
Wed Jun 29 13:41:26 2011 UTC (13 years, 4 months ago) by greg
Branch: MAIN
CVS Tags: rad4R1, rad4R2, rad4R2P1, rad4R2P2
Changes since 2.36: +3 -3 lines
Diff to previous 2.36 , to selected 2.29
Making gcc -Wall happy

Revision 2.36 - (view) (download) (annotate) - [select for diffs]
Wed Apr 6 00:14:26 2011 UTC (13 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.35: +2 -2 lines
Diff to previous 2.35 , to selected 2.29
Improved output efficiency by reducing number of calls to fwrite()

Revision 2.35 - (view) (download) (annotate) - [select for diffs]
Tue Oct 26 03:45:35 2010 UTC (14 years ago) by greg
Branch: MAIN
Changes since 2.34: +3 -3 lines
Diff to previous 2.34 , to selected 2.29
Bug fix in l+ option of mkillum under Windows

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

Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Tue Dec 15 18:21:53 2009 UTC (14 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad4R0
Changes since 2.32: +2 -2 lines
Diff to previous 2.32 , to selected 2.29
Final fix to problem of queue overflow (I hope)

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Sun Dec 13 19:13:04 2009 UTC (14 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.31: +3 -3 lines
Diff to previous 2.31 , to selected 2.29
Eliminated restriction with -n and -I in rtrace

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Sat Dec 12 05:20:10 2009 UTC (14 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.30: +5 -1 lines
Diff to previous 2.30 , to selected 2.29
Created FIFO calls for ray multiprocessing

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Sat Dec 12 00:03:42 2009 UTC (14 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.29: +6 -2 lines
Diff to previous 2.29
Created RNUMBER type (#define) in preparation for 64-bit compiling

Revision 2.29 - (view) (download) (annotate) - [selected]
Fri Sep 23 19:04:53 2005 UTC (19 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: rad3R8, rad3R9
Changes since 2.28: +22 -19 lines
Diff to previous 2.28
Rearranged some struct's for better efficiency on 64-bit architectures

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Tue Jun 21 15:06:50 2005 UTC (19 years, 4 months ago) by greg
Branch: MAIN
CVS Tags: rad3R7P1, rad3R7P2
Changes since 2.27: +2 -2 lines
Diff to previous 2.27 , to selected 2.29
Fixed bugs in black glass transmission and source weight computation

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Mon Jun 13 20:07:56 2005 UTC (19 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.26: +4 -1 lines
Diff to previous 2.26 , to selected 2.29
Added -R option for pure Monte Carlo rendering, replacing -DMC compile option

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Thu May 26 06:55:22 2005 UTC (19 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.25: +5 -2 lines
Diff to previous 2.25 , to selected 2.29
Got rtcontrib working and wrote basic man page

Revision 2.25 - (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.24: +7 -5 lines
Diff to previous 2.24 , to selected 2.29
Extensive changes to enable rtrace -oTW option for tracking ray contributions

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Fri Apr 15 04:44:51 2005 UTC (19 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.23: +3 -6 lines
Diff to previous 2.23 , to selected 2.29
Eliminated revf member from RAY struct, as it was never really needed

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

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

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Thu Aug 28 03:22:16 2003 UTC (21 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.20: +3 -3 lines
Diff to previous 2.20 , to selected 2.29
Created proper prototypes for function pointers and included missing headers

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Mon Jul 14 22:24:00 2003 UTC (21 years, 3 months ago) by schorsch
Branch: MAIN
Changes since 2.19: +5 -7 lines
Diff to previous 2.19 , to selected 2.29
Instrumented headers against multiple inclusion and for use from C++.
Moved includes in headers out of "C" scope.

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Fri Jun 27 06:53:22 2003 UTC (21 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.18: +1 -4 lines
Diff to previous 2.18 , to selected 2.29
Broke standard.h into rtio.h, rterror.h, rtmath.h, and rtmisc.h

Revision 2.18 - (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.17: +2 -2 lines
Diff to previous 2.17 , 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.17 - (view) (download) (annotate) - [select for diffs]
Sat Jun 7 00:54:58 2003 UTC (21 years, 5 months ago) by schorsch
Branch: MAIN
Changes since 2.16: +12 -51 lines
Diff to previous 2.16 , to selected 2.29
Instrumented headers against multiple inclusion and for use from C++.
Removed NOPROTO sections.

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Fri May 9 22:18:03 2003 UTC (21 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.15: +2 -0 lines
Diff to previous 2.15 , to selected 2.29
Added missing prototype for raytexture()

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Tue Mar 11 17:08:55 2003 UTC (21 years, 7 months ago) by greg
Branch: MAIN
CVS Tags: rad3R5
Changes since 2.14: +1 -0 lines
Diff to previous 2.14 , to selected 2.29
First working version of new "mesh" primitive, obj2mesh converter

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Tue Mar 4 19:02:22 2003 UTC (21 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.13: +3 -0 lines
Diff to previous 2.13 , to selected 2.29
Modified new ray hit interface to check whole sets at a time

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Tue Feb 25 02:47:23 2003 UTC (21 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.12: +2 -57 lines
Diff to previous 2.12 , to selected 2.29
Replaced inline copyright notice with #include "copyright.h"

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Sat Feb 22 02:07:29 2003 UTC (21 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.11: +279 -37 lines
Diff to previous 2.11 , 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.11 - (view) (download) (annotate) - [select for diffs]
Fri Mar 7 16:53:02 1997 UTC (27 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.10: +2 -2 lines
Diff to previous 2.10 , to selected 2.29
comment change

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Fri Mar 7 16:42:54 1997 UTC (27 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.9: +2 -1 lines
Diff to previous 2.9 , to selected 2.29
added intersected object number for tracking instances

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Wed Jun 5 11:27:30 1996 UTC (28 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.8: +0 -2 lines
Diff to previous 2.8 , to selected 2.29
moved MAXSLIST macro to m_mist.c routine

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Wed Apr 17 14:01:51 1996 UTC (28 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.7: +1 -1 lines
Diff to previous 2.7 , to selected 2.29
changed albedo to 3-color parameter

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Wed Mar 27 12:17:10 1996 UTC (28 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.6: +1 -1 lines
Diff to previous 2.6 , to selected 2.29
fixed declaration of raydist()

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Sat Dec 9 09:35:00 1995 UTC (28 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.5: +8 -2 lines
Diff to previous 2.5 , to selected 2.29
added M_MIST (mist) type and global participating medium

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Thu Nov 2 17:38:07 1995 UTC (29 years ago) by greg
Branch: MAIN
Changes since 2.4: +3 -1 lines
Diff to previous 2.4 , to selected 2.29
added raydist() function

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Tue Dec 20 20:18:20 1994 UTC (29 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.3: +2 -1 lines
Diff to previous 2.3 , to selected 2.29
added -vo and -va (fore and aft clipping plane) view options

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Tue May 25 10:30:14 1993 UTC (31 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.2: +1 -1 lines
Diff to previous 2.2 , to selected 2.29
changed ray counters to unsigned long values

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Sat Jan 4 19:53:55 1992 UTC (32 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.1: +4 -3 lines
Diff to previous 2.1 , to selected 2.29
added specular sampling

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

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Jun 20 13:29:31 1991 UTC (33 years, 4 months ago) by greg
Branch: MAIN
Changes since 1.5: +5 -0 lines
Diff to previous 1.5 , to selected 2.29
added revf member to ray structure for dynamic evaluation

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu May 23 08:12:57 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.4: +6 -0 lines
Diff to previous 1.4 , to selected 2.29
added MAXDIM

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Dec 15 16:41:44 1990 UTC (33 years, 10 months ago) by greg
Branch: MAIN
Changes since 1.3: +2 -5 lines
Diff to previous 1.3 , to selected 2.29
changed handling of matrix transformations with new MAT4 & XF types

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Thu Mar 22 20:07:01 1990 UTC (34 years, 7 months ago) by greg
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 , to selected 2.29
added rt field for effective ray length

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Apr 11 13:16:43 1989 UTC (35 years, 6 months ago) by greg
Branch: MAIN
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 , to selected 2.29
added forward object transform

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu Feb 2 10:41:14 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