Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about interpolation. #198

Open
aoru45 opened this issue Aug 14, 2023 · 0 comments
Open

Questions about interpolation. #198

aoru45 opened this issue Aug 14, 2023 · 0 comments

Comments

@aoru45
Copy link

aoru45 commented Aug 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant