ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/bsdfrep.h
(Generate patch)

Comparing ray/src/cv/bsdfrep.h (file contents):
Revision 2.19 by greg, Wed Mar 26 02:52:31 2014 UTC vs.
Revision 2.20 by greg, Thu Aug 21 10:33:48 2014 UTC

# Line 90 | Line 90 | extern unsigned long   bsdf_hist[HISTLEN];
90  
91                                  /* BSDF value for boundary regions */
92   extern double           bsdf_min;
93 + extern float            bsdf_spec_peak;
94 + extern int              bsdf_spec_crad;
95  
96                                  /* processed incident DSF measurements */
97   extern RBFNODE          *dsf_list;
# Line 148 | Line 150 | extern void            ovec_from_pos(FVECT vec, int xpos, int yp
150   /* Compute grid position from normalized input/output vector */
151   extern void             pos_from_vec(int pos[2], const FVECT vec);
152  
153 < /* Evaluate RBF for DSF at the given normalized outgoing direction */
153 > /* Evaluate BSDF at the given normalized outgoing direction */
154   extern double           eval_rbfrep(const RBFNODE *rp, const FVECT outvec);
155  
156   /* Insert a new directional scattering function in our global list */
# Line 192 | Line 194 | extern void            build_mesh(void);
194  
195   /* Find edge(s) for interpolating the given vector, applying symmetry */
196   extern int              get_interp(MIGRATION *miga[3], FVECT invec);
197 +
198 + /* Return single-lobe specular RBF for the given incident direction */
199 + extern RBFNODE *        def_rbf_spec(const FVECT invec);
200  
201   /* Advect and allocate new RBF along edge (internal call) */
202   extern RBFNODE *        e_advect_rbf(const MIGRATION *mig,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines