Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

2
votes
1answer
73 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 ...
0
votes
0answers
54 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
83 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 ...
0
votes
0answers
26 views

How difficult would it be to customise Google Maps

How difficult would it be to customise Google Maps to display roads like they were biological veins? Vein appearance (width)/promotion would be exaggerated according to road classification. Where ...
3
votes
1answer
92 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 ...
3
votes
1answer
280 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
0answers
30 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
88 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
83 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
100 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
191 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
855 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. ...
1
vote
0answers
43 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 ...
6
votes
1answer
85 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
137 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
155 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
99 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
60 views

Mitsuba Bidirectional Framework

I'm confused by the Mitsuba bidirectional framework for quite a while now, especially by the different eval and connect ...
1
vote
0answers
175 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 ...
7
votes
1answer
292 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
390 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 ...
6
votes
1answer
103 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 ...
12
votes
1answer
275 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
259 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? ...
7
votes
1answer
1k 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 ...
8
votes
1answer
975 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 ...
5
votes
0answers
101 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
1k 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
275 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
1k 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'...
10
votes
3answers
3k views

What are Spherical Harmonics & Light Probes?

What are Spherical Harmonics & Light Probes? How useful are they in computer graphics? What exactly do they do? I've heard the word spherical harmonics & Light Probes everywhere, from siggraph ...
6
votes
1answer
1k views

Alternatives to Ambient Occlusion

Recently I wanted to improve the lighting in my game engine, naturally I looked towards Ambient Occlusion. I was considering SSAO but are there any better techniques? Maybe some that are Physically ...
5
votes
1answer
191 views

Material Layering

So after reading this Unreal Engine 4 Documentation page: https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/LayeredMaterials/ (Which describes how to use material layering in UE4) ...
5
votes
1answer
1k views

Better Shadow Mapping Techniques

Currently I have basic shadow mapping setup in my engine. I am currently trying to implement something more realistic like PCSS (percentage closer soft shadows), to get a more physically accurate ...
5
votes
1answer
1k views

Physically Based Area Lights

So after reading https://www.guerrilla-games.com/read/killzone-shadow-fall-creating-art-tools-for-a-new-generation (a guerilla games presentation on PBR) I noticed the Area lights as opposed to the ...
1
vote
1answer
572 views

What are some new Real-Time Graphics Rendering Techniques to get closer to real life? [closed]

So recently after implementing PBR in my engine, I was wondering what are some new & old Rendering Techniques that people are implementing and researching to get Real Time Graphics closer to what ...
5
votes
1answer
154 views

Error with tube lighting

I have recently been working on area lights for a small open source game engine called Urho3D but have run into an issues when rendering tube lights where the lights look the same as sphere lights ...
13
votes
3answers
6k views

Physically based shading - ambient/indirect lighting

I implemented a physically based path tracer after studying PBRT by M. Pharr and G. Humphreys. Now I'm trying to apply physically based rendering to real time graphics using OpenGL ES (in an iPhone ...
11
votes
3answers
1k views

Correct Specular Term of the Cook-Torrance / Torrance-Sparrow Model

For a while I have been doing some research on the topic of Physically Based Rendering. One reflection model that is mentioned over and over is the Cook-Torrance / Torrance-Sparrow model. It seems ...
9
votes
2answers
277 views

Total emitted power of diffuse area light

I am reading the book Physically Based Rendering (Pharr, Humphreys). In the chapter on lights, they talk about approximating the total emitted power of different kinds of lights. For example, a point ...
7
votes
1answer
632 views

Resulting Probabilty Density in Path Tracer for paths using Next Event Estimation

I am trying to implement my own Gradient Domain Path Tracer by following the code of this guy who already implemented it: https://gist.github.com/BachiLi/4f5c6e5a4fef5773dab1 I already managed to ...
10
votes
3answers
682 views

16bit half-float linear HDR images as (diffuse/albedo) textures?

So I been thinking about this for a while and tried to google for an answer but without any success. If all your textures are 8bit LDR images, like JPEGs, couldn't that potentially cause conflicts ...
5
votes
2answers
2k views

What are the current open problems in Computer Graphics?

I did a quick investigation about the topic but there doesn't seem a decent resource to find related problems without digging into latest CG papers (unlike CS problems you can easily find a Wikipedia ...
11
votes
1answer
414 views

Compensation for energy loss in single-scattering microfacet BSDF models

Single-scattering microfacet-based surface models like the original Torrance-Sparrow BRDF or derived models like the BSDF for rough dielectric surfaces by Walter et al. neglect inter-reflection of ...
6
votes
1answer
129 views

Questions about Preconditioning Conjugate Gradient method in Baraff & Witkin 98?

I encountered some problems when implementing the cloth simulation algorithm from Baraff & Witkin 98's Large Steps in Cloth Simulation. Baraff & Witkin 98 Consider the cloth as a particle ...
7
votes
1answer
1k views

What's the difference between irradiance and fluence/radiant exposure?

A paper$^1$ I'm reading says fluence measures the incoming radiance from all directions and that fluence is similar to irradiance. It's defined by $\phi(x) = \int_{4 \pi} L(x, \vec{\omega'}) d\omega' $...
8
votes
0answers
337 views

How correct is rendering in XYZ / linear RGB space?

I have a spectral power distribution (SPD, 5 nm steps) for all light sources in the scene and SPDs for the reflectance of all surfaces under any light / viewer angle in question. I'm going to ...
7
votes
1answer
2k views

Does PBR incur a performance penalty by design?

I am wondering if the various PBR models used in modern game engines for real time are heavier in terms of computation, that more classic approaches to rendering. Worded differently, is PBR just a ...
29
votes
2answers
3k views

How physically-based is the diffuse and specular distinction?

The classical way of shading surfaces in real-time computer graphics is a combination of a (Lambertian) diffuse term and a specular term, most likely Phong or Blinn-Phong. Now with the trend going ...
12
votes
2answers
806 views

How to build a decent lens/camera objective model for path tracing?

I have written a small path-tracer after learning and experimenting on smallpt. The only thing that I did not write (and understood) myself is how the initial rays are computed and fired from the ...