All Questions
Tagged with specular raytracing
7
questions
1
vote
0
answers
234
views
Calculation of reflection vector in Phong specular lighting
I wrote the following phong reflection model for ray tracing in Rust, but I am not sure about the calculation of a reflection vector for the specular reflection.
...
3
votes
0
answers
565
views
Problem with specular BRDF (Monte Carlo & Path Tracing)
Above on the left is my attempt and on the right is what I'm aiming for.As you can see my sphere with the specular brdf has a weird dark ring
In my radiance function I am recursing through the ...
3
votes
1
answer
370
views
How to send shadow rays to window light source with glazing
For rendering an indoor scene where light source is skylight coming in through
the window opening, one can consider the window polyline as the light
source, with the sky distribution, in direct ...
4
votes
1
answer
1k
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 ...
31
votes
2
answers
7k
views
Path tracing the Cook-Torrance BRDF
-- Sorry for the long post, but I prefer to do that way because "Devil is in the details." :)
I am writing a path tracer from the scratch and it is working nicely for perfectly diffuse (Lambertian) ...
8
votes
4
answers
2k
views
Should ideal specular multiply light colour with material colour?
Ideal specular reflection is like a perfect mirror. I'm looking at the code to SmallPt and see that one of the spheres has an ideal specular material:
...
2
votes
1
answer
720
views
phong equation of illumination specular component
I'm stuck on this question asking me to calculate the intensity of a pixel using Ray Tracing. It gives values such as $I_i$ but doesn't give any coordinates.
I know for the diffuse component, $...