eradiate.test_tools.plugin.sample_eval_pdf_bsdf
eradiate.test_tools.plugin.sample_eval_pdf_bsdf#
- eradiate.test_tools.plugin.sample_eval_pdf_bsdf(plugin, wi, sample_count=100000, seed=0)[source]#
Sample a BSDF and get corresponding
eval()
andpdf()
values.- Parameters
- Returns
sample
– The result of a call to the plugin’ssample()
method.eval
– The result of a call to the plugin’seval()
method.pdf
– The result of a call to the plugin’spdf()
method.
Warning
This function requires a JIT active variant (e.g.
llvm_ad_rgb
).