Lecture 12: Monte Carlo Integration (46)
Mehvix

How do we uniformly sample an area? My guess, for a triangle, would be to take 3 uniform samples a,b,c[0,1]a,b,c \in [0,1] s.t. a+b+c=1a+b+c=1 (e.g. sample pts from [0,1] and use the relative distances to eachother and bounds). These will correspond to each of the Barycentric basis, so we take a weighted sum to get a sample. I'm unsure if this is truly uniform, however.

You must be enrolled in the course to comment