06 / 08 · RELIGHTING
Learn materials without learning the wrong thing怎样学习材质,避免把光学错
Trace inverse rendering from observations to a relightable asset.从观测数据走到可重打光资产。
One pixel has many explanations一个像素有很多种解释
Diffuse observations contain the product ρE. Doubling reflectance and halving illumination leaves a pixel unchanged, within valid material ranges. More camera views constrain geometry but do not automatically resolve all material-light ambiguity under the same illumination.漫反射观测包含乘积 ρE。在合法材质范围内,反射率加倍、光照减半,像素保持不变。更多相机视角约束几何,但在同一光照下不会自动消除全部材质与光照歧义。
At cosine 1, Lambert radiance 0.24 can come from ρ=0.3 and E=0.8π, or ρ=0.6 and E=0.4π. Zero loss on that pixel proves neither material estimate correct.余弦为 1 时,Lambert 辐亮度 0.24 可以来自 ρ=0.3、E=0.8π,也可以来自 ρ=0.6、E=0.4π。单个像素损失为零,不能证明材质估计正确。
One training iteration, end to end一轮训练从头到尾
1. Pick a calibrated camera, time and reference image; linearize the image with a known or modeled camera response. 2. Evaluate canonical Gaussians and deformation. 3. Project geometry and obtain normals/visibility. 4. Evaluate BRDF under estimated light and composite the image.1. 选标定相机、时间与参考图,用已知或建模的相机响应线性化图像。2. 求值 canonical Gaussians 与形变。3. 投影几何并取得法线/可见性。4. 在估计光照下计算 BRDF 并合成图像。
5. Compare predicted pixels to observations; add geometry, material and temporal constraints. 6. Backpropagate through differentiable projection, shading and compositing; update selected parameters. 7. Repeat across views/lights; test held-out lighting. Densification must initialize new material attributes consistently.5. 比较预测与观测,加入几何、材质和时间约束。6. 沿可微投影、着色和合成反向传播,更新选定参数。7. 跨视角/光照重复,在未用于训练的光照下评估。增密时必须一致地初始化新点的材质属性。
Constrain the problem before scaling it up先约束问题,再扩大规模
Known lights, calibrated exposure, multiple illumination conditions, reliable geometry/normals and material priors constrain different ambiguities. Begin with a synthetic object whose cameras, lights and materials are known. Then try real scenes.已知光源、曝光标定、多光照条件、可靠几何/法线与材质先验,分别约束不同歧义。先从相机、光照、材质都已知的合成物体开始,再尝试真实场景。
GS-IR and Relightable 3D Gaussian provide released training code. Their CUDA rasterizers, datasets, checkpoints and exports are separate from this viewer. This site links them but does not claim a reproduced training run. Our implementation is the known-material forward renderer.GS-IR 与 Relightable 3D Gaussian 提供训练代码。它们的 CUDA rasterizer、数据、checkpoint 和导出独立于当前 Viewer。本站提供链接,但不声称复现了训练。我们实现的是已知材质的前向渲染器。
Predict it, then run it先预测,再运行
Open this experiment →打开对应实验 →The formula meets actual code公式连接真实代码
This excerpt is extracted from the repository during the site build. SH environment lighting and inverse training are future extensions; their chapters point to the current direct-light/data boundary, not an implemented trainer.此片段在网站构建时从仓库提取。SH 环境光照与逆向训练是未来扩展;对应章节指向当前直射光/数据接口,不代表已实现训练器。
src/relight.rs · L19–28
#[repr(C)]
#[derive(Clone, Copy, Pod, Zeroable)]
struct Splat {
center: [f32; 4],
u: [f32; 4],
v: [f32; 4],
w: [f32; 4],
normal: [f32; 4],
base: [f32; 4],
}Check your understanding检查是否真正理解
Why is high novel-view PSNR insufficient evidence of successful relighting?为什么新视角 PSNR 很高仍不足以证明重打光成功?
Reveal the reasoning展开推理
The model may reproduce old lighting with baked shadows. Validate unseen lights, material/normal consistency and temporal stability, not only new cameras under the old light.模型可能仅用烘焙阴影复现旧光照。需验证未见光照、材质/法线一致性和时间稳定性,不能只在旧光照下换相机。