yfeng95/DECA

Questions about interpolation.

aoru45 opened this issue · 0 comments

aoru45 commented

In standard_rasterize_cuda_kernel.cu, you mentioned that
"perspective correct: https://www.scratchapixel.com/lessons/3d-basic-rendering/rasterization-practical-implementation/perspective-correct-interpolation-vertex-attributes",
but in this function "forward_rasterize_colors_cuda_kernel" , I see
"images[bnhw3 + yw3 + x3 + k] = bw[0]*cl[0][k] + bw[1]*cl[1][k] + bw[2]*cl[2][k];".
This is different from what you have mentioned above . Hope for your answer for my question, thanks.