ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/raytrace.c
Revision 2.45 - (view) (download) (annotate) - [select for diffs]
Tue Mar 30 16:13:01 2004 UTC (20 years ago) by schorsch
Branch: MAIN
CVS Tags: rad3R6, rad3R6P1
Changes since 2.44: +94 -74 lines
Diff to previous 2.44
Continued ANSIfication. There are only bits and pieces left now.

Revision 2.44 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 01:50:02 2003 UTC (20 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.43: +1 -26 lines
Diff to previous 2.43
Created a source occluder cache to accelerate shadow testing.

Revision 2.43 - (view) (download) (annotate) - [select for diffs]
Tue Sep 9 03:28:43 2003 UTC (20 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.42: +2 -1 lines
Diff to previous 2.42
Bug fix for -i option using antimatter.

Revision 2.42 - (view) (download) (annotate) - [select for diffs]
Sun Jul 27 22:12:03 2003 UTC (20 years, 8 months ago) by schorsch
Branch: MAIN
Changes since 2.41: +2 -2 lines
Diff to previous 2.41
Added grouping parens to reduce ambiguity warnings.

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

Revision 2.40 - (view) (download) (annotate) - [select for diffs]
Thu Jun 26 00:58:10 2003 UTC (20 years, 9 months ago) by schorsch
Branch: MAIN
Changes since 2.39: +2 -2 lines
Diff to previous 2.39
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.39 - (view) (download) (annotate) - [select for diffs]
Fri May 9 22:18:03 2003 UTC (20 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.38: +2 -1 lines
Diff to previous 2.38
Added missing prototype for raytexture()

Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Tue Mar 11 19:29:05 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: rad3R5
Changes since 2.37: +2 -1 lines
Diff to previous 2.37
Changed alias handling to allow tracking, fixed freeobjects() and do_irrad bugs

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

Revision 2.36 - (view) (download) (annotate) - [select for diffs]
Tue Mar 4 19:02:22 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.35: +23 -10 lines
Diff to previous 2.35
Modified new ray hit interface to check whole sets at a time

Revision 2.35 - (view) (download) (annotate) - [select for diffs]
Tue Feb 25 02:47:23 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.34: +1 -56 lines
Diff to previous 2.34
Replaced inline copyright notice with #include "copyright.h"

Revision 2.34 - (view) (download) (annotate) - [select for diffs]
Sat Feb 22 02:07:29 2003 UTC (21 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.33: +76 -24 lines
Diff to previous 2.33
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.33 - (view) (download) (annotate) - [select for diffs]
Tue Sep 15 09:52:39 1998 UTC (25 years, 7 months ago) by gwlarson
Branch: MAIN
Changes since 2.32: +17 -5 lines
Diff to previous 2.32
eliminated unecessary modifier loop checking (I hope!)

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Thu Aug 6 10:30:38 1998 UTC (25 years, 8 months ago) by gwlarson
Branch: MAIN
Changes since 2.31: +2 -2 lines
Diff to previous 2.31
minor cosmetic fix to make code easier to read

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Wed Jun 17 12:53:06 1998 UTC (25 years, 10 months ago) by gwlarson
Branch: MAIN
Changes since 2.30: +11 -3 lines
Diff to previous 2.30
improved the way ray weights are computed for participating media

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Wed Apr 29 09:50:41 1998 UTC (25 years, 11 months ago) by gwlarson
Branch: MAIN
Changes since 2.29: +2 -2 lines
Diff to previous 2.29
fixed bug in mixture calculation

Revision 2.29 - (view) (download) (annotate) - [select for diffs]
Tue Dec 23 18:25:15 1997 UTC (26 years, 4 months ago) by gregl
Branch: MAIN
Changes since 2.28: +1 -2 lines
Diff to previous 2.28
changed behavior to return FHUGE in r->rt when ray hits nothing

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Fri Mar 7 16:58:54 1997 UTC (27 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.27: +3 -1 lines
Diff to previous 2.27
added object number to ray structure for instance tracking

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Wed Apr 24 16:27:56 1996 UTC (28 years ago) by greg
Branch: MAIN
Changes since 2.26: +3 -6 lines
Diff to previous 2.26
removed distance mung for FHUGE

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Wed Apr 17 14:06:35 1996 UTC (28 years ago) by greg
Branch: MAIN
Changes since 2.25: +16 -14 lines
Diff to previous 2.25
changed albedo to 3-color parameter

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Sat Mar 30 11:18:36 1996 UTC (28 years ago) by greg
Branch: MAIN
Changes since 2.24: +5 -5 lines
Diff to previous 2.24
fixed improper use of salbedo in rayparticipate

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Thu Mar 21 15:33:05 1996 UTC (28 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.23: +21 -32 lines
Diff to previous 2.23
changed mixtures so that mixing material with void is allowed
also altered general behavoir so that surfaces without materials are invis.

Revision 2.23 - (view) (download) (annotate) - [select for diffs]
Fri Dec 8 18:49:09 1995 UTC (28 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.22: +51 -3 lines
Diff to previous 2.22
added M_MIST (mist) material and global participating medium

Revision 2.22 - (view) (download) (annotate) - [select for diffs]
Wed Dec 6 12:07:50 1995 UTC (28 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.21: +2 -3 lines
Diff to previous 2.21
changed aft clipping plane to work through transparent surfaces

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Thu Nov 2 17:38:02 1995 UTC (28 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.20: +15 -0 lines
Diff to previous 2.20
added raydist() function

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Fri Sep 29 10:46:12 1995 UTC (28 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.19: +5 -2 lines
Diff to previous 2.19
improved error message for conflicting materials

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Thu Jan 26 15:34:55 1995 UTC (29 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.18: +3 -3 lines
Diff to previous 2.18
bug fix for surfaces coincident with octree faces

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Fri Jan 6 14:00:47 1995 UTC (29 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.17: +4 -1 lines
Diff to previous 2.17
added test against aft plane in empty voxels

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Wed Dec 21 09:10:23 1994 UTC (29 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.16: +15 -11 lines
Diff to previous 2.16
bug fixes from last change

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Tue Dec 20 20:18:22 1994 UTC (29 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.15: +19 -4 lines
Diff to previous 2.15
added -vo and -va (fore and aft clipping plane) view options

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Mon Feb 28 08:54:02 1994 UTC (30 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.14: +1 -1 lines
Diff to previous 2.14
added missing value for return statement in rayshade()

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Tue Jan 25 10:18:25 1994 UTC (30 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.13: +1 -1 lines
Diff to previous 2.13
fixed bug for rays that hit nothing

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Mon Jan 24 11:51:31 1994 UTC (30 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.12: +9 -4 lines
Diff to previous 2.12
fixed bug in raymixture() when mixing materials with coef=0

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Thu Jan 13 10:43:34 1994 UTC (30 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.11: +13 -20 lines
Diff to previous 2.11
bug fixes associated with material mixtures

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Thu Jan 13 09:45:11 1994 UTC (30 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.10: +1 -1 lines
Diff to previous 2.10
added missing material function return values

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Wed Jan 12 20:42:34 1994 UTC (30 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.9: +4 -2 lines
Diff to previous 2.9
minor bug fixes

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Wed Jan 12 16:52:08 1994 UTC (30 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.8: +58 -43 lines
Diff to previous 2.8
made mixtures work with materials

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Thu Dec 9 09:34:08 1993 UTC (30 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.7: +2 -2 lines
Diff to previous 2.7
removed use of FTINY that was causing errors with -DSMLFLT in localhit()

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Wed Jul 21 15:36:13 1993 UTC (30 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.6: +2 -3 lines
Diff to previous 2.6
fixed handling of void surfaces, which didn't work for instances

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Tue May 25 10:30:01 1993 UTC (30 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.5: +2 -2 lines
Diff to previous 2.5
changed ray counters to unsigned long values

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Mon Mar 8 12:37:30 1993 UTC (31 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.4: +2 -0 lines
Diff to previous 2.4
portability fixes (removed gcc warnings)

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Tue Feb 23 13:57:11 1993 UTC (31 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.3: +2 -0 lines
Diff to previous 2.3
made void surfaces legal

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Tue Jan 26 09:28:00 1993 UTC (31 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.2: +24 -14 lines
Diff to previous 2.2
moved check exclude set from ray structure to localhit()

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Mon Jan 25 15:16:59 1993 UTC (31 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.1: +30 -6 lines
Diff to previous 2.1
modified OBJREC and RAY structures to avoid redundant intersection
testing using sets instead of flags

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

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Wed Oct 23 13:43:45 1991 UTC (32 years, 6 months ago) by greg
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
added FLOAT definition to better control size of structures

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Wed Jul 17 12:38:48 1991 UTC (32 years, 9 months ago) by greg
Branch: MAIN
Changes since 1.21: +8 -1 lines
Diff to previous 1.21
added rayclear() function

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Thu Jun 20 13:29:32 1991 UTC (32 years, 10 months ago) by greg
Branch: MAIN
Changes since 1.20: +5 -3 lines
Diff to previous 1.20
added revf member to ray structure for dynamic evaluation

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Jun 17 08:26:18 1991 UTC (32 years, 10 months ago) by greg
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19
added raynum counter and reinstated repeat call test in setfunc()

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Fri Jun 14 10:34:26 1991 UTC (32 years, 10 months ago) by greg
Branch: MAIN
Changes since 1.18: +1 -0 lines
Diff to previous 1.18
changed initialization of effective ray length

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed May 29 11:09:23 1991 UTC (32 years, 10 months ago) by greg
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
fixed bug related to distant sources and -i option

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri May 10 08:51:06 1991 UTC (32 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.16: +3 -1 lines
Diff to previous 1.16
fixed bug introduced by better trans distance comp.

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Thu May 2 11:58:20 1991 UTC (32 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.15: +10 -8 lines
Diff to previous 1.15
added -i option for irradiance calculation

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Wed May 1 11:17:01 1991 UTC (32 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.14: +20 -1 lines
Diff to previous 1.14
added -i option for irradiance calculation

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Feb 12 12:57:07 1991 UTC (33 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
changed allocation of transformations in newrayxf() to bmalloc

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat Jan 12 14:05:01 1991 UTC (33 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.12: +0 -1 lines
Diff to previous 1.12
eliminated what should be redundant assignment of rox in rayorigin

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Dec 15 15:03:32 1990 UTC (33 years, 4 months ago) by greg
Branch: MAIN
Changes since 1.11: +38 -1 lines
Diff to previous 1.11
changed handling of matrix transformations with new MAT4 & XF types
dynamic allocation of ray transformations with newrayxf()
added missing light source vector transformation to m_brdf.c

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Aug 18 04:25:59 1990 UTC (33 years, 8 months ago) by greg
Branch: MAIN
Changes since 1.10: +24 -26 lines
Diff to previous 1.10
simplified direction flag in raymove

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Mar 27 11:40:05 1990 UTC (34 years, 1 month ago) by greg
Branch: MAIN
Changes since 1.9: +2 -0 lines
Diff to previous 1.9
Added rt field to RAY structure for more accurate z-buffering

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 08:47:30 1990 UTC (34 years, 1 month ago) by greg
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
comment change

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Jan 2 15:16:14 1990 UTC (34 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.7: +13 -7 lines
Diff to previous 1.7
Fixed bug in source ray initialization in direct()

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Wed Nov 29 14:35:25 1989 UTC (34 years, 4 months ago) by greg
Branch: MAIN
Changes since 1.6: +5 -7 lines
Diff to previous 1.6
fixed clip test causing problem with light sources

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Mon Oct 16 18:57:02 1989 UTC (34 years, 6 months ago) by greg
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
Reduced preposterous MAXLOOP value

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Jul 19 18:46:59 1989 UTC (34 years, 9 months ago) by greg
Branch: MAIN
Changes since 1.4: +7 -6 lines
Diff to previous 1.4
changed location of clip test

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun May 7 17:50:51 1989 UTC (34 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3
changed tests in rayshade

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed Apr 19 22:24:28 1989 UTC (35 years ago) by greg
Branch: MAIN
Changes since 1.2: +0 -2 lines
Diff to previous 1.2
moved setting of ray transformation to intersection routines (bug)

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Apr 11 13:30:31 1989 UTC (35 years ago) by greg
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1
fixed bugs in instance mapping of modifiers

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

Convenience Links

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