Skip to main content

Questions tagged [sampling]

The tag has no usage guidance.

2 votes
1 answer
66 views

Lots of bad samples (below the hemisphere) when sampling the GGX VNDF

I've noticed that my implementation of GGX VNDF sampling produces quite a lot of bad samples (below the hemisphere). When such a sample occurs, I terminate the ray, leading to an immediate black pixel....
Tom Clabault's user avatar
1 vote
1 answer
44 views

Distance sampling with unbiased transmittance estimators

I'm currently trying some things with transmittance estimators in PBRT and I have implemented the following paper: Unbiased Ray-Marching Transmittance Estimator. This method assumes that two points $x$...
Matthias K.'s user avatar
1 vote
1 answer
63 views

Measure (or Jacobian) conversion for direction sampling

If in the path tracing use case, I have some sampling strategies to sample a scattering direction in a 2D space ($\theta, \phi$). Of course, I need to convert it to a 3D direction vector (with length ...
Enigmatisms's user avatar
  • 1,112
1 vote
0 answers
24 views

Covering texture surface with ellipses

I am looking for an algorithm (also ideas on possible directions are appreciated) which is able to compute the distribution of ellipses on a 2D surface in order to reach a good degree of covering. I ...
StefanoScolari's user avatar
0 votes
1 answer
141 views

Evaluating the Rendering Equation by hand (simple case)

I'm trying to make intuitive sense of the rendering equation and so I'm trying to work out a trivial example by hand, though ultimately I'm just trying to understand how monte carlo importance ...
Chris Gnam's user avatar
0 votes
1 answer
147 views

How does a path tracer capture light falloff if it deals exclusively with radiance?

My understanding is that path tracers deal with radiance because radiance is constant along a ray. You simply go through and evaluate the light transport equation: $$ L_o(p, \omega_o) = L_e(p,\...
Chris Gnam's user avatar
0 votes
0 answers
64 views

How can I understand the logic of Fast Point Feature Histograms (FPFH) descriptor?

I have been using FPFH features quite a lot in global registration and key-point extraction a lot, I also looked pcl page that tries to explain what it is, but fails to give detail to reader in my ...
Lady Be Good's user avatar
1 vote
1 answer
171 views

Conditionally sample from texture in shader

I'm building a little 2D graphics library in Rust/WGPU as a means to learn graphics programming. I want to draw an outline around a shape and specify the outline's color. All of my shapes have a ...
junglie85's user avatar
  • 125
1 vote
0 answers
82 views

Questions about equi-angular sampling

Equiangular sampling is a sampling method for point (sphere) emitter in scattering medium. While it claims to be very efficient when dealing with point (sphere) emitter in scattering medium (see this ...
Enigmatisms's user avatar
  • 1,112
2 votes
1 answer
103 views

White spots when rendering diffuse material with environment light

I am trying to implement a simple shader. A round ball object is rendered with uniform albedo and I noticed some strange white spots on the outputs. I perform importance sampling with 512 light ...
Ivan's user avatar
  • 121
1 vote
1 answer
58 views

Confusion about the bias during Monte Carlo integration

I recently stumbled into this question: Say, for example, we are doing mean-free-path sampling (distance sampling) in a scattering medium and to keep it simple, let's only consider the single ...
Enigmatisms's user avatar
  • 1,112
1 vote
1 answer
142 views

What is the "kernel" in learnopengl SSAO tutorial?

I am currently reading the SSAO tutorial on learnopengl. In it, there is a "kernel" that has the dimension of 64 and contains ...
Raildex's user avatar
  • 173
2 votes
0 answers
46 views

How to properly use scattering coefficient during volumetric path tracing?

The increased radiance during sampling is known by: $$ L_s = L_e + \sigma_s \int p(w, w')f_p(w, w')dw' $$ The latter part, which accounts for in-scattering radiance bears a $\sigma_s$ in it. The ...
Enigmatisms's user avatar
  • 1,112
0 votes
0 answers
179 views

One-sample model Multiple Importance Sampling with balance heuristic

Recently I feel a bit confused about one-sample model MIS. One sample model MIS can be found here in Veach 1997. 9.2.4 The one-sample model, and this one-sample model is widely used in the opensource ...
Enigmatisms's user avatar
  • 1,112
1 vote
1 answer
101 views

Question regarding texture mapping sampling

I am new to computer graphics and have taken up a course in my university on computer graphics. Need help regarding a question as I could not find any relevant resource on the internet so hoping the ...
Dexter0411's user avatar

15 30 50 per page
1
2 3 4 5 6