Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [reflection]

The tag has no usage guidance.

0
votes
1answer
81 views

Ray tracing in One weeked: issue with metal reflection

Problem I am following the book Ray tracing in one weekend , and I got stuck after the implementation of the material Metal. I checked my code many times, and it looks exactly like the code ...
1
vote
1answer
88 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 ...
1
vote
1answer
64 views

Understanding material .mtl files

I am reading this piece of documentation to understand mtl files So far I am stuck trying to understand the difference between ambient, diffuse and specular reflectivity (Ka, Kd, Ks). If I am ...
1
vote
0answers
127 views

What is a good way to do reflection and refraction in small environment for bumpy planar surface?

I am implementing a water simulation program using OpenGL. However I could not decide which technique to use for reflection and refraction. The water is wavy and there are dynamic objects around the ...
1
vote
1answer
245 views

How does notch's new graphics engine work?

@notch has recently been posting on an engine he is developing. He claims that it is voxel-based and supports deformable terrain, with a render distance of almost 1000 000 voxels and real-time ...
7
votes
1answer
106 views

fix over exposure in importance sampling in screen space reflections

I am having my first encounter with the rendering of indirect reflections in the form of screen space reflections in a game engine, but i am struggling to get correct looking results. (patterns arise ...
1
vote
1answer
56 views

Finding all possible reflection matrices for a given Wythoff construction

As a pet project, I'm trying to build a small app that visualizes 4D polytopes. I want to use the Wythoff Construction method, where the shape is generated kaleidoscopically by the interaction of 4 ...
5
votes
3answers
6k views

What is the difference between glossy and specular reflection?

What is the difference between glossy and specular reflection? What is their relations with BRDF?
7
votes
2answers
541 views

Fresnel equation with incident angle, n and k as input

I've seen a Fresnel equation for calculating the reflection amount at incidence angle with n and k values defined. This formula usually comes up in relation to computer graphics, but I can't find this ...
6
votes
1answer
377 views

How to choose which reflection probe to use?

I have multiple reflection cube map that's prebaked before a scene. However I am being confused as to which one to choose. I am told I need to choose "closest cube map" then use it. However it is ...
4
votes
1answer
305 views

Tracing shadow rays in a scene with mirrors

In my real time ray tracer, I shoot primary rays from the eye, and at hit points, I trace to a single light source to determine if the object is shadowed or lit. Pretty straightforward stuff so far. ...
1
vote
0answers
132 views

Pathtracing specular reflections vs. specular highlights

In path-tracing, is a specular reflection model like Blinn-Phong useful? Is it more accurate to render a complete reflection dependent on the objects roughness?
4
votes
0answers
97 views

How can i achieve reflections like this?

I was in my elevator when i saw this... As you can see here that reflections are kind of stretched. What causes this? And how can we achieve something like this in computer graphics?
7
votes
2answers
2k views

realtime dynamic reflections, which way to go?

I'm working on my own engine and I'm struggling to find any techniques that give okay-ish reflections in realtime on dynamic scene. So far the only technique I found that work in real time on dynamic ...
1
vote
1answer
638 views

Which technique is fast to generate real-time reflections?

I want to know about some technique with which i can generate nice reflections on the surface. I know one conventional technique where we invert an object and render it and blend it with the floor but ...
3
votes
0answers
345 views

Calculating intensities of Virtual Point Lights in Instant Radiosity from IES lights

Short introduction I created a function that interpolates the IES luminious intensities (candelas) using Hermite interpolation, so in my code all light sources have $I(\theta, \phi)$ function - but ...
5
votes
3answers
2k views

Mirror Reflections: Ray Tracing or Rasterisation?

Are mirror-like reflections in computer graphics purely handled with ray-tracing/ray-casting techniques or are there some situations where they are achieved through rasterisation?
6
votes
2answers
2k views

Refraction in a Ray Tracer: What do with an intersection within the medium?

I am currently following a tutorial at Scratchapixel.com on refraction Here is the refract function: ...
5
votes
1answer
632 views

How to handle specular highlights with reflection / total internal reflection in a ray tracer?

Let's say that I have a raytracer that is rendering a scene that includes a refractive object. When a ray hits the refractive object, I know that I can use the fresnel equation (Schlick's ...
3
votes
1answer
60 views

Expressing a reflected ray at a point as a function of the incoming ray and the normal to the surface at that point

Said L the incoming ray (at a point $P$). $R$ is the reflected ray. $N$ is the normal to the surface at the point $P$. $\alpha$ is the angle between $N$ and $L$ (and $N$ and $R$ also). It is assumed ...
13
votes
1answer
2k views

Choosing Reflection or Refraction in Path Tracing

I am trying to implement refraction and transmission in my path tracer and I'm a bit unsure on how to implement it. First, some background: When light hits a surface, a portion of it will reflect, ...
6
votes
1answer
207 views

Should not specular reflection on a rough surface be similar to diffuse reflection?

Different BRDFs are usually used to compute diffuse and specular reflection. Some of the most often used include for example the Lambert BRDF for diffuse reflection and the Cook-Torrance BRDF for ...
3
votes
0answers
270 views

Normal mapping for planar reflections

Ok guys, tricky one! I'm trying to modify this Unity script + shader to include normal mapping. The tl;dr is, it uses a single texture rather than a cubemap as it is only for reflecting in a planar ...
4
votes
2answers
254 views

Can raytracing be used to imitate the behavior of light to a higher degree?

Raytracing "sees" the pixel on the other side of the screen; but doesn't this mean the rays traced can be computationally reflected and refracted imitating the properties of actual light? It'd be ...
12
votes
1answer
5k views

Radiosity VS Ray tracing

Radiosity is basically what allows this: In a tutorial of Cornell University about Radiosity it is mentioned that: A ray-traced version of the image shows only the light reaching the viewer by ...
12
votes
1answer
252 views

Polarising reflection and refraction for a wrap around water surface

I want to render realistic images of water in an orbiting space habitat. The image does not need to be generated in real time, although I wouldn't want it to take weeks either. I'm looking for an ...