An important parameter in volume scattering is the Mean Free Path (MFP), representing the expected distance light travels within a material before scattering occurs. The reciprocal of MFP is the scattering coefficient, which represents the expected number of scattering events per unit distance. The default value of MFP is usually set to infinity. The MFP Scaled Factor is a coefficient used to adjust the MFP, often applied in scenarios where particle concentration varies. It is inversely proportional to particle concentration, reflecting the relationship where higher particle concentrations result in shorter mean free paths. The relationship between the scaled and the original is:
Scattering is a Poisson process, meaning the probability of scattering at any given point is uniform. The probability density function (PDF) of the Henyey-Greenstein phase function is:
The cumulative distribution function for scattering can be calculated as:
Resulting in:
The inverse function of provides the free path :
By sampling a random number in [0,1], we can determine the free path of light. Comparing this free path to the distance to the surface determines if scattering occurs, guiding the decision to perform volume scattering sampling.
The sampling direction of scattering is determined by the Henyey-Greenstein phase function:
In Henyey-Greenstein scattering, the scattering angle depends on the anisotropy parameter in [-1,1]:
Therefore, in the absence of volume scattering, the default value of is typically set to 1.
Since the Henyey-Greenstein model is an empirically derived scattering model, the value of can typically be fitted in real-world scenarios using the following formula:
This value represents the expected cosine of the scattering angle.
The particle transmissivity defines the relative power loss during scattering, given by:
In practice, Henyey-Greenstein scattering is often used to plot backscatter curves for similarity analysis. The typical setup includes a red point source and a surrounding blue spherical far-field detector:
The Henyey-Greenstein backscatter curve describes the directional distribution of scattered light, where:
To enhance the simulation experience, Rayzen provides:
Basic Henyey-Greenstein volume scattering ray tracing, allowing for direct specification of parameters such as mean free path, anisotropy factor, and particle transmissivity, or indirect specification of related parameters (e.g., scattering coefficient, reduced scattering coefficient, and scaled mean free path). This enables simulation of the phenomena occurring when light passes through objects containing particles modeled by the Greenstein model.
Quick preview functionality for theoretical scattering parameter calculations at specified wavelengths for materials, including viewing scattering curves, interpolating other related parameters from the above examples, and performing calculations and visualizations.
Tracking and highlighting the scattering trajectory of individual rays, along with auxiliary features such as rendering surrounding objects as transparent.
Geometry Type | Radius | Height | Taper | (x, y, z, α, β, γ) |
---|---|---|---|---|
Cylinder | 5 mm | 20 mm | 1 | (0, 0, 0, 0, 0, 0) |
All surfaces are defined with perfect_transmitter optical properties.
The material is a gas sample with refractive index 1 and transmissivity 1, containing particles modeled using Henyey-Greenstein scattering.The cylindrical material is a gas sample with a refractive index of 1 and a transmissivity of 1, containing particles modeled using the Greenstein scattering model. After setting the material type to isotropic and the particle volume scattering type to Henyey-Greenstein, the scattering properties can then be configured.
The scattering properties are configured as follows:
We support three methods for defining MFP: direct input, scattering coefficient, or reduced scattering coefficient. Here, we simply choose to input the mean free path directly. The scaling factor for the mean free path is set to the default value of 1. The table of input wavelengths and mean free paths is as follows:
Wavelength (nm) | Mean Free Path (mm) |
---|---|
545 | 0.08 |
555 | 0.12 |
The table of input wavelengths and anisotropic parameters is as follows:
Wavelength (nm) | Anisotropy Factor |
---|---|
540 | 0.7 |
560 | 0.6 |
The table of input wavelengths and particle transmissivity is as follows:
Wavelength (nm) | Particle Transmissivity |
---|---|
555 | 0.8 |
Light source that we used:
Source Type | Radiant Power | (x, y, z, α, β, γ) |
---|---|---|
Point Source | 1 W | (0, 0, -0.1, 0, 0, 0) |
We set the emission angle of the light source to 0 degrees, with both θ and φ angles also set to 0 degrees. This indicates that the light is incident perpendicularly along the z-axis into the scattering medium. The emitted light from the source is monochromatic, with a wavelength of 550 nm.
Planar detector that we used:
Geometry Type | Length | Width | (x, y, z, α, β, γ) |
---|---|---|---|
Rectangle | 10 mm | 10 mm | (0, 0, -2, 0, 0, 0) |
Additionally, we also used a far-field detector to observe the angular distribution of scattering.
The results from the planar detector are shown below:
The 3D representation of illuminance is shown below while the vertical axis represents the illuminance magnitude:
The far-field detector's results:
At 550 nm, the scattering curve parameters are:
Property | Value |
---|---|
Wavelength | 550 nm |
Mean Free Path | 0.1 mm |
Scatter Coefficient | 10 |
Reduced Scatter Coeff. | 4 |
Average Cosine | 0.65 |
Gamma | 1.65 |
According to Greenstein's definition of the scattering anisotropy parameter, when the scattering angle is 0 degrees, the central region typically exhibits the highest scattering probability.
The phase function curve for 550 nm:
After simulating 100,000 rays, we can obtain the actual scattering curve from the side view of the 3D Cartesian coordinate plot:
After increasing ray count to 1,000,000 for achieving a more convergent and smoother result: