Questions tagged [physically-based]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
258 views

Why is eye-based ray tracing preferred over light-based ray tracing?

It seems that virtually all path tracers use eye-based or view-based path tracing. That is, the light rays originate from the camera rather than the light source. The reason given for this everywhere ...
0
votes
1answer
99 views

Prove radiance contributions of deeper paths fade away

When ray tracing, I find it intuitively clear that deeper paths have a lower contribution to the overal picture than shorter paths. This is the main reason why it is generally okay to render a picture ...
0
votes
0answers
45 views

How is the image reconstruction filter on the path space defined in terms of the filter on the raster space?

Say we have a image reconstruction filter $h:R\to\mathbb R$ defined on the raster space $[0,w]\times[0,h]$, where $w,h\in\mathbb N$ define the width and height of the image plane in pixels, ...
0
votes
0answers
76 views

Relation between camera sensor responsivity and image reconstruction filter associated with a pixel

Let $W_{\text e}$ denote the camera sensor responsivity (i.e. importance) and $h_j$ and $W_{\text e}^{(j)}$ denote the image reconstruction filter and sensor response associated with the $j$th pixel, ...
0
votes
1answer
112 views

Properties of the image reconstruction filter in rendering

Let $f$ denote the measurement contribution function for paths of length $k\in\mathbb N$, i.e. $$f(x)=g(x_0\leftrightarrow x_1)W_{\text e}(x_1\to x_0)t_k(x_0,\ldots,x_k)L_{\text e}(x_k\to x_{k-1}),$$ ...
0
votes
0answers
35 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
0answers
47 views

Chart swaps and path inversion in bidirectional path tracing

I've got a hard time to understand how we would implement the following in practice. I'd be great if someone could explain the details for the example below. Assume we're generating a path ${\rm x}=(\...
0
votes
0answers
24 views

Computing inverses in Reversible-Jump Metropolis Light Transport

Say we are sampling a path $\rm x=(\rm x_0,\ldots,\rm x_{n-1})$ of length $n-1$ using bidirectional path tracing. Let $p_s$ denote the area product density corresponding to the used connection ...
3
votes
1answer
67 views

Intrepret path/light tracing by rewriting light transport equation

Given the rendering equation: $$ L_o(x, \theta_o) = L_e(x, \theta_o) + \int_{\Omega} \! f(x,\theta_i,\theta_o) L_i(x,\theta_i) \cos(\theta_i, \theta_o) \, \mathrm{d} \theta_i. $$ Rewriting it using ...
0
votes
0answers
50 views

Implementation of the Primary Sample Space Sampler in the book Primary Sample Space Sampler

In the Multiplexed Metropolis Light Transport implementation of the book Physically Based Rendering, the proposal samples are generated by the Primary Sample Space Sampler ...
2
votes
2answers
163 views

Understanding lighting for physically based rendering

i wanted to ask if you know the best books or resources to understand light physics. I have heard that Subrahmanyan Chandrasekhar's book "Radiance Transfer" is very good. Any other books or ...
1
vote
1answer
123 views

Roughness Value of (Close to) Zero in Physically Based Rendering

In my Direct Light Physically Based Renderer, when I set the roughness too low (ie. 0.0 or close) the specular reflection doesn't show, not even at high resolutions and at perfect angle with the ...
1
vote
0answers
27 views

Image contribution function and reconstruction using filters

So I've been reading Physicall Based Rendering which in section 16.4.3 defines the "image contribution function" to be the following $$I_j = \int_\Omega h_j(X)L(X)d\Omega$$ where the variables are ...
1
vote
1answer
181 views

Tone Mapping in a physically based rendering ray tracer

I'm implementing a pbr ray tracer. Let's say that I'm at the end of the process: for each pixel pi, I accumulated the radiance value in vector pi = (radR, radG, radB). At this point, these values are ...
0
votes
2answers
441 views

How to set equivalent PDFs for cosine-weighted and uniform-sampled hemispheres?

I'm trying to add BRDFs to a very basic path tracer. Starting out, I'd like to convert just the Lambertian material, with two different sampling methods, to ensure that everything is working right. ...
2
votes
2answers
217 views

Physically Based Shading for Diffuse surfaces

So I am currently in the process of implementing Physically based Shading in my pathtracer using microfacet models and I'm quite stuck at comprehending light interaction with diffuse surfaces. First ...
2
votes
1answer
150 views

Rendering Equation for photons carrying flux

I am trying to understand the mathematical/physical foundations of photon mapping better. In the forward photon tracing step it is established, that the rays are carrying portions of total power (...
0
votes
1answer
165 views

total internal reflection implementation in pbrt-v3

I've been implementing a path tracer, referring pbrt-v3. However, I'm a bit confused about its implementation. Code is here. It seems when we sample to do transmission, it tests if it meets a total ...
13
votes
4answers
3k views

For shader math, why should linear RGB keep the gamut of sRGB?

sRGB is often contrasted with "linear RGB." Images are stored on disk and passed to displays in sRGB, which is approximately perceptually uniform in intensity. Shader math is done in linear RGB, ...
2
votes
1answer
411 views

PBR and Specular Aliasing

I have been following LearnOpenGL.com's tutorials on PBR. Everything makes sense and I wrote up a shader for my physically based renderer. I noticed that the results look great, however all of my ...
1
vote
0answers
124 views

Compute emitted importance of a pinhole camera

In section 16.1.1 of Physically Based Rendering the authors describe how we can check, if a given ray $r$ corresponds to one starting from the film area. They implement this check such that it works ...
2
votes
1answer
412 views

PBR - How to handle multiple BSDFs and material type

So I am in the midst of writing my own path traced renderer and right now I have only implemented the old Blinn-Phong models where we separately calculated the diffuse and specular components of the ...
1
vote
0answers
335 views

Interpreting Cornell Box data for path tracer

So I want to path trace a Cornel Box scene, but I don't understand the values given here in section 2 and 3. Cornell Box Data | Cornell University Program of Computer Graphics No.2 Lists surface ...
1
vote
0answers
103 views

How to validate whether a reflection model is implemented correctly?

I think this is one of the most important part when you write a physically-based renderer. The solution I came up with is to put a sphere to the scene with a constant background radiance. Solve the ...
2
votes
1answer
250 views

What is the physical interpretation of Normal, Roughness, Albedo and Metalness map?

In PBS context what is the metalness map? Are my interpretation of Normal, Roughness and Albedo map correct? I know almost for sure that: Normal map : Models the normals per differential region in ...
4
votes
1answer
2k views

Ray tracing: transforming ray to object's local space for intersection test

Im writting a raytracer, for which I want to be able to test intersections with implicit surfaces (in my case spheres). Without applying any transformation it works great, but I would like to upgrade ...
1
vote
1answer
75 views

kinematics and dynamics of a sphere in a spring mass system?

I am attempting to code a simple spring mass system simulation in which a sphere pendulus hangs from a string (a spring) by the top and then another sphere (controlled by the user) can move and ...
1
vote
1answer
100 views

Why are BRDF and the lighting uncorrelated?

In relation to this question, in the accepted answer I have a trivial question probably. W.r.t. the following integral $$ L_o(x\rightarrow \Theta) = \int_{\Omega_x} f_r(x,\Psi\rightarrow\Theta)L_i(x\...
3
votes
2answers
102 views

Why is the approximation valid, in the formula provided by Brian Karis?

I'm sorry I'm bringing this topic up again, but I need to expound some of the topics. With reference to this question, I was wondering if someone can help me out in expanding some of the details. In ...
1
vote
1answer
660 views

Phong Modified BRDF Implementation

According to: https://www.cs.virginia.edu/~jdl/importance.doc For a specular sample: (page 4 of the document) $$pdf(\theta_{i}) = \frac{n+1}{2\pi} \cos^n(a)$$ And this is how you choose an ...
1
vote
1answer
571 views

Hooke's Law vector form

I'm studying spring model. There is a suggested equation (Hooke's Law vector form) But, I couldn't understand how to derive that equation. I'm reading 'Computer Animation Algorithms and Techniques ...
5
votes
2answers
2k views

How to calculate attenuation and radiance in PBR? (point and directional lights)

I would like implement physically based rendering, following this tutorial I was able to find a list of light sources ordered by lumens, but I have no idea how to use it in the calculations. ...
2
votes
0answers
45 views

Would the surface of a large carbon-nanotupe structure look metalic?

CNT is a promising new material, which Wikipedia describes as such: Carbon nanotubes (CNTs) are allotropes of carbon with a cylindrical nanostructure. These cylindrical carbon molecules have unusual ...
6
votes
1answer
122 views

Monte Carlo Integration

Let $I$ = the value of integration and $p$ = probability distribution. The estimator is denoted as $\left\langle I \right >$ and is $$\left\langle I \right >=\frac{1}{N}\sum_{i=1}^{N}\frac{f(...
3
votes
1answer
216 views

How is Iridescence handled in a Path Tracer?

I have little knowledge of this topic but from what I gather in a Ray Tracer each ray is given its own wavelength as opposed to an RGB value. This automatically simulates Dispersion and Fluorescence. ...
6
votes
1answer
376 views

The reciprocity of BRDF

Many books describe that a BRDF has the following property (reciprocity): $$f_r(x, \Theta \to \Psi ) = f_r(x, \Psi \to \Theta)$$ Why is the above equation correct? I think the above equation ...
5
votes
0answers
136 views

What is the potential equation in PBR?

I'am studying PBR and the book introduce the potential equation. They said the potential equation can describe shooting algorithms better, and $W(x, \theta)$ describes the fraction of the radiance $L(...
1
vote
0answers
69 views

Mitsuba Bidirectional Framework

I'm confused by the Mitsuba bidirectional framework for quite a while now, especially by the different eval and connect ...
2
votes
0answers
358 views

Is there a material table for the Cook Torrance BRDF?

Is there a material table that lists all the specific values to obtain a certain type of material (e.g: copper or asphalt) available? I found this table in the paper: A Reflectance Model for ...
6
votes
1answer
474 views

How Sunlight is added in Bidirectional Path tracing?

How is distant directional light source(like sun) added in BDPT? If this is an indoor scene that gets sunlight through windows, how is this handled in BDPT(other than to consider Sun as a big disc far ...
4
votes
0answers
884 views

Better alternatives to the Lambert BRDF

After reading about the new Disney Diffuse BRDF, I have been wondering if this is currently the best Diffuse BRDF at the moment? How much more of a difference would this make compared to using a ...
5
votes
1answer
120 views

Trying to understand environmental cubemaps

I am trying to implement a physically based renderer, in OpenGL. I was planning to implement the Cook-Torrance BRDF. I read about radiance cubemaps (for reflections), like the one discussed here, for ...
11
votes
1answer
494 views

Ocean Wave Rendering

How could I generate the waves for a water body with whitecaps & foam and variable intensity of the waves? Is the surface a mesh with a normal map? Is there a formula for generating that? Is there ...
7
votes
1answer
437 views

What is the most physically accurate model of surface materials possible in computer graphics?

I am looking for theoretical and implemented models to represent surface materials in software that strives for physical accuracy. Is BRDF really the best model? What alternatives are better? Why? ...
6
votes
1answer
2k views

Depth of Field in Path Tracing: What do I do with the secondary ray?

How can I implement Depth of Field in my Path Tracer? I have read this article which explains the theory behind everything & I already have a good understanding of what this effect needs to ...
7
votes
1answer
3k views

Area Lights in Path Tracing

I have been following the scratchapixel ray tracing tutorials online which have been great at explaining the theory behind everything & how to implement it. However, I reached the point where I ...
4
votes
0answers
136 views

How is glint rendering done in Ray Tracing?

How is glint rendering done with ray tracing in the photo below? Is it just a simple normal map? I found a paper online that describes the exact same method used in the photo above but I have no ...
6
votes
2answers
2k views

Books to learn Ray Tracing [closed]

Recently I have developed and interest in Ray Tracing and like most computer graphics tutorials online there is nothing regarding implementation for a beginner like myself. So far I have only done ...
1
vote
3answers
328 views

How are Physically Based Rendering Methods Researched?

Recently a question that came to my mind was that How are Physically Based Rendering Techniques researched and developed? Do people just use current equations by physicists or do they create their own?...
6
votes
1answer
2k views

What is Radiosity?

After reading a wikipedia article about Global Illumination It mentions a variety of techniques like Ray Tracing, Path Tracing and Ambient Occlusion. One technique it mentions is Radiosity which I don'...