Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
fluorite 2024
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
yk02vv
October 17, 2024
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
fluorite 2024
レイトレ合宿(
https://sites.google.com/view/rtcamp10
) の自作レンダラー紹介スライドです
yk02vv
October 17, 2024
More Decks by yk02vv
See All by yk02vv
0x5F3759DF
yk02vv
1
2.4k
アフィン演算
yk02vv
0
1.5k
レイトレ合宿8 レンダラー紹介
yk02vv
0
280
All about golden ratio
yk02vv
0
2.1k
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
The Invisible Side of Design
smashingmag
301
52k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
350
KATA
mclloyd
PRO
35
16k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
850
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
490
Agile that works and the tools we love
rasmusluckow
331
22k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
230
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
410
Transcript
fluorite 2024 ykozw
fluorite 2024 使用しているライブラリ一覧 doctest (C++) C++ のシンプルで軽量なユニットテストフレームワーク GitHub: doctest pybind11
Python と C++ 間の簡単でシームレスなバインディング GitHub: pybind11 rapidxml 高速で簡単な C++ XML パーサライブラリ GitHub: rapidxml stb_image_write 画像ファイルの簡単な書き込みライブラリ GitHub: stb_image_write tinyobjloader ウェーブフロント .obj ファイルのローダ GitHub: tinyobjloader
fluorite 2024 アセットはTurbo Squidで購入(リンク)
一年の進捗 去年半端に終わったSIMDライブラリを進めた。 多くの部分をSIMDで書き直してみた。 名前はHinoki template <int N> inline SolidAngleSample<N> sampleCone(Float1
cosThetaMax, Float3 wc, Float2xN<N> xi) { auto cosTheta = (1.0f - xi.x) + xi.x * cosThetaMax; auto sinTheta = sqrt(1.0f - cosTheta * cosTheta); auto phi = xi.y * 2.0f * PI; auto cosPhi = cos(phi); auto sinPhi = sin(phi); auto ldir{cosPhi * sinTheta, sinPhi * sinTheta, cosTheta}; auto onb = createONB(wc); auto wdir = localToWorld(onb, ldir); return {.dir = wdir, .pdf = pdfUnitCone<N>(cosThetaMax)}; }
一年の進捗 交差判定を自分で書き直し 確認用にCMakeでEmbree On/Off LeafをSIMDで一気に処理したりなどすることで、 スカラーでより明らかに早くなる。 しかしEmbreeに遠く及ばず。 一番近いケースでも5倍速くらい違う 次はここをがんばりたい
一年の進捗 遮蔽のないエリアライトの照度は境界積分で 解析的に算出できる 投影立体角の上でサンプルすれば、遮蔽され る割合がそっくりそのままランバートの場合の 値になる
一年の進捗 “BRDF Importance Sampling for Polygonal Lights”がまさにその話なので、コピペ実装! ⇒ 長さが5の方向ベクトルが誕生 普通に球面三角形を立体角でサンプルして
cosかけるようにした
もっと綺麗に影がでるはずだったもの