Questions tagged [pbrt]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
33 views

Plotting pbrt-v3 Gaussian filter

I want to plot the Gaussian filter of pbrt-v4 with a radius $(100,100)$ and a standard deviation ($\sigma$) of $0.5$. I would expect something like this: When I plot the pbrt-v4 Gaussian filter with ...
1
vote
1answer
40 views

How can I account for specular interactions in shadow rays?

I've been working through PBRT, implementing my own version of it in Rust. Right now I'm working on shadow rays, and it looks like pbrt doesn't do anything to account for specular behavior, and treats ...
1
vote
0answers
46 views

Why is there a T factor in the definition of Shah given in Matt Pharr's Physically Based Rendering?

The specific chapter about this is here - Sampling Theory Unlike what I read anywhere else, it defines Shah as: $$Ш_T(x)=T\sum\nolimits_i{\delta{(x-Ti)}}$$ And the T is still present in the ...
0
votes
0answers
39 views

An equation about PDFs and differentials in the book of pbrt-v3

Why does the equation at the bottom of the following page hold? http://www.pbr-book.org/3ed-2018/Monte_Carlo_Integration/Transforming_between_Distributions.html $p(\theta,\phi)d\theta d\phi=p(\omega)...
2
votes
0answers
45 views

Does the RGBSpectrum class in pbrt store RGB color values directly, not power?

I had a hard time to understand this. I thought *Spectrum classes (SampledSpectrum, specifically) store power (SI unit: W) in ...
0
votes
0answers
60 views

Considering a path generated by bidirectional path tracing under a different strategy

Say I have constructed a path, using bidirectional path tracing (BDPT), consisting of a light subpath $y$ with $s=2$ vertices and a camera subpath $z$ with $t=3$ camera vertices. Now I want to ...
2
votes
0answers
136 views

Scaling of the final image in Metropolis Light Transport

I don't understand why the PBR implementation of Metorpolis Light Transport scales the final image by b / mutationsPerPixel. The authors write: Each Metropolis ...
0
votes
0answers
39 views

Is casting a shadow ray non-symmetric in pbrt?

According to the description in the book, Scene::IntersectP() "checks for the existence of intersections along the [passed] ray". This operatorion should be ...
2
votes
1answer
52 views

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

I'm reading about BVH from PBRT. According to the book, in the linear bvh part using morton encoding: An efficient way to perform a front-to-back traversal without incurring the expense of ...
0
votes
1answer
110 views

How to calculate the PDF of a multi-lobe BSDF

In PBRT, a BSDF is represented as an array of BxDF lobes. Each lobe sets a bitflag representing what kind of lobe it is. (Specular, Diffuse, Reflection, Transmission, etc.) I'm investigating how PBRT ...