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; |
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 */ |
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, |