This flashcard is just one of a free flashcard set. See all flashcards!
63
How to create a cos-theta-weighted sampling of a unit hemisphere?
Rejection Method
Create uniform samples
until
.

Transform of Variables
Create random point inside unit circle:



Now project the generated point to the hemisphere and set
accordingly

return
Create uniform samples



Transform of Variables
Create random point inside unit circle:



Now project the generated point to the hemisphere and set


return


Flashcard info:
Author: janisborn
Main topic: Informatik
Topic: Computergrafik
School / Univ.: RWTH Aachen
City: Aachen
Published: 18.05.2022