ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/aniso.c
Revision 2.56 - (view) (download) (annotate) - [select for diffs]
Sat Jan 25 18:27:39 2014 UTC (10 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2, rad4R2P1, rad4R2P2
Changes since 2.55: +2 -2 lines
Diff to previous 2.55
Enabled back face invisibility (-bv0) for transparent/translucent types

Revision 2.55 - (view) (download) (annotate) - [select for diffs]
Sun Jul 29 21:56:16 2012 UTC (11 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.54: +18 -20 lines
Diff to previous 2.54
Bug fixes in Ashikhmin-Shirley and code cleanup

Revision 2.54 - (view) (download) (annotate) - [select for diffs]
Sun Jul 29 19:01:39 2012 UTC (11 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.53: +21 -25 lines
Diff to previous 2.53
Added ashik2 type for anisotropic Ashikhmin-Shirley BRDF model

Revision 2.53 - (view) (download) (annotate) - [select for diffs]
Sat Jun 9 07:16:47 2012 UTC (11 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.52: +3 -3 lines
Diff to previous 2.52
Created rcontrib program (eventually to replace rtcontrib)

Revision 2.52 - (view) (download) (annotate) - [select for diffs]
Wed Oct 26 03:44:56 2011 UTC (12 years, 5 months ago) by greg
Branch: MAIN
CVS Tags: rad4R1
Changes since 2.51: +4 -5 lines
Diff to previous 2.51
Fixed underestimation of reflection in non-metals below -st threshold

Revision 2.51 - (view) (download) (annotate) - [select for diffs]
Fri Feb 18 00:40:25 2011 UTC (13 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.50: +3 -3 lines
Diff to previous 2.50
Major code reorg, moving mgflib to common and introducing BSDF material

Revision 2.50 - (view) (download) (annotate) - [select for diffs]
Wed Oct 13 15:29:02 2010 UTC (13 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.49: +47 -36 lines
Diff to previous 2.49
Corrected issues with W-G-M-D weights

Revision 2.49 - (view) (download) (annotate) - [select for diffs]
Sun Oct 10 22:31:45 2010 UTC (13 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.48: +3 -3 lines
Diff to previous 2.48
Made -ss number of samples more consistent

Revision 2.48 - (view) (download) (annotate) - [select for diffs]
Sun Oct 10 19:49:17 2010 UTC (13 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.47: +12 -13 lines
Diff to previous 2.47
Fixes to sample generation for new -ss option

Revision 2.47 - (view) (download) (annotate) - [select for diffs]
Fri Oct 8 22:08:26 2010 UTC (13 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.46: +68 -32 lines
Diff to previous 2.46
Changed -sj option to -ss and added multiple specular sampling

Revision 2.46 - (view) (download) (annotate) - [select for diffs]
Fri Oct 1 18:11:18 2010 UTC (13 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.45: +10 -8 lines
Diff to previous 2.45
Updated reflection model to match paper by Geisler-Moroder an Duer

Revision 2.45 - (view) (download) (annotate) - [select for diffs]
Sun Sep 26 15:51:15 2010 UTC (13 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.44: +3 -2 lines
Diff to previous 2.44
Added checknorm() macro to avoid normalization errors with gcc --fast-math

Revision 2.44 - (view) (download) (annotate) - [select for diffs]
Fri May 7 17:45:57 2010 UTC (13 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.43: +2 -2 lines
Diff to previous 2.43
Went back to original normalization for transmitted component

Revision 2.43 - (view) (download) (annotate) - [select for diffs]
Tue Apr 19 01:15:06 2005 UTC (18 years, 11 months ago) by greg
Branch: MAIN
CVS Tags: rad3R7P1, rad3R7P2, rad3R8, rad3R9, rad4R0
Changes since 2.42: +11 -10 lines
Diff to previous 2.42
Extensive changes to enable rtrace -oTW option for tracking ray contributions

Revision 2.42 - (view) (download) (annotate) - [select for diffs]
Mon Sep 20 17:32:04 2004 UTC (19 years, 6 months ago) by greg
Branch: MAIN
CVS Tags: rad3R6, rad3R6P1
Changes since 2.41: +7 -9 lines
Diff to previous 2.41
Corrected Gaussian reflectance model normalization (cosine factor)

Revision 2.41 - (view) (download) (annotate) - [select for diffs]
Tue Mar 30 16:13:00 2004 UTC (20 years ago) by schorsch
Branch: MAIN
Changes since 2.40: +26 -22 lines
Diff to previous 2.40
Continued ANSIfication. There are only bits and pieces left now.

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

Revision 2.39 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 17:26:58 2003 UTC (21 years ago) by greg
Branch: MAIN
CVS Tags: rad3R5
Changes since 2.38: +1 -2 lines
Diff to previous 2.38
Returned old behavior with flat surfaces and improved documentation

Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 04:59:05 2003 UTC (21 years ago) by greg
Branch: MAIN
Changes since 2.37: +3 -2 lines
Diff to previous 2.37
Numerous bug fixes in new mesh code

Revision 2.37 - (view) (download) (annotate) - [select for diffs]
Wed Mar 5 16:16:52 2003 UTC (21 years ago) by greg
Branch: MAIN
Changes since 2.36: +1 -1 lines
Diff to previous 2.36
Made errno checking explicit after math calls to avoid spurious warnings

Revision 2.36 - (view) (download) (annotate) - [select for diffs]
Mon Mar 3 00:10:51 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.35: +12 -11 lines
Diff to previous 2.35
Changed call order for proper function of two-sided, textured surfaces

Revision 2.35 - (view) (download) (annotate) - [select for diffs]
Tue Feb 25 02:47:22 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:28 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.33: +65 -13 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]
Wed Dec 16 18:14:57 1998 UTC (25 years, 3 months ago) by gwlarson
Branch: MAIN
Changes since 2.32: +7 -7 lines
Diff to previous 2.32
switched to faster table-lookup for sin() and cos() functions

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Wed Apr 24 15:47:25 1996 UTC (27 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.31: +69 -53 lines
Diff to previous 2.31
changed code to iterate until specular sample succeeds (MAXITER)

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Wed Nov 22 09:27:51 1995 UTC (28 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.30: +6 -1 lines
Diff to previous 2.30
fixed problem with back side normal computation for ambient()

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Mon Nov 6 12:03:20 1995 UTC (28 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.29: +2 -2 lines
Diff to previous 2.29
added texturing to ambient value computation using extambient()

Revision 2.29 - (view) (download) (annotate) - [select for diffs]
Fri Sep 15 15:47:32 1995 UTC (28 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.28: +1 -2 lines
Diff to previous 2.28
added isflat() macro and effective ray distance for mirror reflection

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Wed Dec 21 09:51:44 1994 UTC (29 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.27: +10 -3 lines
Diff to previous 2.27
added -bv option for back face visibility (normally on)

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Wed Jan 12 16:46:32 1994 UTC (30 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.26: +3 -1 lines
Diff to previous 2.26
made mixtures work with materials

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Thu Nov 18 09:42:55 1993 UTC (30 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.25: +1 -1 lines
Diff to previous 2.25
minor compiler warning fixes

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Thu May 27 15:27:57 1993 UTC (30 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.24: +2 -14 lines
Diff to previous 2.24
removed approximation to Fresnel reflection, since the direct
component was not being calculated accordingly (BRDF not bidirectional)
changed BRDTfunc arguments and operation, fixed one or two bugs there also

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

Revision 2.23 - (view) (download) (annotate) - [select for diffs]
Fri Feb 12 10:41:05 1993 UTC (31 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.22: +5 -5 lines
Diff to previous 2.22
improved specular component calculation

Revision 2.22 - (view) (download) (annotate) - [select for diffs]
Fri Oct 16 10:20:27 1992 UTC (31 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.21: +2 -2 lines
Diff to previous 2.21
fixed comments in header

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Sun Aug 23 08:48:54 1992 UTC (31 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.20: +2 -2 lines
Diff to previous 2.20
minor optimization

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Wed May 20 14:23:45 1992 UTC (31 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.19: +1 -1 lines
Diff to previous 2.19
fixed normalization of transmitted direct component

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Wed May 20 11:01:40 1992 UTC (31 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.18: +10 -8 lines
Diff to previous 2.18
made computation of transmitted specular slightly more efficient

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Tue May 19 17:09:06 1992 UTC (31 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.17: +21 -20 lines
Diff to previous 2.17
fixed screwed-up normalization in sample generation

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Sat May 16 08:37:03 1992 UTC (31 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.16: +3 -4 lines
Diff to previous 2.16
changed effect of perturbation and roughness on transmission

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Fri May 15 13:07:58 1992 UTC (31 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.15: +47 -24 lines
Diff to previous 2.15
bug fixes in specular transmission

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Thu May 14 11:32:09 1992 UTC (31 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.14: +2 -2 lines
Diff to previous 2.14
reinstated random testing of specular threshold

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Wed Apr 22 09:05:27 1992 UTC (31 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.13: +7 -0 lines
Diff to previous 2.13
reinstated Fresnel factors for roughened surfaces

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Mon Apr 20 09:25:47 1992 UTC (31 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.12: +2 -2 lines
Diff to previous 2.12
corrected normalization of light source highlights

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Thu Apr 16 13:29:06 1992 UTC (31 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.11: +4 -12 lines
Diff to previous 2.11
fixed bug that caused ambient to be overcounted for polished surf's
changed use of Fresnel correction so it will only affect polished surf's

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Tue Mar 3 16:20:00 1992 UTC (32 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.10: +2 -1 lines
Diff to previous 2.10
precautionary test before accessing r->ro member

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Fri Feb 21 14:50:23 1992 UTC (32 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.9: +13 -48 lines
Diff to previous 2.9
bug fixes and removed handling of perfectly smooth surfaces

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Thu Jan 30 11:37:04 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.8: +2 -4 lines
Diff to previous 2.8
changed urand() call to frandom() for specular threshold testing

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Thu Jan 16 12:05:32 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.7: +2 -2 lines
Diff to previous 2.7
changed default values and handling of specthresh

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Wed Jan 15 16:59:55 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.6: +28 -1 lines
Diff to previous 2.6
finally added sampling of transmitted specular

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Wed Jan 15 11:41:47 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.5: +38 -35 lines
Diff to previous 2.5
improved safety measures for grazing angles

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Wed Jan 15 11:02:43 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.4: +9 -2 lines
Diff to previous 2.4
added jittering to specular threshold test

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Tue Jan 14 16:16:48 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.3: +26 -5 lines
Diff to previous 2.3
added specular jitter and threshold controls

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Mon Jan 6 18:01:41 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.2: +29 -28 lines
Diff to previous 2.2
fixed semi-infinite loop bug

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Sat Jan 4 23:36:40 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.1: +8 -4 lines
Diff to previous 2.1
changed direct calculation only to widen hightlight for flat surfaces

Revision 2.1 - (view) (download) (annotate) - [select for diffs]
Sat Jan 4 19:52:49 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Initial revision

Convenience Links

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