ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/bsdf2ttree.c
Revision 2.61 - (view) (download) (annotate) - [select for diffs]
Fri Feb 23 03:47:57 2024 UTC (2 months ago) by greg
Branch: MAIN
CVS Tags: HEAD
Changes since 2.60: +2 -1 lines
Diff to previous 2.60
perf: Added array index optimization to calcomp routines

Revision 2.60 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 16:40:57 2023 UTC (7 months, 2 weeks ago) by greg
Branch: MAIN
CVS Tags: rad5R4
Changes since 2.59: +2 -2 lines
Diff to previous 2.59
perf(bsdf2ttree): BREAKING CHANGE - changed reciprocity averaging default from "on" (+a) to "off" (-a)

Revision 2.59 - (view) (download) (annotate) - [select for diffs]
Wed Jul 26 15:50:03 2023 UTC (9 months ago) by greg
Branch: MAIN
Changes since 2.58: +2 -2 lines
Diff to previous 2.58
fix: made it so '+f' works as '+forward' instead of trying to load file

Revision 2.58 - (view) (download) (annotate) - [select for diffs]
Wed Dec 15 01:38:50 2021 UTC (2 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.57: +13 -13 lines
Diff to previous 2.57
refactor: removed prefix from SDdisk2square() and SDsquare2disk() & made consistent

Revision 2.57 - (view) (download) (annotate) - [select for diffs]
Mon Mar 29 17:40:21 2021 UTC (3 years ago) by greg
Branch: MAIN
Changes since 2.56: +3 -5 lines
Diff to previous 2.56
style: line returns where they didn't belong

Revision 2.56 - (view) (download) (annotate) - [select for diffs]
Fri Nov 13 19:21:11 2020 UTC (3 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.55: +62 -57 lines
Diff to previous 2.55
feat(bsdf2ttree): made it so options/parameters may differ per input SIR

Revision 2.55 - (view) (download) (annotate) - [select for diffs]
Wed Oct 28 18:54:21 2020 UTC (3 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.54: +2 -2 lines
Diff to previous 2.54
fix(bsdf2klems, bsdf2ttree): increased command-line buffer to accommodate comments in Windows

Revision 2.54 - (view) (download) (annotate) - [select for diffs]
Mon Oct 26 21:28:18 2020 UTC (3 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.53: +5 -1 lines
Diff to previous 2.53
fix(bsdf2klems, bsdf2ttree): preventing issues on Windows with newlines in commands

Revision 2.53 - (view) (download) (annotate) - [select for diffs]
Mon Oct 26 21:12:20 2020 UTC (3 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.52: +39 -1 lines
Diff to previous 2.52
feat(bsdf2klems, bsdf2ttree): added XML header comments copying useful information from SIR inputs

Revision 2.52 - (view) (download) (annotate) - [select for diffs]
Mon May 18 20:08:57 2020 UTC (3 years, 11 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 2.51: +30 -35 lines
Diff to previous 2.51
Added -n and -s options to bsdf2ttree to control super-sampling

Revision 2.51 - (view) (download) (annotate) - [select for diffs]
Fri May 15 03:02:32 2020 UTC (3 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.50: +2 -2 lines
Diff to previous 2.50
Fixed curly bracket in the wrong place (loop is WAAY too long!)

Revision 2.50 - (view) (download) (annotate) - [select for diffs]
Mon May 11 20:26:58 2020 UTC (3 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.49: +83 -77 lines
Diff to previous 2.49
Hopefully final sampling improvement -- tests for differences on all sides

Revision 2.49 - (view) (download) (annotate) - [select for diffs]
Fri May 8 22:34:21 2020 UTC (3 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.48: +17 -3 lines
Diff to previous 2.48
Forgot to clear the flags from previous row

Revision 2.48 - (view) (download) (annotate) - [select for diffs]
Thu May 7 16:54:10 2020 UTC (3 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.47: +3 -2 lines
Diff to previous 2.47
Different thresholds for interpolant data versus function specification

Revision 2.47 - (view) (download) (annotate) - [select for diffs]
Thu May 7 02:36:37 2020 UTC (3 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.46: +113 -33 lines
Diff to previous 2.46
Various improvements to adaptive sampling method

Revision 2.46 - (view) (download) (annotate) - [select for diffs]
Wed May 6 02:28:21 2020 UTC (3 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.45: +5 -3 lines
Diff to previous 2.45
Increased super-sampling amount and sensitivity

Revision 2.45 - (view) (download) (annotate) - [select for diffs]
Wed May 6 01:30:00 2020 UTC (3 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.44: +20 -12 lines
Diff to previous 2.44
Improved finding of peak in isotropic function (and RBF) input

Revision 2.44 - (view) (download) (annotate) - [select for diffs]
Sat Dec 28 18:05:14 2019 UTC (4 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.43: +1 -2 lines
Diff to previous 2.43
Removed redundant include files

Revision 2.43 - (view) (download) (annotate) - [select for diffs]
Fri May 4 23:56:49 2018 UTC (5 years, 11 months ago) by greg
Branch: MAIN
CVS Tags: rad5R2
Changes since 2.42: +13 -3 lines
Diff to previous 2.42
Added search to -f for genrev, gensurf, genworm, bsdf2klems, bsdf2ttree, & pcomb

Revision 2.42 - (view) (download) (annotate) - [select for diffs]
Thu Jan 4 23:28:54 2018 UTC (6 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.41: +73 -15 lines
Diff to previous 2.41
Added super-sampling for peaky radial basis functions

Revision 2.41 - (view) (download) (annotate) - [select for diffs]
Wed May 31 17:25:21 2017 UTC (6 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad5R1
Changes since 2.40: +16 -11 lines
Diff to previous 2.40
Added {+|-}a option to genBSDF and bsdf2ttree to control reciprocity averaging

Revision 2.40 - (view) (download) (annotate) - [select for diffs]
Fri Feb 17 22:31:49 2017 UTC (7 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.39: +1 -3 lines
Diff to previous 2.39
Removed unnecessary calls to c_ccvt()

Revision 2.39 - (view) (download) (annotate) - [select for diffs]
Thu Oct 13 16:59:29 2016 UTC (7 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.38: +2 -2 lines
Diff to previous 2.38
Minor cosmetic fixes

Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Wed Oct 12 17:36:11 2016 UTC (7 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.37: +2 -2 lines
Diff to previous 2.37
Decreased number of super-samples to improve speed

Revision 2.37 - (view) (download) (annotate) - [select for diffs]
Thu Aug 18 00:52:48 2016 UTC (7 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.36: +7 -7 lines
Diff to previous 2.36
Switched over to more efficient fread/fwrite replacements getbinary/putbinary

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

Revision 2.35 - (view) (download) (annotate) - [select for diffs]
Thu Feb 4 00:45:47 2016 UTC (8 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.34: +13 -13 lines
Diff to previous 2.34
Minor cleanup and fixes

Revision 2.34 - (view) (download) (annotate) - [select for diffs]
Tue Feb 2 22:34:00 2016 UTC (8 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.33: +314 -120 lines
Diff to previous 2.33
Refactored bsdf2ttree for Yuv representation

Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Tue Feb 2 18:08:32 2016 UTC (8 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.32: +70 -1 lines
Diff to previous 2.32
Fixing premature and accidental check-in

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Tue Feb 2 18:02:32 2016 UTC (8 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.31: +2 -71 lines
Diff to previous 2.31
Moved declaration of popen to paths.h and put convert_command() into module

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Fri Jan 29 16:21:55 2016 UTC (8 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.30: +3 -3 lines
Diff to previous 2.30
Updated pabopto2bsdf to handle tristimulus color -- change in .sir format

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Tue May 5 22:16:49 2015 UTC (8 years, 11 months ago) by greg
Branch: MAIN
CVS Tags: rad5R0
Changes since 2.29: +10 -7 lines
Diff to previous 2.29
Improved progress bar feedback

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

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Mon Mar 24 03:50:28 2014 UTC (10 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: rad4R2
Changes since 2.27: +29 -21 lines
Diff to previous 2.27
Fixed one minor and one major bug in super-sampling (major bug in transmission)

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 22:24:59 2014 UTC (10 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.26: +12 -2 lines
Diff to previous 2.26
Changed progress bar to erase itself when done

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 21:15:31 2014 UTC (10 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.25: +49 -5 lines
Diff to previous 2.25
Disabled DEBUG statements in BSDF programs and added progress bars

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Tue Mar 11 19:37:45 2014 UTC (10 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.24: +8 -1 lines
Diff to previous 2.24
Added flockfile calls to reduce i/o overhead

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Sat Mar 8 01:05:00 2014 UTC (10 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.23: +2 -3 lines
Diff to previous 2.23
Fixed compiler warnings

Revision 2.23 - (view) (download) (annotate) - [select for diffs]
Tue Nov 26 17:35:59 2013 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.22: +4 -3 lines
Diff to previous 2.22
Include random.h for Windows instead of calling drand48

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

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Sat Nov 9 05:47:49 2013 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.20: +4 -3 lines
Diff to previous 2.20
Added tracking of BSDF sample name

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Thu Oct 3 17:27:41 2013 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.19: +2 -3 lines
Diff to previous 2.19
Re-allowed rttree_reduce -a option for isotropic transmission

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Thu Oct 3 17:01:02 2013 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.18: +5 -3 lines
Diff to previous 2.18
Fixed call to rttree_reduce to avoid -a on transmitted components

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Thu Sep 26 17:05:00 2013 UTC (10 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.17: +9 -4 lines
Diff to previous 2.17
Added -l option to limit maximum number of RBF lobes for interpolation

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Fri Aug 2 20:56:19 2013 UTC (10 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.16: +37 -2 lines
Diff to previous 2.16
Added ability to use Dx, Dy and Dz instead of last 3 function parameters

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Wed May 15 17:29:30 2013 UTC (10 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.15: +9 -9 lines
Diff to previous 2.15
Switched float to double for summing variable

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Wed May 15 03:22:31 2013 UTC (10 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.14: +75 -21 lines
Diff to previous 2.14
Added super-sampling at peaks

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Sat Mar 23 04:14:50 2013 UTC (11 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.13: +2 -2 lines
Diff to previous 2.13
Fixed different bug in -t3 option

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Sat Mar 23 02:21:14 2013 UTC (11 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.12: +3 -3 lines
Diff to previous 2.12
Fixed bug in -t3/-t4 option

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Fri Mar 22 16:39:00 2013 UTC (11 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.11: +9 -3 lines
Diff to previous 2.11
Fixed bug for BSDF file input and added further error messages

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Fri Mar 22 02:15:06 2013 UTC (11 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.10: +195 -105 lines
Diff to previous 2.10
Added ability to generate tensor tree directly from function

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Wed Dec 12 04:49:59 2012 UTC (11 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.9: +3 -2 lines
Diff to previous 2.9
Fixed main bug, which was forgetting Klems axis reversal

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Thu Nov 22 06:07:17 2012 UTC (11 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.8: +2 -2 lines
Diff to previous 2.8
Bug fix in geodesic() and other minor improvements

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Tue Nov 13 04:23:38 2012 UTC (11 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.7: +3 -3 lines
Diff to previous 2.7
Tried to improve convergence of RBF fit

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Sat Nov 10 19:47:42 2012 UTC (11 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.6: +10 -10 lines
Diff to previous 2.6
Minor bug fixes

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Fri Nov 9 02:25:32 2012 UTC (11 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.5: +26 -45 lines
Diff to previous 2.5
Made code a little more readable

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Fri Nov 9 02:16:29 2012 UTC (11 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.4: +91 -15 lines
Diff to previous 2.4
Added data to complete XML file output

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Wed Nov 7 03:04:23 2012 UTC (11 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.3: +5 -5 lines
Diff to previous 2.3
Added GRIDRES to saved BSDF representation

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Tue Oct 23 05:10:42 2012 UTC (11 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.2: +5 -4 lines
Diff to previous 2.2
Hopeful bug fix in BSDF interpolation code

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Sat Oct 20 17:01:26 2012 UTC (11 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.1: +8 -3 lines
Diff to previous 2.1
Bug fixes in loading BSDF interpolant data

Revision 2.1 - (view) (download) (annotate) - [select for diffs]
Fri Oct 19 04:14:29 2012 UTC (11 years, 6 months ago) by greg
Branch: MAIN
Broke pabopto2xml into pabopto2bsdf and bsdf2ttree

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