$30 off During Our Annual Pro Sale. View Details »

FluorTracer / RayTracingCamp11

Avatar for kugi kugi
November 30, 2025

FluorTracer / RayTracingCamp11

レイトレ合宿11提出作品「FluorTracer」紹介スライド
https://sites.google.com/view/rtcamp11

Code: https://github.com/kugimasa/FluorTracer

X(Twitter): https://x.com/kugi_masa

Avatar for kugi

kugi

November 30, 2025
Tweet

More Decks by kugi

Other Decks in Programming

Transcript

  1. FluorTracer 概要 • DXR • Path Tracing • Next Event

    Estimation • MIS (Balance Heuristic) 光源 • Rect Light • Ambient Light オブジェクト • Plane • Sphere • Mesh マテリアル • Fluorescence (Reduced Re-radiation Matrix) • OpenPBR (WIP)
  2. Fluorescence Reduced Re-radiation Matrix 1. サンプルした光源 RGB → XYZ 2.

    XYZ で Re-radiation Matrix とかける 3. XYZ → RGB に戻す 使用した蛍光材質 • TEXTYELL を事前計算してReduceされたMatrix Non-Orthogonal Reduction for Rendering Fluorescent Materials in Non-Spectral Engines [Fichet et al. 2024] https://github.com/afichet/fluorescence-rgb https://web.archive.org/web/20191018071813/https://www.rit.edu/cos/colorscience/re_sgonzalez.php
  3. OpenPBR (WIP) Slabという単位でMixやLayerによるブレンドが可能 • diffuse(Lambert Diffuse), metal(GGX, F82-tint)だけ実装 • diffuseはEON(energy-preserving

    Oren-Nayar)までは実装できず... https://academysoftwarefoundation.github.io/OpenPBR/ https://github.com/portsmouth/OpenPBR-viewer
  4. 描画結果 設定 • 800 × 800 (100 spp) • 60

    fps × 10 sec = 600 frames 配置物 • Metallicな床 • LambertDiffuseなバニー • Fluorescentな看板 ※ NEEで光源接続できた時のみ蛍光発光する設定 (本当はThroughputをMatrixとして更新していく必要がある)  蛍光マスク 正面の光源を青に変化
  5. External Resources • Libraries ◦ DirectX-Headers (https://github.com/microsoft/DirectX-Headers) ◦ DirectXTex (https://github.com/microsoft/DirectXTex)

    ◦ DirectXShaderCompiler (https://github.com/microsoft/DirectXShaderCompiler) ◦ assimp (https://github.com/assimp/assimp) ◦ fpng (https://github.com/richgel999/fpng) • Model ◦ Stanford Bunny (https://casual-effects.com/data) • Fluorescence Data ◦ [Fichet et al. 2024] (https://github.com/afichet/fluorescence-rgb)