ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/func.c
Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Thu Apr 2 18:00:34 2020 UTC (4 years, 7 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 2.37: +3 -2 lines
Diff to previous 2.37 , to selected 1.23
Added warning about assigning non-constant to constant variable

Revision 2.37 - (view) (download) (annotate) - [select for diffs]
Sat Mar 14 16:25:46 2020 UTC (4 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.36: +2 -2 lines
Diff to previous 2.36 , to selected 1.23
Allow for colon as separator in parameter settings

Revision 2.36 - (view) (download) (annotate) - [select for diffs]
Thu Mar 12 17:19:18 2020 UTC (4 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.35: +2 -2 lines
Diff to previous 2.35 , to selected 1.23
Added precautionary testing when checking for FHUGE

Revision 2.35 - (view) (download) (annotate) - [select for diffs]
Sat Aug 10 00:45:21 2019 UTC (5 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.34: +5 -17 lines
Diff to previous 2.34 , to selected 1.23
Simplified set_eparams() by assuming a static string argument

Revision 2.34 - (view) (download) (annotate) - [select for diffs]
Sat May 13 00:26:27 2017 UTC (7 years, 6 months ago) by greg
Branch: MAIN
CVS Tags: rad5R1, rad5R2
Changes since 2.33: +2 -1 lines
Diff to previous 2.33 , to selected 1.23
Added unnecessary but logical increment to eclock

Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Sat May 13 00:09:53 2017 UTC (7 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.32: +1 -3 lines
Diff to previous 2.32 , to selected 1.23
Removed unnecessary test

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Wed Apr 27 21:11:32 2016 UTC (8 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.31: +20 -6 lines
Diff to previous 2.31 , to selected 1.23
Future bug-proofing, should have no effect on behavior or performance

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Tue Mar 22 03:56:17 2016 UTC (8 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.30: +4 -4 lines
Diff to previous 2.30 , to selected 1.23
Made error messages more consistent when library file not found

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Wed May 20 13:16:20 2015 UTC (9 years, 5 months ago) by greg
Branch: MAIN
CVS Tags: rad5R0
Changes since 2.29: +2 -1 lines
Diff to previous 2.29 , to selected 1.23
Fixed include dependency

Revision 2.29 - (view) (download) (annotate) - [select for diffs]
Wed May 20 12:58:30 2015 UTC (9 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.28: +47 -1 lines
Diff to previous 2.28 , to selected 1.23
Added appropriate setting of ray parameters for bin rcontrib evaluation

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Tue May 19 11:49:05 2015 UTC (9 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.27: +5 -2 lines
Diff to previous 2.27 , to selected 1.23
Added error trap for infinite point queries

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Wed Jun 27 16:29:26 2012 UTC (12 years, 4 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2, rad4R2P1, rad4R2P2
Changes since 2.26: +4 -1 lines
Diff to previous 2.26 , to selected 1.23
Added missing initialization call

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Sat Jun 9 07:16:47 2012 UTC (12 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.25: +84 -56 lines
Diff to previous 2.25 , to selected 1.23
Created rcontrib program (eventually to replace rtcontrib)

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Thu Jun 7 18:56:06 2012 UTC (12 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.24: +26 -24 lines
Diff to previous 2.24 , to selected 1.23
Added ability to set material to NULL in setfunc()

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Tue Feb 22 16:45:12 2011 UTC (13 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad4R1
Changes since 2.23: +1 -3 lines
Diff to previous 2.23 , to selected 1.23
Fixed a few compile errors due to code reorg

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

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, rad3R7P1, rad3R7P2, rad3R8, rad3R9
Changes since 2.21: +28 -27 lines
Diff to previous 2.21 , to selected 1.23
Continued ANSIfication. There are only bits and pieces left now.

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Thu Feb 12 18:55:50 2004 UTC (20 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.20: +3 -1 lines
Diff to previous 2.20 , to selected 1.23
Moved paths.h out of rtio.h and included it manually where R_OK was needed

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Mon Aug 4 22:37:53 2003 UTC (21 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.19: +5 -5 lines
Diff to previous 2.19 , to selected 1.23
Added prototype for LIBR function pointer in calcomp.h

Revision 2.19 - (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.18: +3 -3 lines
Diff to previous 2.18 , to selected 1.23
Eliminated copystruct() macro, which is unnecessary in ANSI.
Reduced ambiguity warnings for nested if/if/else clauses.

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Tue May 13 17:58:33 2003 UTC (21 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.17: +1 -1 lines
Diff to previous 2.17 , to selected 1.23
Changed (char *) casts for memory copies to (void *) and other fixes

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Wed Apr 23 01:31:50 2003 UTC (21 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.16: +12 -12 lines
Diff to previous 2.16 , to selected 1.23
Fixed bug in mesh (u,v) local coordinate indexing and old bug in I[xyz] value

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

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

Revision 2.14 - (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.13: +68 -14 lines
Diff to previous 2.13 , to selected 1.23
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.13 - (view) (download) (annotate) - [select for diffs]
Thu Nov 2 17:38:05 1995 UTC (29 years ago) by greg
Branch: MAIN
Changes since 2.12: +5 -18 lines
Diff to previous 2.12 , to selected 1.23
added raydist() function

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Thu Apr 14 04:50:29 1994 UTC (30 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.11: +2 -2 lines
Diff to previous 2.11 , to selected 1.23
changed extern char *libpath to extern char *getlibpath()

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Wed Sep 29 10:39:40 1993 UTC (31 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.10: +1 -0 lines
Diff to previous 2.10 , to selected 1.23
added fprism

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Tue Aug 3 12:04:58 1993 UTC (31 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.9: +1 -1 lines
Diff to previous 2.9 , to selected 1.23
minor optimization in use of REFVNAME (macro -> char constant)

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

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Mon Mar 8 12:37:23 1993 UTC (31 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.7: +4 -4 lines
Diff to previous 2.7 , to selected 1.23
portability fixes (removed gcc warnings)

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Sat Sep 26 08:10:41 1992 UTC (32 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.6: +7 -0 lines
Diff to previous 2.6 , to selected 1.23
fixed bug to catch illegal calls to chanvalue() and l_arg()

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Tue Mar 3 13:58:12 1992 UTC (32 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.5: +11 -3 lines
Diff to previous 2.5 , to selected 1.23
added Ts variable for single ray (or shadow ray) distance

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Wed Feb 5 09:23:38 1992 UTC (32 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.4: +2 -2 lines
Diff to previous 2.4 , to selected 1.23
minor improvements to getfunc()

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Sat Jan 4 19:53:25 1992 UTC (32 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.3: +2 -2 lines
Diff to previous 2.3 , to selected 1.23
minor improvement in error message

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Tue Dec 24 17:43:43 1991 UTC (32 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.2: +2 -2 lines
Diff to previous 2.2 , to selected 1.23
minor cosmetic surgery

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Mon Nov 25 09:51:00 1991 UTC (32 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.1: +146 -79 lines
Diff to previous 2.1 , to selected 1.23
changed function file calls to allow expressions instead of just vars

Revision 2.1 - (view) (download) (annotate) - [select for diffs]
Tue Nov 12 17:08:46 1991 UTC (33 years 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) - [selected]
Fri Aug 9 08:26:02 1991 UTC (33 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
changed location of context mark for locals (again!)

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Aug 8 15:41:14 1991 UTC (33 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.21: +9 -5 lines
Diff to previous 1.21 , to selected 1.23
added special case for "." meaning no function file

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Thu Aug 8 13:08:01 1991 UTC (33 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.20: +34 -19 lines
Diff to previous 1.20 , to selected 1.23
added contexts to function files

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Wed Jul 17 10:09:24 1991 UTC (33 years, 4 months ago) by greg
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 , to selected 1.23
changed position of initfile loading to catch conflicts

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Wed Jun 19 15:08:39 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.18: +21 -1 lines
Diff to previous 1.18 , to selected 1.23
added erf() and erfc() to function complement

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Jun 18 08:59:52 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 , to selected 1.23
put in test to guarantee range of dot product as [-1,1]

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Jun 17 08:51:33 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 , to selected 1.23
added return value to setfunc() and setmap():
returns 1 if setting was made, 0 if function already set

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Jun 17 08:28:26 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.15: +5 -0 lines
Diff to previous 1.15 , to selected 1.23
reinstated repeat call test in setmap()

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Fri May 24 13:52:10 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.14: +2 -8 lines
Diff to previous 1.14 , to selected 1.23
changed initialization for noise functions

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Apr 23 15:46:22 1991 UTC (33 years, 6 months ago) by greg
Branch: MAIN
Changes since 1.13: +7 -7 lines
Diff to previous 1.13 , to selected 1.23
changed funset() parameters

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat Jan 12 18:01:19 1991 UTC (33 years, 10 months ago) by greg
Branch: MAIN
Changes since 1.12: +27 -17 lines
Diff to previous 1.12 , to selected 1.23
fixed incorrect test for repeat call
added identity transform special case

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Dec 15 15:03:26 1990 UTC (33 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.11: +37 -35 lines
Diff to previous 1.11 , to selected 1.23
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]
Wed Dec 12 21:57:50 1990 UTC (33 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.10: +0 -1 lines
Diff to previous 1.10 , to selected 1.23
deleted unused #undef statement

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sat Aug 4 11:47:46 1990 UTC (34 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.9: +15 -15 lines
Diff to previous 1.9 , to selected 1.23
changed ordering in chanvalue()

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Jul 19 11:17:12 1990 UTC (34 years, 4 months ago) by greg
Branch: MAIN
Changes since 1.8: +8 -8 lines
Diff to previous 1.8 , to selected 1.23
added line numbers to error reporting in cal functions

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sat Apr 7 16:12:56 1990 UTC (34 years, 7 months ago) by greg
Branch: MAIN
Changes since 1.7: +47 -26 lines
Diff to previous 1.7 , to selected 1.23
added direct access to coordinate transformation

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Oct 5 07:23:22 1989 UTC (35 years, 1 month ago) by greg
Branch: MAIN
Changes since 1.6: +0 -2 lines
Diff to previous 1.6 , to selected 1.23
Eliminated need to initialize matrix for call to xf() and invxf()

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Jul 27 22:25:13 1989 UTC (35 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 , to selected 1.23
Changed getpath to check permissions

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Apr 19 21:36:11 1989 UTC (35 years, 7 months ago) by greg
Branch: MAIN
Changes since 1.4: +5 -6 lines
Diff to previous 1.4 , to selected 1.23
minor change to loop

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Apr 11 13:30:29 1989 UTC (35 years, 7 months ago) by greg
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 , to selected 1.23
fixed bugs in instance mapping of modifiers

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Mar 14 10:41:21 1989 UTC (35 years, 8 months ago) by greg
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 , to selected 1.23
changed order of parameters to setmap() for consistency with xfm()

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Feb 21 14:56:17 1989 UTC (35 years, 8 months ago) by greg
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 , to selected 1.23
portability fixes

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu Feb 2 10:41:23 1989 UTC (35 years, 9 months ago) by greg
Branch: MAIN
Diff to selected 1.23
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