Hot answers tagged

1

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 example, there is an API call to render a page using a chosen viewport and transform. I've never tried working with it as a developer, but it seems plausible ...


1

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 on the angle you view it. For example water will reflect more if you look at it from one angle, but you can see through it if you look at it from another. A ...


1

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 hemisphere sampling. https://pbr-book.org/3ed-2018/Light_Transport_I_Surface_Reflection/Sampling_Reflection_Functions


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