9 votes
Accepted

Full Monte-Carlo Volumetric Scattering

First of all, a good reference for Monte Carlo path tracing in participating media is these course notes from Steve Marschner. The way I like to think about volume scattering is that a photon ...
Nathan Reed's user avatar
7 votes
Accepted

Volume Rendering (Path Tracing & Real-Time)

Ray marching is a ray tracing method where you take multiple steps along a ray to find intersection with geometry or to perform integration of in-scattered light from participating media (fog, clouds, ...
JarkkoL's user avatar
  • 3,636
6 votes
Accepted

Volumetric integration in Frostbite

What is wrong with it seems to be explained on the next two slides: it leads to non-energy-conserving results, where the apparent brightness of the volume changes depending on the scattering ...
Nathan Reed's user avatar
3 votes
Accepted

(Lorenz-)Mie phase function instead of Henyey-Greenstein?

It's almost never a problem of computational costs, it's a matter of how well a function works in a Monte Carlo scenario. Ie. how well it can be importance sampled. That generally leads to how well it ...
Max Tarpini's user avatar
1 vote
Accepted

Sampling scattering direction around directions other than the last ray direction

I think I got the answer via extensive numerical simulation. The result of the simulation is not listed here, so if you need it then you can comment to let me know. Ok, I think I've derived the ...
Enigmatisms's user avatar
1 vote

Numerically integratable fog volume feathering along a ray

The value of an integration is the area under the curve between the limits of integration. Since the density of the fog is constantly increasing starting at zero until it reaches the density of the ...
pmw1234's user avatar
  • 3,219
1 vote
Accepted

Error in equation 2.1. in Ray Tracing Volume Densities

I believe your suspicion is correct,otherwise dimensions won't match.
anonymous5299's user avatar
1 vote

GLSL Debugging Volumetric light

This question is a bit too broad to answer, but I'll try. Right now you have a screenshot and you are not really sure whether it's correct or not, and if it turns out it is not, it will be difficult ...
Julien Guertault's user avatar
1 vote

Using Monte carlo on Rayleigh scattering

For sampling a uniform volume you use the mean free path of a photon: float dt = -logf(1.0f - Xi) / uT; where: Xi is a random variable in [0, 1] uT is the ...
Kara's user avatar
  • 11
1 vote

Volume Rendering: Implementation

For your first question, the basic process should be (simplified version): ...
Enigmatisms's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible