RenderLab
RenderLab copied to clipboard
App of RTR, PTR and Editor
 想问一下为什么按照过程编译出来会是这样的呢
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...
 你好,这个问题怎么解决~
 使用cmake configure时出现的错误 cmake版本 