ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/bsdf2rad.c
Revision 2.39 - (view) (download) (annotate) - [select for diffs]
Tue Dec 7 23:55:02 2021 UTC (2 years, 6 months ago) by greg
Branch: MAIN
CVS Tags: HEAD, rad5R4
Changes since 2.38: +3 -3 lines
Diff to previous 2.38
fix: Repaired issue with reciprocity and BSDF sampling, thanks to Jon Sargent

Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 17:50:18 2021 UTC (3 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.37: +5 -4 lines
Diff to previous 2.37
fix: Allow different front/back diffuse reflectance in BSDF library

Revision 2.37 - (view) (download) (annotate) - [select for diffs]
Fri Feb 12 00:53:56 2021 UTC (3 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.36: +4 -6 lines
Diff to previous 2.36
refactor: Created comparison macros for RREAL and FVECT types

Revision 2.36 - (view) (download) (annotate) - [select for diffs]
Fri Jul 19 17:37:56 2019 UTC (4 years, 11 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 2.35: +2 -4 lines
Diff to previous 2.35
Moved declarations and definitions for header.c from resolu.h to rtio.h

Revision 2.35 - (view) (download) (annotate) - [select for diffs]
Thu Aug 2 18:33:42 2018 UTC (5 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad5R2
Changes since 2.34: +2 -2 lines
Diff to previous 2.34
Created MAXFMTLEN to guard against buffer overrun attacks in header input

Revision 2.34 - (view) (download) (annotate) - [select for diffs]
Fri Jul 20 00:50:40 2018 UTC (5 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.33: +44 -28 lines
Diff to previous 2.33
Added "-r" option to bsdf2rad and bsdfview to fix plotting range

Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Mon Oct 2 22:11:32 2017 UTC (6 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.32: +7 -4 lines
Diff to previous 2.32
Fixed bug caused by too-short char array

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Thu Aug 3 19:50:12 2017 UTC (6 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad5R1
Changes since 2.31: +13 -9 lines
Diff to previous 2.31
Added numbering to arrows

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Wed May 31 02:41:52 2017 UTC (7 years ago) by greg
Branch: MAIN
Changes since 2.30: +3 -3 lines
Diff to previous 2.30
Fixed issue with polar region

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Mon May 15 19:17:27 2017 UTC (7 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.29: +3 -2 lines
Diff to previous 2.29
Fixed issue with zero minimum BSDF values

Revision 2.29 - (view) (download) (annotate) - [select for diffs]
Wed Apr 12 05:01:45 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.28: +8 -8 lines
Diff to previous 2.28
Switched to brighter arrow tips

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Wed Apr 12 04:27:04 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.27: +4 -3 lines
Diff to previous 2.27
Added missing case in BSDF file name

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Wed Apr 12 04:15:08 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.26: +16 -9 lines
Diff to previous 2.26
Keep file open until done with it

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Wed Apr 12 03:35:01 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.25: +5 -6 lines
Diff to previous 2.25
Removed stray line of code

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Wed Apr 12 00:31:40 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.24: +50 -104 lines
Diff to previous 2.24
Simplified code a bit

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Tue Apr 11 18:26:55 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.23: +16 -10 lines
Diff to previous 2.23
Fixed BSDF material orientation for back side

Revision 2.23 - (view) (download) (annotate) - [select for diffs]
Tue Apr 11 03:47:23 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.22: +10 -6 lines
Diff to previous 2.22
Made directional arrows more transparent

Revision 2.22 - (view) (download) (annotate) - [select for diffs]
Tue Apr 11 02:21:37 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.21: +19 -9 lines
Diff to previous 2.21
Fixed issue with up vector that was misorienting 3-D plots

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Mon Apr 10 15:44:19 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.20: +9 -12 lines
Diff to previous 2.20
Eliminated use of antimatter in favor of genrev

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Mon Apr 10 06:09:14 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.19: +26 -28 lines
Diff to previous 2.19
Swapped Front & Back hemisphere placement and additional tweaks

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Mon Apr 10 01:31:37 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.18: +45 -36 lines
Diff to previous 2.18
Corrected angles (I hope)

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Sun Apr 9 22:51:19 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.17: +14 -15 lines
Diff to previous 2.17
More tweaks and bug fixes

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Sun Apr 9 22:06:07 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.16: +5 -5 lines
Diff to previous 2.16
Made a couple of minor tweaks to improve output

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Sun Apr 9 21:39:26 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.15: +773 -139 lines
Diff to previous 2.15
Completely rewrote bsdf2rad for visualizating BSDFs using lots of 3-D plots

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

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Thu Nov 20 19:10:48 2014 UTC (9 years, 6 months ago) by greg
Branch: MAIN
CVS Tags: rad5R0
Changes since 2.13: +3 -1 lines
Diff to previous 2.13
Added indication of incident direction in output

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Mon Sep 15 00:54:03 2014 UTC (9 years, 9 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2P1, rad4R2P2
Changes since 2.12: +7 -5 lines
Diff to previous 2.12
Fixed issue with debug reporting of hemispherical reflection/transmission

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Thu Aug 21 10:33:48 2014 UTC (9 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.11: +3 -4 lines
Diff to previous 2.11
Added grazing angle extrapolation to BSDF interpolation

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Sun Mar 30 17:28:04 2014 UTC (10 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2
Changes since 2.10: +5 -1 lines
Diff to previous 2.10
Fix for Windows and Unix

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Sun Mar 30 17:23:28 2014 UTC (10 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.9: +5 -3 lines
Diff to previous 2.9
Fixed handling of zero BSDF function evaluations

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Mon Mar 24 06:07:46 2014 UTC (10 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.8: +12 -6 lines
Diff to previous 2.8
Minor fixes

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Mon Mar 24 05:36:40 2014 UTC (10 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.7: +3 -2 lines
Diff to previous 2.7
Added numbering to surface name

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Thu Feb 20 09:21:32 2014 UTC (10 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.6: +3 -3 lines
Diff to previous 2.6
Fixed problems where BSDF evaluates to 0.

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Mon Feb 17 21:56:22 2014 UTC (10 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.5: +2 -2 lines
Diff to previous 2.5
Fixed problem with zero min_bsdf value

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Tue Nov 26 17:33:55 2013 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.4: +2 -1 lines
Diff to previous 2.4
Added missing include file needed by Windows

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Thu Nov 21 20:09:26 2013 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.3: +90 -30 lines
Diff to previous 2.3
Added ability to create models from XML files

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Thu Oct 31 18:19:18 2013 UTC (10 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.2: +5 -1 lines
Diff to previous 2.2
Made debug statements optional

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Thu Oct 31 18:03:13 2013 UTC (10 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.1: +30 -13 lines
Diff to previous 2.1
Added -p option to output peak positions as spheres

Revision 2.1 - (view) (download) (annotate) - [select for diffs]
Tue Oct 22 04:29:27 2013 UTC (10 years, 7 months ago) by greg
Branch: MAIN
Added bsdf2rad test program and fixed bug in normalization for interpolant

Convenience Links

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