Skip to main content
3 votes

Integral over cosine weighted sphere cap/cone

As I was referencing PBRT, here are the functions I ended up with: ...
B_old's user avatar
  • 203
2 votes

Confusion about PDF defined in solid angle / area measure

Actually,shape->Sample(ref, u, pdf) returns the pdf in solid angle measure.The sample function in sample is actually this. ...
袁军平's user avatar
2 votes

How can I make the simplest physically based mixed specular-diffuse BRDF (and how to properly sample it)?

A common way of combining diffuse and specular brdfs is by using a fresnel equation. Essentially, for some specular materials, the amount reflected and transmitted (passed through the object) depends ...
Peter's user avatar
  • 529
1 vote

How can I step through a pdf file while maintaining a fixed viewport for each page?

PDF.js is a PDF viewer that runs in a web browser, using HTML and Javascript. It is quite usable (it's the default PDF viewer shipped with Firefox) and it has an API that can be used to script it. For ...
Nathan Reed's user avatar
  • 25.1k
1 vote

How to find the importance sampling function for a specified BRDF?

PBRT3 is a really good resource and has a lot of brdfs in it. The book and source code are available for free online. Regarding oren-nayar, from what I can gather they are just using cosine weighted ...
Peter's user avatar
  • 529

Only top scored, non community-wiki answers of a minimum length are eligible