hegaoxiang

Results 2 issues of hegaoxiang

u聚,在这里InfiniteAreaLight初始化这里,sum不是要再除以(w*h)才等于贴图这个二维函数在定义域上的积分吗?如果这里不除的话,distribution中的值应该并不是pdf(i,j)吧,应该只是个分布,若是这样的话。好像u聚在AliasMethod却是直接把他当作pdf了。 ``` auto w = img->GetWidth(); auto h = img->GetHeight(); vector distribution(w*h); double sum = 0.f; for (int y = 0; y < h; y++) { double sinTheta = sin(PI...

I am a novice,, After using ``` git clone https://github.com/volcoma/EtherealEngine.git cd EtherealEngine git submodule init git submodule update ``` then i use cmake and something wrong ``` OS >>> Windows...