Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Petrichor render 2018 @ Ray tracing Camp 6
Search
Pheema
September 01, 2018
Programming
230
0
Share
Petrichor render 2018 @ Ray tracing Camp 6
"レイトレ合宿6" (
https://sites.google.com/site/raytracingcamp6/
) に提出した自作レンダラーPetrichorの紹介スライドです。
Pheema
September 01, 2018
More Decks by Pheema
See All by Pheema
レイトレ合宿5: 自作レンダラー紹介 / Introduction of the my renderer in Ray Tracing Camp 5
pheema
0
760
レイトレ合宿4!? レンダラー紹介 (@_Pheema_)
pheema
0
710
Other Decks in Programming
See All in Programming
Understanding Apache Lucene - More than just full-text search
spinscale
0
150
Rethinking API Platform Filters
vinceamstoutz
0
4.8k
おれのAgentic Coding 2026/03
tsukasagr
1
120
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
380
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
210
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
5
2.4k
20260315 AWSなんもわからん🥲
chiilog
2
180
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
1.2k
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
250
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
180
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
110
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
270
Featured
See All Featured
A Tale of Four Properties
chriscoyier
163
24k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
190
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.4k
[SF Ruby Conf 2025] Rails X
palkan
2
880
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
240
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
How to build a perfect <img>
jonoalderson
1
5.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Odyssey Design
rkendrick25
PRO
2
560
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Transcript
Petrichor 2018 @_Pheema_ 2018/09/01 - 2018/09/02 レイトレ合宿6
レンダリング結果 2018/09/01 - 2018/09/02 6 レイトレ合宿 2 - 暗めの室内シーン *
1080x1920(スマホの壁紙サイズ!) * 廃墟っぽい感じとか良いよね * 空間だけだと寂しいので、後から階段を付け足し
レンダラーの概要 - 今年取り組んだこと * Multiple importance sampling (MIS) のバグ修正 *
環境マップの重点サンプリング * SAH-based BVH * Normal map 3 2018/09/01 - 2018/09/02 レイトレ合宿6
BVH 年々レンダリング時間が短くなっているので、BVH構築は速く処理したい - 今年 * SAH-based Binned BVH • “On
fast Construction of SAH-based Bounding Volume Hierarchies” [Wald2007] * BVH構築、トラバース速度がましになった(以前が遅すぎた) - 昨年 * AABBの一番長い辺を2等分していた * でかいポリゴン(例:でかい床面)が1つでもあると、トラバースが遅くなって詰む * ソート処理が適当すぎて激重 4 2018/09/01 - 2018/09/02 レイトレ合宿6
環境マップの重点サンプリング 太陽が写っているような、輝度の差が激しい環境マップを使用したい - 今年 * 環境マップの重点サンプリング • 参考資料 • “Monte
Carlo Rendering with Natural Illumination” • “積分とサンプリングと検定” • 輝度が高いピクセルを重点的にサンプリングする - 昨年 * 環境マップ上の太陽が小さすぎて全然太陽の値を取れない * 分散がでかくなって死ぬ 5 2018/09/01 - 2018/09/02 レイトレ合宿6
環境マップの重点サンプリング 2018/09/01 - 2018/09/02 6 レイトレ合宿 6 “HDRI Haven” の環境マップを使用
累積分布関数 2018/09/01 - 2018/09/02 6 レイトレ合宿 7
環境マップの重点サンプリング 2018/09/01 - 2018/09/02 6 レイトレ合宿 8 重点サンプリング:OFF 重点サンプリング:ON →環境マップ上の太陽を拾えるように
環境マップの重点サンプリング - 失敗点 * 室内に存在するほとんどの点からは太陽が見えない… • 太陽を直接サンプリングしたところで、壁に遮られる場合が多い • ライトポータル等を実装するべきだった? •
“Portal-Masked Environment Map Sampling” [BNJ15] 9 2018/09/01 - 2018/09/02 レイトレ合宿6
今後について - シーン * 目標となるシーンを決めて、アルゴリズムを選定する * 「シーンがさき アルゴリズムはあと」 * 提出直前に本番シーンに切り替えてハングする悲劇を避ける
- レンダリングの手法 * プログラムを直しつつ、PTで行けるところまでいってみたい * 余裕があったら他の手法にも取り組む(PSSMLTとか興味あり) 10 2018/09/01 - 2018/09/02 レイトレ合宿6
今後について - デバッグ用の可視化 * 文字でのデバッグ辛すぎ問題 • BVH等の構造が把握できなくて死 • 突然のNaN, Inf
* テクスチャとかの中身も見たい - CI * 定期的に特定のシーンをレンダリング • レンダリング画像差分の検知 * テストの実行 11 2018/09/01 - 2018/09/02 レイトレ合宿6
まとめ - 時間をかけた分だけ綺麗な絵がでて楽しい * レンダラー育成ゲーム 2018/09/01 - 2018/09/02 6 レイトレ合宿
12
Petrichor 2018 @_Pheema_ 2018/09/01 - 2018/09/02 レイトレ合宿6