The Wayback Machine - https://web.archive.org/web/20200706173843/https://github.com/ssloy/tinyrenderer/issues/40
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

confusing description in troubleshooting article #40

Open
matiTechno opened this issue Dec 19, 2019 · 1 comment
Open

confusing description in troubleshooting article #40

matiTechno opened this issue Dec 19, 2019 · 1 comment

Comments

@matiTechno
Copy link

@matiTechno matiTechno commented Dec 19, 2019

Frequent bug: while sorting by y-coordinate, the vertices are sorted, but the data coming with the vertices is not.
Gouraud shading, forgot to sort intensities

In my case I was calculating a barycentric coordinate of one vertex and assigning it to a different vertex by mistake.
The artifacts looked exactly the same as you presented, if it is the same problem then the description could be more informative.

@vchizhov
Copy link

@vchizhov vchizhov commented Jun 1, 2020

It's probably left over from a previous version where scanline was used for rasterizing triangles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.