前端路上的小学生

【计算机图形学】体渲染专题 (三)

首先,老规矩:

未经允许禁止转载(防止某些人乱转,转着转着就到蛮牛之类的地方去了)

B站:Heskey0


【Computer Graphics】Photorealistic Rendering of Volume Effect

Heskey0 (Bilibili)

December 2021

Based On Mark Pauly's Thesis[1999] and 《PBRT》

Chapter 2 . Light Transport for Global Illumination

2.1. Light Transport in Participating Media

2.1.1. Light Interaction Events

When a photon travels through a collection of microscopic particles, it may either miss all the particles and continue unaffected, or it may interact with some of the particles. The probability that an interaction does occur is related to the extinction coefficient, σt (units [l/m]), of the medium. This quantity depends on the density and size of the particles within the medium.

When an interaction occurs, two things may happen: the photon may be absorbed by the particle (by being converted to another form of energy, such as heat), or the photon may be scattered in another direction. The relative probabilities of these two events is given by the absorption coefficient σa and the scattering coefficient σs, and σt=σa+σs is the extinction coefficient. Either of these two events lead to a change of radiance along the ray.

2.1.2. Extinct

image

The number of photons entering this beam is proportional to the incident radiance L(xω) at the start of the beam x. At each small step Δt along the beam, some fraction of the photons will interact with the medium and become absorbed. If the absorption coefficient within the segment is σa(x+tω), then a fraction σa(x+tω)Δt of the photons will be absorbed. Hence, the number of photons exiting this segment can be expressed as:

L((x+tω)ω)=L(xω)(1σa(x+tω)Δt)

Taking the limit as Δt0 :

limΔt0(L((x+tω)ω)L(xω)Δt)=(ωa)L(xω)=σa(x)L(xω)

2.1.3. The Radiative Transfer Equation

image

Given the four scattering events described in the previous sections we can begin to form a complete model of how light behaves in a participating medium.

image

This equation is known as the integro-differential form of the radiative transfer, or radiative transport equation, or simply the RTE [Chandrasekhar, 1960], and it incorporates the four possible types of interaction events that can occur within the medium.


2.2. Path Integral Formulation of the Light Transport Equation

2.2.1 The three-point form of the transport equations

we define:

L(xx)=L(x,ω)

where ω is the unit-length vector pointing from x to x. The arrow notation xx symbolizes the direction of the light flow.

Similarly, we write the BSDF as a function of the form:

fs(xxx)=fs(x,ωiωo)

The three-point form of the light transport equation can now be written as:

L(xx)=Le(xx)+ML(xx)fs(xxx)G(xx)dA(x)

where

G(xx)=V(xx)|cosθocosθi|||xx||2

Here θo and θi are the angles between the segment xx and the surface normals at x and x respectively, while V(xx)=1 if x and x are mutually visible and is zero otherwise.

2.2.2 Path Integral Formulation

We recursively expand the three-point form of the light transport equation to obtain:

Ij=k=1Mk+1Le(x0x1)G(x0x1)i=1k1fs(xi1xixi+1)G(xixi+1)We(j)(xk1xk)dA(x0)...dA(xk)

We define:

x¯=x0x1...xk,

μ(x¯)=DdA(xo)dA(x1)...dA(xk),

fj=Le(x0x1)G(x0x1)τ(x0x1)i=1k1fs(xi1xixi+1)G(xixi+1)τ(xixi+1)We(j)(xk1xk)

Ij can be expressed as pure integral of the form (path integral formulation): Ij can be expressed as pure integral of the form (path integral formulation):

Ij=Ωfj(x¯)dμ(x¯)

where x¯ is a light transport path, Ω the set of all finite-length transport paths, μ the area product measure (a Lebesgue measure on Ω ) and fj is called the measurement contribution function.


本文未经允许禁止转载
作者:Heskey0
B站:https://space.bilibili.com/455965619
邮箱:3495759699@qq.com

posted @   Heskey0  阅读(278)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南

本站勉强运行 1191 天 16 小时 09 分 06 秒

喜欢请打赏

扫描二维码打赏

支付宝打赏

点击右上角即可分享
微信分享提示