Hot answers tagged

3 votes
Accepted

Plotting pbrt-v3 Gaussian filter

You probably want to set sigma to be a fraction of the radius, rather than a fixed value. Sigma controls the actual shape of the filter, while radius just controls how far out the filter gets cut off (...
user avatar
  • 23.7k
2 votes
Accepted

How to change a RGB value using a radiance value?

What you're looking for is called tone mapping, which is the process of mapping from HDR color values generated by a physically based renderer, to LDR color values suitable for display on a screen. It ...
user avatar
  • 23.7k
2 votes

Conflicting definitions for the distribution of normals $D$ in microfacet BSDFs

The units of the NDF are tricky. For whatever it's worth, Heitz's convention of defining it relative to a 1 m² reference geometric surface is unusual, and although I can see why he would want to ...
user avatar
  • 23.7k
1 vote
Accepted

How is the maximum value for alpha (roughness == 1) decided for microfacet models?

In truth, there is no mathematical maximum value for $\alpha$. As you noted, microfacet slope is unbounded, so in principle you could have arbitrarily large slope values and hence arbitrarily large $\...
user avatar
  • 23.7k
1 vote
Accepted

Is spectral response curve and spectral power distribution the same thing?

The book distinguishes a spectral power distribution from a spectral response curve because they are not the same, they are adjoint. The thing about adjoints that makes them a little tricky to wrap ...
user avatar
  • 751
1 vote
Accepted

How can I account for specular interactions in shadow rays?

Shadow rays that hit a glass surface or similar are stopped because there's no direct path from the light source to the shading point—there's a piece of glass in the way. for perfectly specular ...
user avatar
  • 23.7k
1 vote
Accepted

How to decide which child of BVH to visit based on sign of ray's direction vector?

In your example of a BVH cell partitioned along the x axis, if the ray is going left to right (increasing x), then the cell with the lower x comes first; but if it's going right to left (decreasing x),...
user avatar
  • 23.7k
1 vote
Accepted

How to calculate the PDF of a multi-lobe BSDF

The summation doesn't include the BxDF that was picked for sampling. Look again at this line: if (bxdfs[i] != bxdf && bxdfs[i]->MatchesFlags(type)) ...
user avatar
  • 23.7k

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